O'Reilly logo

Modern JavaScript: Develop and Design by Larry Ullman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

15. PHP and JavaScript Together

To wrap up the book, this chapter will put the ideas covered in the previous 14 chapters to the test by creating a viable, real-world site. I tried to come up with an example that was a practical, good use of JavaScript, without getting too elaborate. I’ll explain the specific example next, and then walk through all of the key parts in the remaining pages.

No new JavaScript will be introduced in this chapter, although you’ll encounter new uses of what you’ve already learned. The example does require server-side technologies, though, for which I’ve used PHP and MySQL. There is not enough space to explain the PHP code in detail, but I will deliberately walk through the more advanced parts.

Identifying the Goal

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required