cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: flow - database.js - Componentmanager
Date Sun, 22 Jun 2003 18:36:44 GMT
Agree. I've moved Database.js and related out of the core and into the 
scratchpad for now, until petstore gets refactored.

Chris

Stefano Mazzocchi wrote:

>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?
>
>  
>



Mime
View raw message