Book Image

Beginning PHP

By : David Carr, Markus Gray
Book Image

Beginning PHP

By: David Carr, Markus Gray

Overview of this book

<p>PHP is the preferred server-side scripting language for tech giants such as Facebook, Wikipedia, and Tumblr despite full-stack JavaScript gaining popularity with upcoming developers. This is because PHP performs better when dealing with heavy computations on the back end. In this book, you’ll learn everything you need to get up and running with the latest version of PHP, including package management with tools such as composer, secure database operations, and a whole host of other best practices that will help you stay a step ahead of traditional programmers. </p><p> </p><p></p>
Table of Contents (12 chapters)
Beginning PHP
Contributors
Preface
Free Chapter
1
Getting Started with PHP
2
Arrays and Loops
Index

Summary


We have reached the end of this chapter. In this chapter, we learned how to accept a user's input, and how to access it via PHP. Finally, we learned the basics of using MySQL databases, and applied all of the principles into a mini app that adds users to a database via a web form.

In the next chapter, we will cover the basics of building a PHP web application using Object Oriented Programming principles such as namespaces, use statements, access modifiers, and so on. We will also cover how to structure an application properly using MVC design concepts.