Re: WWDC and Cocoa-EOF
Re: WWDC and Cocoa-EOF
- Subject: Re: WWDC and Cocoa-EOF
- From: Yves Custeau <email@hidden>
- Date: Wed, 30 Jun 2004 21:12:31 -0400
Hello Marios
Basically I'm writing a Cocoa-EOF application that connects to Openbase. So
I guess you could call that a 2-tier application.
My worst performance issue so far is with this screen:
- the top portion of the screen that contains production information
- the bottom portion of the screen contains an NSTabView with 4 tabs
- each of these tabs will display product related info
tab1: a list of colors the product is available for this client
tab2: a list of packaging this product can be ordered in
tab3: list of suppliers that can provide us with this product
tab4: reserved for future use (stats etc.)
So we have 900 product. This takes a little while to load. EOF is loading
all 900 records including an image field (each image 50k). A product list is
available and a series of fields display the data of the selected record.
When I select the Color Tab I simply prepare an EOQualifier to limit the
fetch for the selected product and customer. This usually returns 2-3
records but from a table containing 15,000 combinations. The Tab takes a
while to display (5-6 seconds which is long for a desktop UI)
The Packaging tab is worst, again I use an EOQualifier to limit by product,
customer and color but this table has 22,000 records, a typical fetch will
return 3-4 records. On the slowest machine in the office this tab takes
close to 10 seconds to display
I think that EOF might carrying over all 22,000 records, populate the
appropriate objects and relations and then perform the selection.
I use EODisplaygroups as I bind them to Cocoa wdigets through
InterfaceBuilder.
You have a 3-tier approach, so I guess you leverage the WO server to do some
of the work. How do you connect your Cocoa app to the WO server?
Thanks
> From: Marios Assiotis <email@hidden>
> Date: Wed, 30 Jun 2004 17:37:30 -0700
> To: Yves Custeau <email@hidden>
> Subject: Re: WWDC and Cocoa-EOF
>
> What exactly are you trying to do? I am writing a 3-layer application
> with WebObjects/EOF + a native Obj-C/Cocoa UI(instead of Swing) and have
> not run into the problems you mention.
>
> -Marios
>
> Yves Custeau wrote:
>
>> Hello
>>
>> Any news from WWDC as for formal support for Cocoa-EOF?
>>
>> Some people mention CoreData as being a lightweight EOF that might plug into
>> Cocoa.
>>
>> Any timeframe ? Where can I find info about the roadmap of these
>> technologies?
>>
>> As some may have seen my posts a couple months ago about using Cocoa-EOF
>> despite the lack of formal support from Apple I decide to go ahead with the
>> project. Development is going well but I'm hitting some serious performance
>> issues at runtime.
>>
>> I guess that populating all those arrays and objects and checking all the
>> reference etc is taking its toll on the technology mainly when you are using
>> the technology in a desktop UI way (quick changing of screens, quickly
>> switching between tabs, etc etc).
>>
>> I see a lot of spinning wheels, even on my Dual-G5 !!! And memory
>> consumption is hefty (the application is using 125Meg of active memory after
>> a simple usage of the application). The application is barely usable on an
>> Imac 800MHZ....
>>
>> Oh well I guess that this is the price for using such an advanced
>> framework....
>> _______________________________________________
>> webobjects-dev mailing list | email@hidden
>> Help/Unsubscribe/Archives:
>> http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.