You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Joe Baldwin <jf...@earthlink.net> on 2010/06/23 20:25:01 UTC

Book

Is there still going to be a Cayenne book?



Re: Book

Posted by Nishant Neeraj <ni...@gmail.com>.
It would be great if there is a "Cayenne in Action" kind of book that
includes

(a) All features and configurations of Cayenne
(b) Queries, DataObjects, Stored Procedures, Expressions and general
development guidelines (something like
http://cayenne.apache.org/doc30/cayenne-guide.html but through a complete
example)
(c) Cayenne design patterns and anti-patterns
(d) Caching and managing cache
(e) Integration with frameworks like Wicket, Spring, Guice etc
(f) Best practices / production deployment checklist / refactoring

I would like to see a book that takes a simple but complete example that
covers most of the Cayenne's features, throughout the book .

Thanks
Nishant

On Wed, Jun 23, 2010 at 11:55 PM, Joe Baldwin <jf...@earthlink.net>wrote:

> Is there still going to be a Cayenne book?
>
>
>

Re: Book

Posted by Robert Zeigler <ro...@roxanemy.com>.
+1.

SQLTemplates rock. :) The last "high performance" app I had to write definitely utilized SQLTempaltes in performance critical sections of code to generate custom reports potentially hundreds of thousands of records long.

Robert


On Jun 24, 2010, at 6/241:47 PM , Evgeny Ryabitskiy wrote:

> Hello 2 everyone.
> 
> I wish to add one more chapter... About... not ORM part of Cayenne.
> I know Cayenne represents itself as "Cayenne is a mature, powerful,
> full-featured open source Object/Relational Mapping (ORM) framework".
> But Cayenne is also a powerful "Query Execution Framework" or "Query
> Engine".
> 
> We have been developing high performance Enterprise Applications for
> Bunk Industry for almost 3 years with Cayenne.
> There is no ORM only SQLTemplates and Row queries. We working with
> Maps instead Objects. This architecture has some disadvantage: it's
> harder to develop and maintain such applications. But advantage is
> that such applications are really fast.
> With power of SQLTemplates where we can turn queries for DB type, we
> are supporting 4 RDBM types (mssql, sybase, oracle, db2). So it is a
> Success Story :)
> I think Example of building applications over Cayenne without ORM is
> something that can be interesting for users.
> 
> Evgeny
> 
> 
> 2010/6/24 Joe Baldwin <jf...@earthlink.net>:
>> I think I might have mentioned some of this previously:
>> 
>> 1. Audience Perspective - presenting material (perhaps even the same technical material) from a different perspective.
>>        - Just as the developers and architects want to see a use-cases (and/or examples) for the various features of Cayenne, I think that there should be a sort-of "use case" for a project manager, perhaps a how-to for a quick evaluation of performance and features.
>>        - This "perspective" would not only be a service, but also help ensure that a project manager's evaluation is based on correct and optimum usage of the Cayenne feature set.
>>        - Note: I have seen *many* projects suffer from negative evaluations based on poor evaluation plans and the questionable test results that are produced.
>> 
>> 2. Reference, Element, and Collaboration
>>        - With many projects, reference and elemental-usage documentation is typically presented well.
>>        - However, advanced Object/Component Collaboration is sometimes overlooked.
>>        - I have personally learned a vast amount from the best-practices and "tricks" used by the Cayenne team that they share from their own projects.
>>        - Idea: Cayenne-users could donate various collaboration examples which could be then edited by the Cayenne team for use in the book.
>> 
>> It is my experience that if you provide an easy-to-implement evaluation plan along with an 'advanced features field guide', the test team is more likely to use that in place of something they create from scratch.
>> 
>> Joe
>> 
>> 
>> 
>> 
>> On Jun 24, 2010, at 9:04 AM, Michael Gentry wrote:
>> 
>>> What I've started on is still embryonic, but the current outline is:
>>> 
>>> Introduction
>>> Cayenne Modeler
>>> Contexts
>>> Inserting Objects
>>> Fetching Objects
>>> Deleting Objects
>>> Caching
>>> Inheritance
>>> Web Applications *
>>> References and Resources
>>> 
>>> * Currently only a simple Tapestry 5 application is planned since I
>>> don't know the other frameworks.
>>> 
>>> My plan is to walk through Cayenne, starting with Cayenne Modeler, and
>>> working through different activities (inserts/fetches/deletes/etc)
>>> with lots of little examples.  I'm open to suggestions/etc, though.
>>> I've abandoned my original idea of using Tiddly Wiki for the book,
>>> though.  Still planning on using GitHub for the code, though.
>>> 
>>> mrg
>>> 
>>> 
>>> On Wed, Jun 23, 2010 at 2:25 PM, Joe Baldwin <jf...@earthlink.net> wrote:
>>>> Is there still going to be a Cayenne book?
>> 
>> 


Re: Book

Posted by Evgeny Ryabitskiy <ev...@gmail.com>.
Hello 2 everyone.

I wish to add one more chapter... About... not ORM part of Cayenne.
I know Cayenne represents itself as "Cayenne is a mature, powerful,
full-featured open source Object/Relational Mapping (ORM) framework".
But Cayenne is also a powerful "Query Execution Framework" or "Query
Engine".

We have been developing high performance Enterprise Applications for
Bunk Industry for almost 3 years with Cayenne.
There is no ORM only SQLTemplates and Row queries. We working with
Maps instead Objects. This architecture has some disadvantage: it's
harder to develop and maintain such applications. But advantage is
that such applications are really fast.
With power of SQLTemplates where we can turn queries for DB type, we
are supporting 4 RDBM types (mssql, sybase, oracle, db2). So it is a
Success Story :)
 I think Example of building applications over Cayenne without ORM is
something that can be interesting for users.

Evgeny


2010/6/24 Joe Baldwin <jf...@earthlink.net>:
> I think I might have mentioned some of this previously:
>
> 1. Audience Perspective - presenting material (perhaps even the same technical material) from a different perspective.
>        - Just as the developers and architects want to see a use-cases (and/or examples) for the various features of Cayenne, I think that there should be a sort-of "use case" for a project manager, perhaps a how-to for a quick evaluation of performance and features.
>        - This "perspective" would not only be a service, but also help ensure that a project manager's evaluation is based on correct and optimum usage of the Cayenne feature set.
>        - Note: I have seen *many* projects suffer from negative evaluations based on poor evaluation plans and the questionable test results that are produced.
>
> 2. Reference, Element, and Collaboration
>        - With many projects, reference and elemental-usage documentation is typically presented well.
>        - However, advanced Object/Component Collaboration is sometimes overlooked.
>        - I have personally learned a vast amount from the best-practices and "tricks" used by the Cayenne team that they share from their own projects.
>        - Idea: Cayenne-users could donate various collaboration examples which could be then edited by the Cayenne team for use in the book.
>
> It is my experience that if you provide an easy-to-implement evaluation plan along with an 'advanced features field guide', the test team is more likely to use that in place of something they create from scratch.
>
> Joe
>
>
>
>
> On Jun 24, 2010, at 9:04 AM, Michael Gentry wrote:
>
>> What I've started on is still embryonic, but the current outline is:
>>
>> Introduction
>> Cayenne Modeler
>> Contexts
>> Inserting Objects
>> Fetching Objects
>> Deleting Objects
>> Caching
>> Inheritance
>> Web Applications *
>> References and Resources
>>
>> * Currently only a simple Tapestry 5 application is planned since I
>> don't know the other frameworks.
>>
>> My plan is to walk through Cayenne, starting with Cayenne Modeler, and
>> working through different activities (inserts/fetches/deletes/etc)
>> with lots of little examples.  I'm open to suggestions/etc, though.
>> I've abandoned my original idea of using Tiddly Wiki for the book,
>> though.  Still planning on using GitHub for the code, though.
>>
>> mrg
>>
>>
>> On Wed, Jun 23, 2010 at 2:25 PM, Joe Baldwin <jf...@earthlink.net> wrote:
>>> Is there still going to be a Cayenne book?
>
>

Re: Book

Posted by Joe Baldwin <jf...@earthlink.net>.
I think I might have mentioned some of this previously:

1. Audience Perspective - presenting material (perhaps even the same technical material) from a different perspective.
	- Just as the developers and architects want to see a use-cases (and/or examples) for the various features of Cayenne, I think that there should be a sort-of "use case" for a project manager, perhaps a how-to for a quick evaluation of performance and features.
	- This "perspective" would not only be a service, but also help ensure that a project manager's evaluation is based on correct and optimum usage of the Cayenne feature set.
	- Note: I have seen *many* projects suffer from negative evaluations based on poor evaluation plans and the questionable test results that are produced.

2. Reference, Element, and Collaboration
	- With many projects, reference and elemental-usage documentation is typically presented well.
	- However, advanced Object/Component Collaboration is sometimes overlooked.
	- I have personally learned a vast amount from the best-practices and "tricks" used by the Cayenne team that they share from their own projects.
	- Idea: Cayenne-users could donate various collaboration examples which could be then edited by the Cayenne team for use in the book.

It is my experience that if you provide an easy-to-implement evaluation plan along with an 'advanced features field guide', the test team is more likely to use that in place of something they create from scratch.

Joe




On Jun 24, 2010, at 9:04 AM, Michael Gentry wrote:

> What I've started on is still embryonic, but the current outline is:
> 
> Introduction
> Cayenne Modeler
> Contexts
> Inserting Objects
> Fetching Objects
> Deleting Objects
> Caching
> Inheritance
> Web Applications *
> References and Resources
> 
> * Currently only a simple Tapestry 5 application is planned since I
> don't know the other frameworks.
> 
> My plan is to walk through Cayenne, starting with Cayenne Modeler, and
> working through different activities (inserts/fetches/deletes/etc)
> with lots of little examples.  I'm open to suggestions/etc, though.
> I've abandoned my original idea of using Tiddly Wiki for the book,
> though.  Still planning on using GitHub for the code, though.
> 
> mrg
> 
> 
> On Wed, Jun 23, 2010 at 2:25 PM, Joe Baldwin <jf...@earthlink.net> wrote:
>> Is there still going to be a Cayenne book?


Re: Book

Posted by Michael Gentry <mg...@masslight.net>.
What I've started on is still embryonic, but the current outline is:

Introduction
Cayenne Modeler
Contexts
Inserting Objects
Fetching Objects
Deleting Objects
Caching
Inheritance
Web Applications *
References and Resources

* Currently only a simple Tapestry 5 application is planned since I
don't know the other frameworks.

My plan is to walk through Cayenne, starting with Cayenne Modeler, and
working through different activities (inserts/fetches/deletes/etc)
with lots of little examples.  I'm open to suggestions/etc, though.
I've abandoned my original idea of using Tiddly Wiki for the book,
though.  Still planning on using GitHub for the code, though.

mrg


On Wed, Jun 23, 2010 at 2:25 PM, Joe Baldwin <jf...@earthlink.net> wrote:
> Is there still going to be a Cayenne book?