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

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 20, 2007, 03:40 PM   #1
mbernal
macrumors newbie
 
Join Date: Jan 2007
Database access

Hey guys whats up. I programmed with Java & C++ for about 5 years, but in my recent transition from PC to Mac, I decided to take up Cocoa programing. I need to create a program, that uses an online database(so that it can be accessed 24/7 without me having my own computer running) and pulls the info from the database and has it displayed via a window on my program.

Example:

This is some fake data that must be able to be accessed online 24/7:

-----------------------------
| Julia | 270 | Yellow |
-----------------------------
| Scott | 130 | Red |
-----------------------------
| Raphael | 349 | Green |
-----------------------------

This is the fake program displayed via a GUI, as soon as the program opens, the data should be updated via the online database:

====================
|| Candy Sales ||
====================
|| Name || # Sold || Score ||
====================
|| Raphael || 349 || Green ||
|| Scott || 130 || Red ||
|| Julia || 270 || Yellow ||
====================

Any help with ideas, tutorials, sample code, would be much appreciated.
mbernal is offline   0 Reply With Quote
Old Jan 20, 2007, 07:14 PM   #2
Eraserhead
macrumors G4
 
Eraserhead's Avatar
 
Join Date: Nov 2005
Location: UK
What are you using to store the data online? SQL? Core Data may come in handy for this type of problem.
Eraserhead is offline   0 Reply With Quote
Old Jan 21, 2007, 10:15 AM   #3
mbernal
Thread Starter
macrumors newbie
 
Join Date: Jan 2007
Ahh yes core data apps. I have successfully created an little core data app, however the next step for me is to try to move the xml file online somewhere so that it can be accessed/updated online. Do you know of a way to do this, preferably some sort of free way to do this, as I am freelancing.
mbernal is offline   0 Reply With Quote
Old Jan 21, 2007, 10:19 AM   #4
mbernal
Thread Starter
macrumors newbie
 
Join Date: Jan 2007
One possible solution I was thinking of is saving the XML file on a website (ie geocities, freewebs). Is there any way to allow my program to replace the current XML stored in lib/app support with the XML via the URL? If this is a possibility, what flaws, security issues do you see and what are some possible viable solutions? Also please elaborate on any other solutions for 24/7 online access, tutorials, or documents would be nice
mbernal 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
How would I set a static ip for remote access if I don't have access to the router? pruppert OS X Mavericks (10.9) 8 Feb 5, 2014 07:05 PM
'Parallels Access' Launches in App Store, Bringing Mac and Windows Access to the iPad MacRumors iOS Blog Discussion 49 Sep 16, 2013 12:10 PM
GW2 Database- iPhone and iPad database for Guild Wars 2 skoroapps iPad Apps 19 Jul 20, 2013 06:59 AM
GW2 Database - iPhone and iPad database for Guild Wars 2 skoroapps iPhone and iPod touch Apps 14 Jul 20, 2013 06:58 AM

Forum Jump

All times are GMT -5. The time now is 11:42 AM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC