Unlock the potential of generative AI across all your managerial functions.
Log in
Or create your account
You have just added to your selection
Your cart is empty, See our trainings

Description

You will discover the foundations of object-oriented programming in PHP and learn how to design an "object" application based on UML notation. You will create a website by implementing advanced concepts such as business objects, abstraction layers or design patterns.

Who is this training for ?

For whom ?

Developers wishing to improve the sustainability and maintainability of their developments.

Prerequisites

Good knowledge of procedural PHP or knowledge equivalent to that provided by the course "PHP 7 and 5, developing a dynamic website"

Training objectives

  • Specify requirements based on use cases
  • Master the basic concepts of Object implementation
  • Manage object persistence
  • Implement Design Patterns
  • Training program

      • Initial expression of needs and requirements.
      • Use cases and simplified unified process.
      • UML: sequence and class diagrams.
      • Presentation of the HMI.
      • Collective reflection Based on specifications, define the objects of the application to be created.
      • Eclipse: an IDE adapted to OOP in PHP.
      • Define a class and generate it from UML.
      • PHP namespaces.
      • Instantiate a class.
      • Properties, statics and constants: This, Self and ORP.
      • Visibility and protection.
      • Accessors, mutators and overload according to PHP.
      • Constructor and destructor.
      • Master instantiation: Factory and Singleton.
      • Practical work Using UML software, design and generate the participating classes.
      • Object typing and interfaces.
      • The interfaces of the standard library (SPL).
      • Equalities and sorting of objects, Design Pattern Strategy.
      • Reference, cloning, inheritance, aggregation and association.
      • Polymorphism, collections and Design Pattern Iterator.
      • Abstract and final classes.
      • Traits.
      • Practical work Implementation of classes implementing advanced concepts.
      • Export and auto-serialization.
      • Save to database and session.
      • JSON for asynchronous client requests.
      • Transmission http.
      • Practical work Classes for data persistence.
      • Asynchronous access from an Ajax-XHR interface.
      • Loading of classes: automatic or configured.
      • ADO classes, model, view.
      • File management.
      • Exceptions: management object-oriented error.
      • Practical work Implementation of the Chain of Responsibility design pattern.
      • Refactoring of the project in MVC.
      • Introspection and Reflection class.
      • PEAR library framework.
      • Documentation tools.
      • XMI and class diagrams.
      • Practical work Generate XMI files for all classes of the project and visualize the UML diagrams.
    • 750
    • 21 h

    Submit your review

    Translated By Google Translate