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

Business

What are best languages for my web app project?

I am building a food tracking app similar to myfitnesspal(ruby) with other interactions not included in their app such as automated nutrition advice and 1 on 1 health coaching. Will be using a much smaller food database to simplify user input and food tracking. The plan is to have a web app and then eventually add to android and ios. Since html, css and javascript are used for the front end, what are the best languages for the web app back end? Thanks in advance. FYI I currently only know HTML and CSS

1 Answer

Brett Warden
Brett Warden
14,036 Points

Where HTML, CSS, and JavaScript are all considered front-end development and handle user interaction and experience, Python, Ruby, and PHP are a whole different playing field that use entirely different syntax to bridge three main parts; server, application, and database.

It all depends on the scope of the project and what information you'll need to communicate to both the server and the user.

I recommend starting with either Python or Ruby. They are fairly simple languages to adapt to. Either language helps communicate between front-end and back-end. Wordpress, as far as I know, uses PHP as its main structure. I, myself, am learning about SQL (Structured Query Language) used in relational databases.

Since you will most likely be inserting, updating, and possibly retrieving information within your app, a database language is paramount. So, if I were in your position, I would start with those three languages to get up to speed working with variables, functions, operators, etc.

Good luck!

Is Python and Ruby better than Node.js or does node.js handle different functions?