CHAPTER 3JavaScript and PHP Objects
JavaScript and PHP are both thought of as procedural non-object-oriented languages. Introductory examples for both look very much that way and much development is done for both in a procedural fashion. In spite of this, both languages are object-oriented and more sophisticated development is usually done with objects. While this chapter is not a complete introduction to PHP and JavaScript objects, it will give you an overview of how objects are created and used in both languages.
If you’re already proficient in writing procedural and object-oriented code in PHP and JavaScript, you might find value in skipping ahead to the examples of controller, view, and model later in this chapter.
The items covered in this ...
Get Oracle Database Ajax & PHP Web Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.