Re: webkit/cocoa app for consuming data
Re: webkit/cocoa app for consuming data
- Subject: Re: webkit/cocoa app for consuming data
- From: Jaime Magiera <email@hidden>
- Date: Wed, 22 Aug 2007 17:57:01 -0400
On Aug 22, 2007, at 1:43 PM, Mehul Pattni wrote:
Hi list,
I'm very new to cocoa and had a design question. I have a
webobjects application which collects registration information for
classes. Currently, users can login and view registrations for
their classes. Instead, I would like to distribute this
information to various users on demand. Users should be able to
pull this data and persisted it on their own system. I was hoping
to create a hybrid webkit/cocoa app to pull this data and store it
using core data. Typically, users pull about 200 KB of data per
request.
What is the best way to pull this data? Once I get the data, how
should I import into core data? How should I present this data in
webobjects to best import it into cocoa core data?
Hi,
A first consideration of course is security. Do you wish for this
information to be private? Most likely, since it's important data and
students may be connecting from insecure locations (over wireless
perhaps). So, you'll need to determine a secure method for sending
the data to the client. Theoretically, you can create an SSL server/
client scenario (I'm assuming your registration site runs over SSL)
In terms of actual data format, WO has similar API for creating XML.
So, you can create a XML in the WO app, send it securely to the user,
then use that same XML with CoreData. Depending on your relationships
and whatnot, you might have to create an XML mapping file on the WO
side. That's trivial though. Cocoa has a cool WebServices API. So,
all the pieces are there.
As an aside, have you considered WO Java Client app connected to the
master data store? You could use an authentication on launch to set
the EO fetch query dictionary for the client. This option would be
SSL ready. This is a method that I use for several WO-based
registration sites.
HTH,
Jaime Magiera
Sensory Research Network
http://www.sensoryresearch.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden