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

General Discussion

how to connect database server with my iOS app

hi,

i am a beginner in iOS development, and to be honest, my education background actually is chemical engineering, so i am sorry if my question seems weird.

so I am learning iOS development using XCode and Swift programming language in intermediate level.

as a backend, the simple way I usually see is using Firebase. but if I don't want using firebase and want to build database server from scratch, what subjects do i have to learn ? I am wondering, how to connect my app with the database on the server. I think the structure is like this.

(my App) --> (PHP/Laravel) --> (Database/MySQL)

if i want to build database server for my app, i have to learn about database design and mySQL first and then learn PHP language and laravel to connect my App to the database

am I right ?

thanks in advance

cheers, Agung