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

JavaScript

Sergiu Man
Sergiu Man
524 Points

Recommend tutorials to learn javascript. I want to make a POS for the restaurant

Hi guys. I started to learn programming for about a year. I learned a lot of backend programming languages. Now I want to start a new project for personal development and I thought to make a POS for the restaurant, but I need javascript and I do not know much about it. CCan you tell me what tutorials to look for javascript? The biggest problem is that I do not understand how the links between Javascript, PHP and Mysql are made.

3 Answers

Kieran Barker
Kieran Barker
15,028 Points

Why not check out the Beginner JavaScript track here at Treehouse?

Joel Bardsley
Joel Bardsley
31,249 Points

If you're set on using PHP and MySQL and intend to use JavaScript to interact with the database, you definitely need to know about AJAX. I've gone through the AJAX Basics Course here on Treehouse and it's really well done, and should give you a great foundation to build on. If you're unfamiliar on the JavaScript used in this course, you may want to take a step back first and work through the Beginner track as Kieran suggests.

Also bear in mind the AJAX Basics course doesn't cover interactions with PHP + MySQL, so depending on your knowledge of those two languages, you're going to need to fill in those gaps yourself. For a brief explanation on how AJAX can be used with PHP/MySQL, W3Schools have provided an example, however please don't use their code in production!

Sergiu Man
Sergiu Man
524 Points

I understand javascript, jquery and ajax basics, but I still have a problem with the connection between laravel and javascript(jquery, ajax). I don't understand how you set the route to display on page the data from database. :(