[storm] I need a tutorial that deals with working on an established database.

James Henstridge james at jamesh.id.au
Wed Jul 8 08:15:48 BST 2009


Please remember to use reply to all when using mailing lists, so that
others can benefit from the conversation.

On Tue, Jul 7, 2009 at 11:18 PM, Mark Richardson<MRichardson3 at gmail.com> wrote:
> Dear James,
>
> Thank you very much!!!  Your explanation confirms what my Google searches
> seemed to show.
> Working from first principles, it seems like one should be able to generate
> the classes automatically via
> introspection -- just ask the database as it has to know in order to store
> the data.

Well, the common pattern with Storm is to include more information in
the classes than you could introspect from the database.  For example:
 1. a constructor.
 2. methods for manipulating the object (a.k.a. application or business logic).
 3. more specific property types than what database introspection will return.
 4. may omit columns that exist in the database but are not relevant
to the application.

> There must be a good reason
> for this behavior that's obviously beyond my concept space.  Once, again, I
> really appreciate your
> timely response to a question that I never would have figured out.

No problem.

James.



More information about the storm mailing list