Object-Oriented Programming with PHP5
This course has been retired. Check out the alternatives below
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
OOP vs. Procedural Programming
- OOP vs. Procedural Programming
- Introduction to PHP
- A Little History of OOP in PHP
- Procedural vs. OO Coding Style
- Benefits of OOP
- Dissection of an Object
- Difference of OOP in PHP4 and PHP5
- Some Basic OO Terms
- General Coding Conventions
- Summary
-
Kick-Starting OOP
- Kick-Starting OOP
- Let's Bake Some Objects
- Using an Object
- Modifiers
- Constructors and Destructors
- Class Constants
- Extending a Class [Inheritance]
- Polymorphism
- Interface
- Abstract Class
- Static Method and Properties
- Accessor Methods
- Using Magic Methods to Set/Get Class Properties
- Magic Methods for Overloading Class Methods
- Visually Representing a Class
- Summary
-
More OOP
- More OOP
- Class Information Functions
- Exception Handling
- Iterators
- ArrayObject
- Array to Object
- Accessing Objects in Array Style
- Serialization
- Object Cloning
- Autoloading Classes or Classes on Demand
- Method Chaining
- Life Cycle of an Object in PHP and Object Caching
- Summary
-
Design Patterns
- Design Patterns
- You Might have Done this Before…
- Strategy Pattern
- Factory Pattern
- Abstract Factory
- Adapter Pattern
- Singleton Pattern
- Iterator Pattern
- Observer Pattern
- Proxy Pattern or Lazy Loading
- Decorator Pattern
- Active Record Pattern
- Facade Pattern
- Summary
-
Reflection and Unit Testing
- Reflection and Unit Testing
- Reflection
- ReflectionMethod
- ReflectionParameter
- ReflectionProperty
- Unit Testing
- Summary
-
Standard PHP Library
- Standard PHP Library
- Available Objects in SPL
- ArrayObject
- ArrayIterator
- DirectoryIterator
- RecursiveDirectoryIterator
- RecursiveIteratorIterator
- AppendIterator
- FilterIterator
- LimitIterator
- NoRewindIterator
- SeekableIterator
- RecursiveIterator
- SPLFileObject
- SPLFileInfo
- SPLObjectStorage
- Summary
-
Database in an OOP Way
- Database in an OOP Way
- Introduction to MySQLi
- PDO
- Introduction to Data Abstraction Layers
- Introduction to ActiveRecord
- Summary
-
Cooking XML with OOP
- Cooking XML with OOP
- Formation of XML
- Introduction to SimpleXML
- Modifying Existing Documents
- Other Useful Functions
- Summary
-
Building Better with MVC
- Building Better with MVC
- What is MVC?
- Planning for the Project
- Designing the Bootstrap File
- Adding Database Support
- Building Applications over our Framework
- Summary