PHP Objects, Patterns, and Practice.Material type: TextSeries: eBooks on DemandPublisher: Dordrecht : Springer, 2014Edition: 4th edDescription: 1 online resource (511 p.)ISBN: 9781430260325Subject(s): PHP (Computer program language) | Programming languages (Electronic computers) -- Handbooks, manuals, etc | Programming languages (Electronic computers) | Web sites -- Design | Web sitesGenre/Form: Electronic books.Additional physical formats: Print version:: PHP Objects, Patterns, and PracticeDDC classification: 005.13 | 005.13/3 | 006.76 LOC classification: QA76.73.P224Online resources: Click here to view this ebook.
|Item type||Current location||Call number||URL||Status||Date due||Barcode|
|Electronic Book||UT Tyler Online Online||QA76.73.P224 (Browse shelf)||http://uttyler.eblib.com/patron/FullRecord.aspx?p=1694186||Available||EBL1694186|
Contents at a Glance; Introduction; Chapter 1: PHP: Design and Management; The Problem; PHP and Other Languages; About This Book; Objects; Patterns; Practice; What's New in the Fourth Edition; Summary; Chapter 2: Objects; The Accidental Success of PHP Objects; In the Beginning: PHP/FI; Syntactic Sugar: PHP 3; PHP 4 and the Quiet Revolution; Change Embraced: PHP 5; Advocacy and Agnosticism: The Object Debate; Summary; Chapter 3: Object Basics; Classes and Objects; A First Class; A First Object (or Two); Setting Properties in a Class; Working with Methods; Creating a Constructor Method
Arguments and TypesPrimitive Types; Primitive Types Matter: An Example; Taking the Hint: Object Types; Inheritance; The Inheritance Problem; Working with Inheritance; Constructors and Inheritance; Invoking an Overridden Method; Public, Private, and Protected: Managing Access to Your Classes; Accessor Methods; The ShopProduct Classes; Summary; Chapter 4: Advanced Features; Static Methods and Properties; Constant Properties; Abstract Classes; Interfaces; Traits; A Problem for Traits to Solve; Defining and Using a Trait; Using More than One Trait; Combining Traits and Interfaces
Managing Method Name Conflicts with insteadofAliasing overridden trait methods; Using static methods in traits; Accessing Host Class Properties; Defining Abstract Methods in Traits; Changing Access Rights to Trait Methods; Late Static Bindings: The static Keyword; Handling Errors; Exceptions; Throwing an Exception; Subclassing Exception; Cleaning up after try / catch Clauses with finally; Final Classes and Methods; Working with Interceptors; Defining Destructor Methods; Copying Objects with __clone( ); Defining String Values for Your Objects; Callbacks, Anonymous Functions and Closures
SummaryChapter 5: Object Tools; PHP and Packages; PHP Packages and Namespaces; Namespaces to the Rescue; Using the File System to Simulate Packages; Naming the PEAR Way; Include Paths; Autoload; The Class and Object Functions; Looking for Classes; Learning About an Object or Class; Getting a Fully Qualified String Reference to a Class; Learning About Methods; Learning About Properties; Learning About Inheritance; Method Invocation; The Reflection API; Getting Started; Time to Roll Up Your Sleeves; Examining a Class; Examining Methods; Examining Method Arguments; Using the Reflection API
SummaryChapter 6: Objects and Design; Defining Code Design; Object-Oriented and Procedural Programming; Responsibility; Cohesion; Coupling; Orthogonality; Choosing Your Classes; Polymorphism; Encapsulation; Forget How to Do It; Four Signposts; Code Duplication; The Class Who Knew Too Much; The Jack of All Trades; Conditional Statements; The UML; Class Diagrams; Representing Classes; Attributes; Operations; Describing Inheritance and Implementation; Associations; Aggregation and Composition; Describing Use; Using Notes; Sequence Diagrams; Summary
Chapter 7: What Are Design Patterns? Why Use Them?
You're in charge of IT, facilities,?or core operations for your organization when a hurricane or a fast-moving wildfire hits. What do you doSimple. You follow your business continuity/disaster recovery plan. If you've prepared in advance, your operation or your?company?can continue to conduct business while competitors stumble and fall. Even if your building goes up in smoke, or the power is out for ten days, or cyber warriors cripple your IT systems, you know you will survive.?But only if you have a plan. You don't have one Then Disaster Recovery, Crisis Response, and Business Continuity: A M
Description based upon print version of record.