Building a Web Application with PHP and MariaDB: A Reference Guide
Sai Srinivas Sriparasa
Build fast, secure, and interactive web applications using this comprehensive guide
- Learn how to construct scalable and secure web applications
- Utilize PHP and MariaDB to architect and create data-driven web applications
- Numerous real-time scenarios have been implemented as examples that will lead to a better understanding of how web applications are handled
Starting with a quick refresher of the PHP language and MariaDB database, readers will explore concepts such as unit testing, session authentication and management, permissions engine, caching, security, and performance optimization. Building a Web Application with PHP and MariaDB: A Reference Guide begins with basic and advanced programming techniques in both PHP and MariaDB, followed by specialized operations such as working with files and directories. Next, you will be introduced to the concept of REST, and how principles of REST are applied to host XML and JSON feeds for others to consume. This book will show readers how to build a web application that will be an online book store. This would leverage a logging system that keeps a track of the activity that is going on in the application.
This book will help a beginner to learn the basics of object-oriented programming with PHP and help a seasoned expert to understand the intricacies of securing and speeding up their web applications.
What you will learn from this book
- Grasp basic as well as advanced programming techniques with PHP and MariaDB
- Perform CRUD operations, aggregations, filtering, and joins
- Execute DDL operations and work with stored procedures, stored routines, and triggers
- Employ concepts of object-oriented programming in PHP
- Get acquainted with the latest features offered by PHP 5.4 and 5.5
- Work with unit testing
- Conduct file operations and logging with PHP
- Implement authentication and ACLs
- Improve performance optimization and security
This is a step-by-step, tutorial guide designed to help readers transition from beginners to more experienced developers using clear explanations. The variety of examples will help readers build, secure, and host real-time web applications.