Modular Programming with PHP 7

· Packt Publishing Ltd
Ebook
332
Pages

About this ebook

Utilize the power of modular programming to improve code readability, maintainability, and testabilityAbout This BookThis book demonstrates code reusability and distributed development to get high speed, maintainable, and fast applicationsIt illustrates the development of a complete modular application developed using PHP7 in detailThis book provides a high-level overview of the Symfony framework, a set of tools and a development methodology that are needed to build a modular web shop applicationWho This Book Is For

This step-by-step guide is divided into two sections. The first section explores all the fundamentals of modular design technique with respect to PHP 7. The latter section demonstrates the practical development of individual modules of a web shop application.

What You Will LearnDiscover the new features of PHP 7 that are relevant to modular application developmentWrite manageable code based on the GoF design patterns and SOLID principlesDefine the application requirements of a working modular applicationExplore the ins and outs of the Symfony frameworkBuild a set of modules based on the Symfony framework that comprise a simple web shop appUse core modules to set the structure and dependencies for other modules to useSet up entities that are relevant to the module functionality and see how to manage these entitiesIn Detail

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.

Style and approach

This book is for intermediate-level PHP developers with little to no knowledge of modular programming who want to understand design patterns and principles in order to better utilize the existing frameworks for modular application development.

About the author

Branko Ajzele was born in January 1983 and lives in Osijek, Croatia. He is a husband, father of two, book author, and software developer. He holds a faculty degree in electrical engineering. He loves all things digital and makes a living out of software development. Branko has years of hands-on experience in full-time software development and team management and specializes in e-commerce platforms. He has worked with Magento since 2008, knee-deep since its very first beta version. He is regularly in touch with modern software development technologies. He has strong technical knowledge and is able to communicate technicalities clearly with strong direction. He feels comfortable proposing alternatives to demands that he feels can be improved, even when this means pulling a late shift to meet deadlines. Branko holds several IT certifications such as Zend Certified Engineer (ZCE PHP), Magento Certified Developer (MCD), Magento Certified Developer Plus (MCD+), and Magento Certified Solution Specialist (MCSS). Instant E-Commerce with Magento: Build a Shop by Packt Publishing was his first Magento-related book oriented toward Magento newcomers, after which he decided to write Getting Started with Magento Extension Development for developers. His third book, Magento 2 Developer's Guide, covers Magento 2 e-commerce platform development. He currently works as a full-time contractor for Lab Lateral Ltd.—an award-winning team of innovative thinkers, artists, and developers, specializing in customer-centric websites, digital consultancy, and marketing—as the lead Magento developer and head of the Lab's Croatia office. Branko was crowned E-commerce Developer of the Year by Digital Entrepreneur Awards in October 2014 for his excellent knowledge and expertise in e-commerce development. His work is second to none, and is truly dedicated to helping the Lab Lateral Ltd. team and fellow developers across the world.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.