[flexcoders] Re: LCDS, AIR and Client Side Cacheing

2007-11-16 Thread Josh VanderBerg
That would certainly be a nice feature, but when I saw demos of using
the client side database in AIR at the Chicago Adobe Max, it didn't
look like there was much in the way of integration with LCDS.   

Unless something has changed, to do this you'd have to create client
side tables on your own, that mirror your server-side tables, and
manage the data stored there manually using a JDBC like API.  No small
feat.

__
Josh Vanderberg
vanderblog.typepad.com - Flex blog and open source flex components 

__



--- In flexcoders@yahoogroups.com, "christophers1228"
<[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> Is it possible to enable client side caching with AIR and LCDS when
> you have managed destinations?
> 
> For example, if I have 4 related tables each having their own
destination.
> 
> SalesPerson has many WorkOrders.
> WorkOrder has one SalesPerson.
> WorkOrder has many Proposals.
> Proposal has one WorkOrder.
> Proposal has many LineItems.
> LineItem has one Proposal.
> 
> If I have the following mxml code.
> 
>  destination="hibernate-work-order"/>
> 
> workOrderDS.fill(model.workOrders,
> 'WorkOrderVO.getWorkOrdersForSalesPerson', {user: model.user.id});
> 
> Thanks for any pointers.
>




[flexcoders] Re: LCDS, AIR and Client Side Cacheing

2007-11-16 Thread christophers1228
--- In flexcoders@yahoogroups.com, "christophers1228"
<[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> Is it possible to enable client side caching with AIR and LCDS when
> you have managed destinations?
> 
> For example, if I have 4 related tables each having their own
destination.
> 
> SalesPerson has many WorkOrders.
> WorkOrder has one SalesPerson.
> WorkOrder has many Proposals.
> Proposal has one WorkOrder.
> Proposal has many LineItems.
> LineItem has one Proposal.
> 
> If I have the following mxml code.
> 
>  destination="hibernate-work-order"/>
> 
> workOrderDS.fill(model.workOrders,
> 'WorkOrderVO.getWorkOrdersForSalesPerson', {user: model.user.id});
> 
> Thanks for any pointers.
>

Anyone?