• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Client with CoreData to WebObjects App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Client with CoreData to WebObjects App


  • Subject: Re: Cocoa Client with CoreData to WebObjects App
  • From: Ricardo Strausz <email@hidden>
  • Date: Wed, 3 May 2006 15:55:14 -0500

Hola Rey ;^)

It is possible to use EOF within Cocoa ---the so-called Cocoa Enterprise Objects App--- and therefore it can interact with Core Data as with any other Framework there. However, it is not what you are thinking (if I can read your mind). You have to decide from either way; either you inherit from NSManagedObject and embeds an EOCustomObject in it, or the other way around.

What I am doing this days is to use NSPersistentDocument as root of my BADocument, which embeds several EOs; this approach allows you to have some "in-site" data (like a pdf-version of the document) while preserving a centralised database thus having a truly two-tier app.

I had try to extend Core Data to use EOF, but it seems like a non trivial task... the 3 types of data supported by the framework are defined in the VERY inside of it (e.g., there are 33 objects with suffix NSSQL...); hopefully Apple's engineers will do their job... soon!

Suerte
Dino

p.d., take a look to
http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main?wikiPage=CocoaEOApplication

On May 2, 2006, at 2:18 PM, email@hidden wrote:

Message: 6

Date: Mon, 01 May 2006 22:43:27 -0600

From: King Chung Huang <email@hidden>

Subject: Cocoa Client with CoreData to WebObjects App

To: WebObjects List <email@hidden>

Message-ID: <email@hidden">email@hidden>

Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


Hi,


Has anyone attempted to extend CoreData to interact with a WebObjects  

app (three-tier model) in a similar fashion to Java Clients? I'd like  

to be able to write Obj-C Cocoa apps that can fully interact with EOs  

from an existing WebObjects application. Patching EOF into CoreData  

seems like an obvious path.


Thanks,


King Chung Huang




--
Ricardo Strausz
email@hidden
Business Applied C Objects
http://homepage.mac.com/strausz/baco
+5255 5437 8205



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: FrontBase license now free!
  • Next by Date: Re: Want to iterate over items in EditingContext for validation before save
  • Previous by thread: Cocoa Client with CoreData to WebObjects App
  • Next by thread: simple encoding question :-)
  • Index(es):
    • Date
    • Thread