> From: Stefano Mazzocchi
> 
> 
> on 6/20/03 11:52 AM Reinhard Pötz wrote:
> 
> > Yes, you are right. The current draft of the FOM does not contain a
> > database layer.
> > 
> > I see two options:
> >  
> >  1.) remove it complety
> >  2.) add it to the petstore examples (which are based on those JS
> > functions)
> > 
> > I'm in favour of removing them complety and encapsulate the
> database
> > calls in the petstore examples using Java objects. So we
> can show our
> > users what we envision as the best way of writing flow apps with
> > database access.
> 
> In theory, if the new FOM is complete, you can have access to
> the database connection avalon component directly from 
> getComponent() and the petstore can be changed accordingly. 
> This would:
> 
>  1) remove the need for database.js
>  2) keep concerns separate
>  3) avoid the need for a javascript extension concept that we
> planned but never came to even design.
> 
> What do you think?

a late +1 (Christian has already moved it into the scratchpad examples)

Reinhard

Reply via email to