From the Back Cover
Adding a cache layer to the popular LAMP stack is becoming thecommon solution to significantly reduce the load on back-enddatabases, and also allows for better web application performance.This new caching component is represented by another "m" in LAMMP,which stands for memcached—a high-performance, distributedmemory object caching system that provides caching for webapplications. The author walks you through the process of usingPerl to develop web applications both in terms of the front-enddisplay logic as well as the back-end data retrieval from MySQL andmemcached. You also see how to configure the Apache web server torun these mod_perl applications.
You'll discover that MySQL and memcached are where the data isstored, and Apache is the server that hosts this functionality.You'll also examine each system while you learn how to install, setup, and administer it.
The book shows you how to put each of these systems together soyou can start building successful applications. Helpful examplesput in practice the information covered throughout the book and aproblem-solving chapter offers real-world problems and the processof how you might go about finding a solution to them.
What you will learn from this book
How to install, configure, and work with MySQL particularlybasic concepts involving data, joins, and indexes as well asadvanced usage of triggers, stored procedures, user-definedfunctions, storage engine usage, and more!
A Perl refresher on basic concepts as well as how to work withdata from MySQL using various Perl data types
A chapter on object-oriented Perl
How to the use Sphinx storage engine for full-text searchingas well as Gearman to distribute tasks
How to install and configure Apache 2.2 to work with mod_perl2.0
How to use mod_perl handlers to develop web applications,including working with Ajax
A sample search engine application that puts together thevarious technologies discussed in the book
Who this book is for
This book is for developers who want to write applicationsusing MySQL, memcached, Apache, and Perl, and are interested inimproving the development process and efficiency.
Wrox Professional guides are planned and written byworking programmers to meet the real-world needs of programmers,developers, and IT professionals. Focused and relevant, theyaddress the issues technology professionals face every day. Theyprovide examples, practical solutions, and expert education in newtechnologies, all designed to help programmers do a better job.
About the Author
lives up in the sticks of southwestern New Hampshire near Mt. Monadnock with his wife, Ruth. Since 1993, he has been using and developing open source software. He has worked on various open source projects, including MySQL, Federated storage engine, Memcached Functions for MySQL, Drizzle, and Slashcode, and is the maintainer of DBD::mysql. He has worked at a number of companies throughout his career, including MySQL AB, Classmates.com, OSDN/Slashdot. He currently works for Lycos. He is also part owner of a wireless broadband company, Radius North, which provides Internet service to underserved rural areas of New Hampshire. His web site, which comes by way of a 5.8GHz Alvarion access unit up in a pine tree, is http://patg.net.