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 Build a Simple iPhone App with Swift 2.0 Structs as Data Models Creating a Data Collection

iOS online database

Hello folks! What if want to have an online database for the FunFact app? So that way I could update more fun facts everyday. What tools and languages I would have to know to get it?

Thanks!

4 Answers

You could either write a backend server yourself in something like Ruby on Rails or Node.js, or even Python with Flask, but that's honestly probably overkill for something as simple as the fun facts app.

If I were you, I would look into services like Parse or Firebase which allows you to really quickly and easily build a backend server/database using just code in your app. They tend to have web interfaces, too, so you can add or remove facts at will

Thank you Michael Hulet, I will check it out right now!

You should check out Parse. Parse is really popular and is a product by Facebook (hence, stable). It's been around for quite a while. Parse provides SDKs, so if you intend to use it in your apps, all you need to know is either Swift or Obj-C.

Thank you Jason Wayne! It looks like Parse is really the best option. I will check it out right now!

This course covers the topic of getting data from the web. I don't know if it's Swift 1.2, or 2.0 though.

Thank you for the indication Caleb Kleveter! I will watch the course.

I agree with what Michael and Jason have said. I am a big fan of Parse. I have used them many times. Great product / service / and documentation. The Parse DB is really easy to update from a browser so you can keep adding new facts that way anytime you like.

Mike

PS: Thanks to the awesome resources on Team Treehouse, I just launched my first app. :-)

Code! Learn how to program with Swift

Thanks for the tip Michael Reining! Congrats for releasing your app!

Wow, that's a really nice app! Way to go!