Book Image

Mastering The Faster Web with PHP, MySQL, and JavaScript

By : Andrew Caya
Book Image

Mastering The Faster Web with PHP, MySQL, and JavaScript

By: Andrew Caya

Overview of this book

This book will get you started with the latest benchmarking, profiling and monitoring tools for PHP, MySQL and JavaScript using Docker-based technologies. From optimizing PHP 7 code to learning asynchronous programming, from implementing Modern SQL solutions to discovering Functional JavaScript techniques, this book covers all the latest developments in Faster Web technologies. You will not only learn to determine the best optimization strategies, but also how to implement them. Along the way, you will learn how to profile your PHP scripts with, monitor your Web applications, measure database performance, optimize SQL queries, explore Functional JavaScript, boost Web server performance in general and optimize applications when there is nothing left to optimize by going beyond performance. After reading this book, you will know how to boost the performance of any Web application and make it part of what has come to be known as the Faster Web.
Table of Contents (19 chapters)
Title Page
Copyright and Credits
Packt Upsell
Free Chapter
Faster Web – Getting Started
Querying a Modern SQL Database Efficiently


At first glance, my initial instinct was to wonder, "why am I reading yet another book on web development?" After all, I've been in the business for so long that I've learned to say, when asked how many years of experience, over 30. What more is there to learn, right? Wrong! First of all, I'm sure deep down in your gut you'll agree that no matter how long you've been in the business, there is always something new to be learned. This is where our friend Andrew Caya comes in.

Andrew is and has been my best student. He's the only one to have attended all the courses I teach for Zend, and also to have purchased all the books and videos I've done for O'Reilly and Packt. Okay, Okay, I can almost hear you muttering to yourself that maybe the guy's crazy, has no control over his spending habits. Well not to worry: his wife has things firmly under control, and his credit cards are currently under house arrest.

So ... Whatabout Andrew? Asidefrom the fact that he not only has a deep understanding of new and existing technologies, he's thorough and tries things out, which is a refreshing departure from many authors who "talk the talk," but do not "walk the walk."

What deeply impressed me about this book, however, and made me realize that it contains essential information for any web developer, no matterhowexperienced, is how Andrew has taken a deep dive not only into new technologies, but very cleverly brought to light aspects of the existing technologies as well.After reading just the first few chapters,I learned things about PHP andbenchmarkingthat I did not realize existed, even having usedsuchtools since their inception.Another example is found in his last chapter,Beyond Performance.Here,Andrew offers masterful insights such as pointing out that the traditional way of viewing performance itself might be an issue, which then leads into a discussion of UI design and user perception.

In this book, Andrew presents the concepts clearly and concisely. He also shows you how to install, configure, and then put to use the various toolsand techniqueswhich, combined, will result in better web performance, that is,the Faster Web.There are plenty of screenshotswherethe various controls, settings, and expected outcomes are meticulously highlighted.I won't bore you with the extensive list oftechnologies,tools,and techniquesAndrew covers, but let me tell you that there's some really exciting stuffherethat will ultimately put you in charge of your website and its development.

Be honest with yourself: do you experience a pang of dread whenever the phone rings, hoping against hope that it's not another customer complaint? Do you find yourself running ragged chasing down bugs? Are you really looking forward to spending yet another weekend at the office eating cold pizza? Andrew's book will turn your life around and "put you back in the driver's seat," as the saying goes. If you apply the concepts and use the tools he describes, you might even start enjoying your job and be able to use all the unused paid leave you've accumulated. Treat yourself to this book and enjoy your day in the sun!


Doug Bierer

P.S. If you're like me and like to poke fun at the hard-core "Test Driven Development" nerds, have a look at Andrew's chapter entitled Javascript and "Danger-Driven Development".