Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building a Web Application with PHP and MariaDB: A Reference Guide

You're reading from   Building a Web Application with PHP and MariaDB: A Reference Guide Build fast, secure, and interactive web applications using this comprehensive guide

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783981625
Length 200 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sai S Sriparasa Sai S Sriparasa
Author Profile Icon Sai S Sriparasa
Sai S Sriparasa
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. CRUD Operations, Sorting, Filtering, and Joins 2. Advanced Programming with MariaDB FREE CHAPTER 3. Advanced Programming with PHP 4. Setting Up Student Portal 5. Working with Files and Directories 6. Authentication and Access Control 7. Caching 8. REST API 9. Security 10. Performance Optimization Index

Setting up the nuts and bolts of our application

In Bonus chapter 2, Object-oriented Programming with PHP, we discussed design patterns and how we can use design patterns to better organize our code. We will use the MVC design pattern to build our student portal application. The MVC pattern or the Model-View-Controller pattern is one of the most used patterns to build web applications. The features of MVC are as follows:

  • The model is responsible for data management. The model handles the common data operations such as retrieving, updating, and deleting data.
  • The view is responsible for data presentation. The view will commonly carry the required HTML that would be responsible for displaying the data on the browser.
  • The controller is responsible for data processing. The controller houses any application logic that has to be performed on the data that has been retrieved by the model, before sending it to the view. A controller can have one or many actions that will serve as a single functional...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime