Building a Web Application with PHP and MariaDB: A Reference Guide
图书信息
| 作者 | Sai Srinivas Sriparasa |
| 出版社 | Packt Publishing |
| ISBN | 9781783981632 |
| 出版时间 | 2014-06-16 |
| 字数 | 52.5万 |
| 分类 | 进口书,外文原版书,电脑,网络 |
读书简介
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. If you are a developer who wants to use PHP and MariaDB to build web applications, this book is ideal for you. Beginners can use this book to start with the basics and learn how to build and host web applications. Seasoned PHP Developers can use this book to get familiar with the new features of PHP 5.4 and 5.5, unit testing, caching, security, and performance optimization.
目录
Building a Web Application with PHP and MariaDB: A Reference Guide
Table of Contents
Building a Web Application with PHP and MariaDB: A Reference Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. CRUD Operations, Sorting, Filtering, and Joins
String datatypes
Number datatypes
Date datatypes
The students table
The courses table
The students_courses table
Inserting data
Retrieving data
Sorting data
Filtering data
Updating data
Deleting data
Joins
Summary
2. Advanced Programming with MariaDB
Enhancing the existing tables
Working with stored procedures
Working with stored routines
Working with triggers
Summary
3. Advanced Programming with PHP
New features in PHP 5.4 and 5.5
Updated array declaration
The array dereferencing function
The list() function in the foreach statement
Availability of $this in closures
Class member access on instantiation
Generators
Traits
Addition of the finally block to exception handling
Unit testing
Installing PHPUnit
Working with MariaDB
PHP – mysqli
PHP – PDO
Summary
4. Setting Up Student Portal
Setting up the nuts and bolts of our application
Setting up URL rewrite
Setting up MVC
Adding a student
Listing all students
Adding a course
Listing all courses
Registering a student to a course
Viewing all registrations
Summary
5. Working with Files and Directories
Data imports
Data exports
Logging
Summary
6. Authentication and Access Control
Authentication
Access controls
User roles
Summary
7. Caching
Introduction to caching
Caching in the database
Caching in the application
Advanced caching techniques
Summary
8. REST API
What is REST?
Generating XML feeds
Generating JSON feeds
Summary
9. Security
Securing the Apache web server
Hiding server information
Server configuration limits
Securing MariaDB
Password-protected access
Building views to restrict access
Creating users and granting access
Securing PHP
Summary
10. Performance Optimization
Performance optimization for the Apache web server
Disabling unused modules
Using compression
Caching
Performance optimization for MariaDB
Best practices for data retrieval
Understanding query execution
Query optimization and indexing
Performance optimization for PHP
CDN, reverse proxy, and database replication
Summary
Index
- 求知文库:世界经典寓言(张潜)
- 孩子学口才的第一本书-修订版(寿长华编)
- 菌糠饲料生产及使用技术(李济宸,等)
- 【13】行政纠纷裁判规则理解与适用(国家法官学院最高人民法院司法案例研究院)
- 九年级+中考-快捷英语周周练-完形填空(石骥)
- 观文化.看政治-印度后殖民时代的电视.女性和国家([美]普尔尼马・曼克卡尔著,晋群译)
- 小学语文课外阅读世界文学经典名著:克雷洛夫寓言(克雷洛夫)
- 我的洋插队-魅力波罗的海(何杰)
