Book Image

Responsive Design High Performance

Book Image

Responsive Design High Performance

Overview of this book

Table of Contents (16 chapters)
Responsive Design High Performance
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
7
Speeding Up Development with Design Concepts, Patterns, and Programs
Index

The server side with PHP


To load or not to load? Using a server-side language such as PHP has some wonderful benefits. The rendered content is already optimized and does not require JavaScript to remove unwanted elements, as it was not rendered earlier. In most cases, you are likely to use PHP only when connecting to a database to retrieve data or create new data. Another possible reason to use PHP is for sending an e-mail when posting a contact form, for example.

This section goes by the assumption that you have experience using PHP and have also connected to a database before, as this will not guide you through the steps to do so.

"If this then that; else, something else!" This is one of my favorite statements. When you use a framework such as CodeIgniter, this part becomes even more flexible.