Learning PHP Design Patterns

Object-Oriented Programming for Dynamic Projects

Paperback Engels 2013 1e druk 9781449344917
€ 46,94
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

Build server-side applications more efficiently-and improve your PHP programming skills in the process-by learning how to use design patterns in your code. This book shows you how to apply several object-oriented patterns through simple examples, and demonstrates many of them in full-fledged working applications.

Learn how these reusable patterns help you solve complex problems, organize object-oriented code, and revise a big project by only changing small parts. With 'Learning PHP Design Patterns', you'll learn how to adopt a more sophisticated programming style and dramatically reduce development time.

- Learn design pattern concepts, including how to select patterns to handle specific problems
- Get an overview of object-oriented programming concepts such as composition, encapsulation, polymorphism, and inheritance
- Apply creational design patterns to create pages dynamically, using a factory method instead of direct instantiation
- Make changes to existing objects or structure without having to change the original code, using structural design patterns
- Use behavioral patterns to help objects work together to perform tasks
- Interact with MySQL, using behavioral patterns such as Proxy and Chain of Responsibility
- Explore ways to use PHP's built-in design pattern interfaces

Specificaties

ISBN13:9781449344917
Taal:Engels
Bindwijze:paperback
Aantal pagina's:339
Uitgever:O'Reilly
Druk:1
Verschijningsdatum:20-2-2013
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Inhoudsopgave

Preface

Part 1: Easing into the Fundamentals of Design Patterns
1. PHP and Object-Oriented Programming
-Entering into Intermediate and Advanced Programming
-Why Object-Oriented Programming?
-Classes and Objects
-The Client as a Requester Class
-What About Speed?
-What's Wrong with Sequential and Procedural Programming?

2. Basic Concepts in OOP
-Abstraction
-Encapsulation
-Inheritance
-Polymorphism
-Easy Does It

3. Basic Design Pattern Concepts
-The MVC Loosens and Refocuses Programming
-Basic Principles of Design Patterns
-Design Patterns as a Big Cheat Sheet
-Choosing a Design Pattern

4. Using UMLs with Design Patterns
-Why Unified Modeling Language (UML)?
-Class Diagrams
-Participant Symbols
-Relationship Notations
-Object Diagrams
-Interaction Diagrams
-The Role of Diagrams and Notations in Object-Oriented Programming
-Tools for UMLs
-Other UMLs

Part 2: Creational Design Patterns
5. Factory Method Design Pattern
-What Is the Factory Method Pattern?
-When to Use the Factory Method
-A Minimalist Example
-Accommodating Class Changes

6. Prototype Design Pattern
-What Is the Prototype Design Pattern?
-When to Use the Prototype Pattern
-The Clone Function
-A Minimalist Prototype Example
-Adding OOP to the Prototype
-The Prototype in PHP Land

Part 3: Structural Design Patterns
7. The Adapter Pattern
-What Is the Adapter Pattern?
-When to Use the Adapter Pattern
-The Adapter Pattern Using Inheritance
-The Adapter Pattern Using Composition

8. Decorator Design Pattern
-What Is the Decorator Pattern?
-When to Use the Decorator Pattern
Afgekapt op 60 regels

Managementboek Top 100

€ 46,94
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          Learning PHP Design Patterns