Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old May 3, 2012, 09:09 AM   #1
Gregdev
macrumors newbie
 
Join Date: May 2012
Using CoreData in a network?

I want to design a new database application, running on a local server. Need clients for OSX and iOS (wifi local). Thinking about using CoreData with SQlite for the server application.

Is there a ready solution for using CoreData in a network? Like a framework or a API? Thanks!
Gregdev is offline   0 Reply With Quote
Old May 3, 2012, 09:16 AM   #2
Kenndac
macrumors regular
 
Join Date: Jun 2003
Not really. Core Data and SQLite are only designed to be used by one process at a time, so having multiple clients connect directly would end in disaster.

Then again, if you write a server application that accepts connections from multiple clients and manages the information in and out of the data store you'd be ok.
Kenndac is offline   0 Reply With Quote
Old May 3, 2012, 09:24 AM   #3
Gregdev
Thread Starter
macrumors newbie
 
Join Date: May 2012
Thats right, this is exactly what I need.

But... developing this multiple client managing server needs a lot of time. Do you know if there is ready application, API or framework I can use for that? Would pay for it.
Gregdev is offline   0 Reply With Quote
Old May 3, 2012, 06:17 PM   #4
MattInOz
macrumors 68030
 
MattInOz's Avatar
 
Join Date: Jan 2006
Location: Sydney
Are you looking for something like RestKit?
http://restkit.org/

Also interesting discussion on Stackoverflow.
http://stackoverflow.com/questions/4...erver-strategy

So far I'm only keeping an eye out for useful information, knowing it's something I'll be wanting to add as well. Not there yet so haven't tried any of the above.
__________________
There is no such thing as "Collective Wisdom"
[ iPhone 5s, iPad Mini, 13" MacBookPro 2.7Ghz, 27"Al iMac i7, Black MacBook 13"]
MattInOz is offline   0 Reply With Quote
Old May 4, 2012, 05:54 AM   #5
Gregdev
Thread Starter
macrumors newbie
 
Join Date: May 2012
Matt, thank you for the link to restkit.

That seems to be what I am looking for. I will check it the next days.
Gregdev is offline   0 Reply With Quote
Old May 11, 2012, 02:18 AM   #6
Gregdev
Thread Starter
macrumors newbie
 
Join Date: May 2012
I dont know if restkit.org works with my requirements. I am not a pro in dev. But I want to know which way I have to go. So I tell you more about my project.

I want to have an application for veterinarian, based on a MacMini server with clients for OSX and iOS (no Win) for local use (lan and wifi) in the doctors office. The server need some databases, like accounting, billing and drugs. The clients are for use in the doctors office to document the medical treatment in detail. Not more than 20 clients working in the same time. In the future the iPad should used for home visit by the doctor, also the iOS client on the iPad should sync with iCloud.

What do you think, is restkit.org the best and future-save method designing the server for multiple clients or should I go an other way?
Gregdev is offline   0 Reply With Quote
Old May 13, 2012, 12:57 PM   #7
BadWolf13
macrumors 6502
 
Join Date: Dec 2009
I am planning to start a similar application, and when I asked about using CoreData for a multiple user access database, I was advised to use something different. That being said, if you do get this working with CoreData, I would love to hear about it.
BadWolf13 is offline   0 Reply With Quote
Old May 14, 2012, 02:34 AM   #8
Bakerman
macrumors member
 
Join Date: Jan 2005
Location: Sweden
While not actually Core Data, there is a framework for working with PostgreSQL databases that closely resembles Core Data:

https://bitbucket.org/mka/baseten/wiki/Home

Supports multiple simultaneous users, push updates of new content, et.c.
Bakerman is offline   1 Reply With Quote
Old May 16, 2012, 12:39 PM   #9
BadWolf13
macrumors 6502
 
Join Date: Dec 2009
Bakerman, you may have just become my hero. Thank you for this.
BadWolf13 is offline   0 Reply With Quote
Old Feb 18, 2013, 11:27 AM   #10
johnnylechat
macrumors newbie
 
Join Date: Feb 2013
Quote:
Originally Posted by BadWolf13 View Post
Bakerman, you may have just become my hero. Thank you for this.
Hello!

Have you used Baseten for your app? Or any other framework?
I'm intersted in the same kind of framework for an app but Baseten seems to be neglected and has not been updated since a few years...

Thanks a lot!
johnnylechat is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
coredata doesn't support iOS7 manga iPhone and iPod touch Apps 1 Sep 25, 2013 11:37 AM
Automatically mounting a network drive (SMB) when connecting to the network Flore Mac OS X 10.7 Lion 2 Sep 15, 2012 06:34 PM
unrecognized selector sent to instance with Coredata and Category of NSMangedObject roeik iPhone/iPad Programming 5 Sep 5, 2012 05:40 AM
Coredata has App base and text files as backend for syncing mraheel iPhone/iPad Programming 0 Aug 8, 2012 10:59 PM
AirPrint CoreData Advice? truehybridx iPhone/iPad Programming 1 Jun 17, 2012 09:50 PM

Forum Jump

All times are GMT -5. The time now is 11:47 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps