"

Programming on the Server Side

This section primarily concerns the Logic Tier and Data Tier of a web app.

In this section, you will learn the basics of how to use PHP and SQL on the server side to deliver custom content to a client. You will also learn how to use JavaScript on the client side to request more content from the server in response to user actions. Before you start this section of the book, you should make sure you have a web server that can run your PHP programs. If you haven’t already done this, now would be a good time to Get Your Own Web Server.

Decoration Connections

This book is intended as a second course in programming. The PHP programming language is unique, but it also shares some similarities with the first language you may have learned (Java, Python, C) and with JavaScript and the Bash language for Linux. These “Connections” boxes will point out similarities and differences.

image Do It Yourself

Look for DIY (Do It Yourself) boxes like this throughout this text. They are here to give you something to do, to keep you engaged and thinking, and to break up the monotony of reading. But they’re not optional! You should read them and try the activities before moving on. Think of it as an opportunity to experiment, try new things, and test out what you have already learned.