Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Micahyah Hawkins
Micahyah Hawkins
3,496 Points

iOS and web services

Hello,

I was wondering if you have any, plan on having or know of any guides on creating web services for iOS. I want to create an app that would have the user create a login so I know the user returning and would store basic information but then store and retrieve data to be used in the application for say a SQL server. From what I've read is that you can not and do not want to connect directly to a SQL server for data but would create the web services to do your sending/storing/retrieving of data from the SQL or mySQL server.

Thanks for all your assistance and help.

Mythos

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

You have the right idea! And we do plan on covering this in a related way. The reason web services are important is because they create a level of abstraction that makes it easier to program all parts of the app. What I mean is, if you have web services in place, then it doesn't matter if you're connecting to a SQL Server or a backend-as-a-service like Parse.com. You just use the web service like normal and the stuff on the other side can change at will and your app won't care.

It also allows you to reuse the same web services for any other clients, like Android apps or web apps.

Hope this helps, and stay tuned! We will hopefully add something to the roadmap regarding the next iPhone project before too long.

Micahyah Hawkins
Micahyah Hawkins
3,496 Points

Thank you so much. I look forward to it. I honestly hope they are sooner rather than later haha.

Micahyah

i would like to create the same project aswell.

currently i wanted to learn how to make a social media like facebook

for the iphone and so far i see ruby on rails seem reliable?

and try to make my own site name updates friends and add new content that might make more visitors to participate.