Информация о книге:
Автор книги: Michelle Gosney
Жанр: Программы
Издательство: Ingram
Год издания: 0
isbn: 9781456615291
Аннотация:
PHP This! is a beginners book for developers who are new to object oriented PHP web development.<br><br>This goal of PHP This! is to teach the PHP skills needed to be a junior PHP developer. These skills include an introduction to object oriented PHP theory and instruction on how to apply that theory to build a full custom MVC application, unit testing with PHPUnit and code management with SVN.<br><br>The instruction provided by this book also applies to experienced software engineers with expertise in other languages who have not had the opportunity yet to learn object oriented PHP or to those who are new to web development altogether. <br><br>Object Oriented concepts can be confusing at first that is why PHP This! provides a simple way to explain a confusing subject. The clear explanations and examples will quickly teach you what Object Oriented PHP is and how to use it, test it and manage it. Some key chapters and subjects include:<br><br>Chapter 1: Why Read This Book <br><br>Sample Job Description: Jr. PHP Developer <br><br>The Eight Primary Categories of JQuery Features <br><br>Why Learn Object Oriented PHP <br><br>Six Primary Advantages to Learning Object Oriented Programming <br><br>Chapter 2: PHP Objects & Classes <br><br>Overview – The Confusion of First Learning Object Oriented Theory <br><br>Explanation of a Class <br><br>Explanation of an Object <br><br>Instantiation <br><br>$this Variable <br><br>Access Modifiers <br><br>Inheritance <br><br>Method Overriding <br><br>Invoking Parent Methods <br><br>Horizontal Inheritance – Using Traits <br><br>Encapsulation <br><br>Polymorphism <br><br>Polymorphism vs. Method Overloading <br><br>Polymorphism vs. Method Overriding <br><br>Late Binding / Dynamic Binding <br><br>Chapter 3: PHP Magic Methods <br><br>Chapter 4: Abstract Classes & Methods <br><br>abstract Keyword <br><br>Extending sub-classes from an Abstract Base Class <br><br>Abstract Methods <br><br>final Keyword <br><br>Chapter 5: Interfaces <br><br>PHP Interfaces <br><br>Explanation of What Interfaces Are and Why They are Useful <br><br>interface & implements Keywords <br><br>Implementing Multiple Interfaces <br><br>Programming to the Interface <br><br>Design-by-Contract <br><br>Chapter 6: Static Methods & Properties <br><br>The static Modifier <br><br>The Scope Resolution Operator <br><br>Static Properties <br><br>Static Methods <br><br>Singleton Pattern <br><br>Late Static Binding <br><br>The static Keyword vs. the self Keyword <br><br>Chapter 7: PHP Error Control & Exception Handling <br><br>The Built-in Exception Class <br><br>Throwing an Exception <br><br>The try-catch-finally Block <br><br>Setting the Desired Error Sensitivity Level <br><br>Setting Error Reporting 67<br><br>Error Reporting Sensitivity Levels <br><br>Logging Options <br><br>Chapter 8: The Model-View-Controller Design Pattern <br>Understanding the Model-View-Controller Design Pattern <br><br>Model <br><br>View <br><br>Controller <br>The MCV URL Structure & URL Mapping <br><br>Using the .htaccess File <br>The index.php File <br>The MVC Folder Structure <br>Custom MVC Application – Restaurant Menu Management Application <br><br>Showing the Menu <br><br>Adding a Menu Item <br><br>Assigning a Menu Item to a Menu <br><br>Editing/Deleting Menu Items <br>Download the Source Code for the Custom MVC Application (Restaurant Menu Management Application)