JavaScript for PHP Developers (Paperback)
內容描述
Ready to expand your PHP web development skills with JavaScript? With this guide, you can use your experience with PHP to learn JavaScript from the ground up. Because both languages share the C language syntax, this book skips similarities such as conditions and loops to focus on JavaScript’s unique object creation, classes, prototypes, and inheritance.PHP is a valuable web development tool on its own, but with the upsurge in client-side development, knowledge of JavaScript has become essential for working with today’s Web. By concentrating on the differences between these languages, this book helps PHP programmers, web architects, and both back-end and front-end engineers become fluent in JavaScript fairly quickly.Learn syntax similarities and differences between JavaScript and PHP Discover how JavaScript behaves with and without the DOM and BOM Work with JavaScript functions—and learn why they’re actually objects Explore JavaScript’s object-oriented features, code reuse, and inheritance Take a close look at JavaScript’s built-in API Learn what’s new in ECMAScript 5, the standard that represents the core JavaScript language Organize your code with JavaScript design patterns Compare JavaScript design patterns with classic programming patterns