Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-17-2010, 12:29 PM   #1 (permalink)
Registered Member
 
LiquidChaz's Avatar
 
Join Date: Sep 2009
Location: New York City
Posts: 53
Question Best way to get data from the web?

In an effort to give myself some more "real world" skills (I've been making games almost exclusively the last year or so) I'd like to create a test project that does the following:

I want to be able to go to a website on my computer and submit a few addresses that can be saved to my web server. I'd then like to start my iPhone app, pull those addresses that the user entered on the website, and use MapKit to display them.

What would be the best approach for this sample app? PHP & mySQL on the server side? How can I access that data from the device? Do I have to use SQL?

I'm familiar with CoreLocation & MapKit already... I just need some advice on what to use on the server side and then how to access that data from my app. What would be a small scale solution (< 10 addresses)? What would be a large scale solution (> 10,000)?

Thanks for the info!
__________________
Charles Scalesse

Latest Release:
Mad Bomber - A contemporary twist on the Atari 2600 classic, Kaboom!

LiquidChaz is offline   Reply With Quote
Old 02-17-2010, 01:19 PM   #2 (permalink)
Registered Member
 
Join Date: Aug 2008
Location: Memphis, TN, USA
Age: 24
Posts: 3,558
Send a message via ICQ to smithdale87 Send a message via AIM to smithdale87 Send a message via Skype™ to smithdale87
Default

Server side - what you suggest is good, php and mysql
device side - have your server return an xml feed with the addresses & any relevant information. Then just parse the feed and display the results in your app.

Small scale - use one xml feed
Large scale - use several small xml feeds and have a "Load More" button in your device application that will grab the next xml feed.
smithdale87 is offline   Reply With Quote
Reply

Bookmarks

Tags
mapkit, php, server, sql, xml

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 346
19 members and 327 guests
ADY, Alsahir, Dani77, e2applets, JasonR, keeshux, mer10, Monstertaco, piesia, prchn4christ, Promo Dispenser, Robiwan, sebasx, sly24, Touchmint, twerner, zulfishah
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,759
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:26 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0