PHP Classes

Title: Expert PHP and MySQL

Recommend this page to a friend!

  Latest classes All reviews   Expert PHP and MySQL   Latest classes Latest reviews   Best sellers ranking Best sellers ranking  

Title

Expert PHP and MySQL

Category

PHP books

Authors

Andrew Curioso
Ronald Bradford
Patrick Galbraith

Publisher

Wrox

Release date

March 29, 2010

ISBN

0470563125

Sales ranking

Week: Not ranked All time: 46

Reviews

May 18, 2010
  Post a comment Post a comment   See comments See comments (1)   Find where to Buy Now Find where to Buy Now  
Expert PHP and MySQL reviewed by
Picture of Ud
Ud
From the introduction of the book: "This book examines some of the technologies and techniques needed to make robust and scalable applications perform in today’s high-demand world".

This book is for developers who have worked on several projects and have some good experience developing with PHP and MySQL, as well developers who develop high-demand applications or applications that handle lots of data and processing. OOP experience is recommended.

In this book you can learn about advanced MySQL concepts, like stored procedures, different drivers and storage engines, views, triggers, replications.

You can also learn about PHP opcode cache with APC or eAccelerator, PHP caching techniques, Memcached, multi-tasking in PHP and MySQL with Gearman, and more.

What I really enjoyed reading in this book is about Gearman, Memcached, APC and eAccelerator.

Gearman is a tool that you install in you server and assign jobs from your client PHP script to a job server. It can be used for creating thumbnails of the photos your users upload, for example.

The thumbnail process is usually done by a different server that has Gearman installed and maybe even better for this kind of job. This allows you to reduce the load on your client PHP script in order to make your application.

Memcached is an high-performance distributed memory objects caching system. It provides key-value pair cache storage for your applications. It can be used to reduce the load of your database server.

Basically, in uses the free memory in your server to cache objects of your application. It is really simple to work with Memcached. It provides lots of performance benefits.

APC and eAccelerator are PHP script caching extensions. Each time you run php script the PHP engine compiles your code every time before executing it.

In production environment the code is not changed all the time. APC and eAccelerator are extensions that allows you to cache the compiled PHP scripts. This way the server is not compiling the same code again and you get better performance. In PHP 6 will have APC extension built-in.

{buttons}The techniques discussed in this book are used by large sites that we all know like Digg, Yahoo, Facebook, YouTube and more. If its good for them, I believe it is good for you too.

The techniques discussed in this book are used by large sites that we all know like Digg, Yahoo, Facebook, YouTube and more. If its good for them, I believe it is good for you too.
  Post a comment Post a comment   See comments See comments (1)   Find where to Buy Now Find where to Buy Now  

Comments

1. Thanks - Ralf Strehle (2010-05-18 21:54)
Thanks... - 0 replies
Read the whole comment and replies

Post a comment

Trackbacks

2. PHPClasses.org: Book Review: Expert PHP and MySQL (2010-05-20 08:14)
On PHPClasses.org there’s a recent book review of a new offering from Wrox Publishing - “Expert PHP and MySQL” (by Andrew Curioso, Ronald Bradford, Patrick Galbraith). Udi Mosayev is the reviewer...

1. Podcast: crescer sozinho ou só com capital? (2010-05-27 08:34)
O investimento de risco escolhe algumas startups brasileiras, mas a maioria dos negócios não recebe investimentos e vive do que tece. Qual dos dois é o melhor modelo?