Modular Programming with PHP 7

Utilize the power of modular programming to improve code readability, maintainability, and testability
Preview in Mapt

Modular Programming with PHP 7

Branko Ajzele

1 customer reviews
Utilize the power of modular programming to improve code readability, maintainability, and testability

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$5.00
RRP $39.99
Save 87%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$5.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Modular Programming with PHP 7 Book Cover
Modular Programming with PHP 7
$ 39.99
$ 5.00
PHP 7: Real World Application Development Book Cover
PHP 7: Real World Application Development
$ 69.99
$ 5.00
Buy 2 for $10.00
Save $99.98
Add to Cart

Book Details

ISBN 139781786462954
Paperback332 pages

Book Description

Modular design techniques help you build readable, manageable, reusable, and more efficient codes. PHP 7, which is a popular open source scripting language, is used to build modular functions for your software. With this book, you will gain a deep insight into the modular programming paradigm and how to achieve modularity in your PHP code.

We start with a brief introduction to the new features of PHP 7, some of which open a door to new concepts used in modular development. With design patterns being at the heart of all modular PHP code, you will learn about the GoF design patterns and how to apply them. You will see how to write code that is easy to maintain and extend over time with the help of the SOLID design principles.

Throughout the rest of the book, you will build different working modules of a modern web shop application using the Symfony framework, which will give you a deep understanding of modular application development using PHP 7.

Table of Contents

Chapter 1: Ecosystem Overview
Getting ready for PHP 7
Summary
Chapter 2: GoF Design Patterns
Creational patterns
Structural patterns
Behavioral patterns
Summary
Chapter 3: SOLID Design Principles
Single responsibility principle
Open/closed principle
Liskov substitution principle
Interface Segregation Principle
Dependency inversion principle
Summary
Chapter 4: Requirement Specification for a Modular Web Shop App
Defining application requirements
Wireframing
Defining a technology stack
Summary
Chapter 5: Symfony at a Glance
Installing Symfony
Creating a blank project
Using Symfony console
Controller
Routing
Templates
Forms
Configuring Symfony
The bundle system
Databases and Doctrine
Testing
Validation
Summary
Chapter 6: Building the Core Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 7: Building the Catalog Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 8: Building the Customer Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 9: Building the Payment Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 10: Building the Shipment Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 11: Building the Sales Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 12: Integrating and Distributing Modules
Understanding Git
Understanding GitHub
Understanding Composer
Understanding Packagist
Summary

What You Will Learn

  • Discover the new features of PHP 7 that are relevant to modular application development
  • Write manageable code based on the GoF design patterns and SOLID principles
  • Define the application requirements of a working modular application
  • Explore the ins and outs of the Symfony framework
  • Build a set of modules based on the Symfony framework that comprise a simple web shop app
  • Use core modules to set the structure and dependencies for other modules to use
  • Set up entities that are relevant to the module functionality and see how to manage these entities

Authors

Table of Contents

Chapter 1: Ecosystem Overview
Getting ready for PHP 7
Summary
Chapter 2: GoF Design Patterns
Creational patterns
Structural patterns
Behavioral patterns
Summary
Chapter 3: SOLID Design Principles
Single responsibility principle
Open/closed principle
Liskov substitution principle
Interface Segregation Principle
Dependency inversion principle
Summary
Chapter 4: Requirement Specification for a Modular Web Shop App
Defining application requirements
Wireframing
Defining a technology stack
Summary
Chapter 5: Symfony at a Glance
Installing Symfony
Creating a blank project
Using Symfony console
Controller
Routing
Templates
Forms
Configuring Symfony
The bundle system
Databases and Doctrine
Testing
Validation
Summary
Chapter 6: Building the Core Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 7: Building the Catalog Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 8: Building the Customer Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 9: Building the Payment Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 10: Building the Shipment Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 11: Building the Sales Module
Requirements
Dependencies
Implementation
Unit testing
Functional testing
Summary
Chapter 12: Integrating and Distributing Modules
Understanding Git
Understanding GitHub
Understanding Composer
Understanding Packagist
Summary

Book Details

ISBN 139781786462954
Paperback332 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

PHP 7: Real World Application Development Book Cover
PHP 7: Real World Application Development
$ 69.99
$ 5.00
PHP Microservices Book Cover
PHP Microservices
$ 35.99
$ 5.00
Building Websites with PHP-Nuke Book Cover
Building Websites with PHP-Nuke
$ 20.99
$ 5.00
Modernizing Legacy Applications in PHP Book Cover
Modernizing Legacy Applications in PHP
$ 35.99
$ 5.00
PHP 7 Data Structures and Algorithms Book Cover
PHP 7 Data Structures and Algorithms
$ 35.99
$ 5.00
HTML5 and CSS3: Building Responsive Websites Book Cover
HTML5 and CSS3: Building Responsive Websites
$ 67.99
$ 5.00