Category: (Book)
30 new, starting at $17.13
19 used, starting at $13.81
Over the past three years PHP has evolved from being a niche language used to add dynamic functionality to small sites to a powerful tool making strong inroads into large-scale, business-critical Web systems.
The rapid maturation of PHP has created a skeptical population of users from more traditional "enterprise" languages who question the readiness and ability of PHP to scale, as well as a large population of PHP developers without formal computer science backgrounds who have learned through the hands-on experimentation while developing small and midsize applications in PHP.
While there are many books on learning PHP and developing small applications with it, there is a serious lack of information on "scaling" PHP for large-scale, business-critical systems. Schlossnagle's Advanced PHP Programming fills that void, demonstrating that PHP is ready for enterprise Web applications by showing the reader how to develop PHP-based applications for maximum performance, stability, and extensibility.
Good contentReviewed by Jaime Blanco, 2008-12-08
I haven't read all the book yet, but the chapters i had read so far
they are well written and they'r rich in information, they give
usefull and practical examples, that's what i like the most. The
practical examples which in my opinion is the difference with other
books which their example's commonly are about FOO and BAR
Clases...
this book is for moronsReviewed by quagmired, 2008-08-17
If you are not a moron, you will put this book down after page
17.
Pages 16 and 17 (in the first chapter!!!) have code examples trying
to argue the use of for/foreach loops over while loops. They are
absolutely absurd. If the opening pages of a book have bogus
examples and completely false arguments for saying "one should use
foreach over for over while", then what hope does the book have for
someone wanting to learn something "advanced"?
I am only submitting this review because of the absurdity of pages
16/17. I can not get past those pages. I can not believe this book
has $49.99 on it. If I were a job recruiter, I would use page 16/17
as an idiot test--it has that much value, which might be worth
$49.99 to recruiters fending off idiots.
"For the sake of example" can only be used if the example makes
some sense. On page 16, the example presents a function "is_prime"
that takes a parameter $number and returns true/false if the number
is prime. The function uses a "while" loop. The author argues
against the use of while loops (versus for loops), and essentially
says: if you have a moron add some completely bogus, moronic,
idiotic code to your almost nice, relatively efficient, functional
function named "is_prime", then a "for" loop would help make that
function into "is_odd" with an extraneous for loop that is
completely inefficient. The examples (more than ten lines long!)
equate to:
function is_prime($number){ //although this is really is_odd
return $number % 2;
}
which has no loops, is way more efficient, and has nothing to do
with using for loops over while loops. In this book, we see a bunch
of nonsense about (what ought to be for advanced programmers) a
TRIVIAL example of control structures (while/for) that are
equivalent in most programming languages.
Do not buy this bookReviewed by Fenway, 2007-12-18
Do not buy this book. There are so many script examples in this book that do not work, let alone there are many weak and sloppy algorithms and code logic structures the author introduced. If you already bought this book, see his script example in Chapter 13 (A Sample Authentication Implementation), try to read line by line in his Cookie class example, can you find any flaw? Well, there are many them in this tiny/simple class, but i can just ignore and pretend to think that the author did not have enough time to test his own scripts before he put them in his book...but the algorithm/logic structures of the codes that bothers me! Weak algorithm, bad code control structure can lead to a buggy application that is not easy to debug!
Good INTERMEDIATE BookReviewed by Leicester Dedlock, 2007-07-15
Note:
Beginning PHP programmers will be lost. Start elsewhere.
Intermediate PHP programmers will learn a lot regarding technical
details and good coding and design practices, but not enough to
advance them to the level of 'Expert PHP Programmer'.
Expert PHP programmers should know most of the technical details
found here, but they will likely learn a bit about good coding and
design practices.
For beginners: *
For intermediates: ****
For experts: **1/2
I am an intermediate PHP programmer, so this book was perfect and
extremely helpful for me. I can say that I was very impressed by
this book for a few reasons. For one, it provides a nice overview
of many useful topics (many of which are not exactly "advanced")
such as object-oriented programming, error handling, templates,
unit testing, caching, authentication/security, session-handling,
remote procedure calls, performance analysis, and writing
extensions. However, they are mostly just overviews. It gives the
reader a good starting point regarding the various topics and
introduces less experienced PHP programmers to the various topics
which they may not have been concerned with formally.
Unfortunately, even for an overview, a few of the sections were a
bit too slim. Object-oriented programming was only touched on and
some important topics related to object-oriented PHP were omitted.
Also, remote procedure calls received so little attention that they
might as well have been omitted. Other sections do a better job.
The benchmarking and profiling sections were quite informative as
were the sections on error handling (sort of) and unit testing.
They aren't comprehensive, but I know that I personally learned
quite a bit even though I eventually had to seek out additional
references. Regarding the various "advanced" PHP topics, the book
is basically a jack of all trades, master of none. The book
deserved to either be longer, split up into more than one volume,
or it should have had a smaller scope. Still, it does a good job at
providing an intermediate PHP programmer with plenty of
introductory information on these "advanced" topics. It won't make
you an expert PHP programmer, but it will set you on the right
path.
There are two main reasons that I liked this book: the clarity of
explanations and examples and the strong emphasis on good
programming and design practice. Nowhere in this book did I ever
feel close to being lost and I can say that the author does an
outstanding job at describing the concepts and he chooses good,
fairly simple examples. Also, good practices are strongly
emphasised through this book. Unfortunately, good practices and
technical details are often treated separately in many books if
good practices are covered at all. Here, the author never loses
sight of this. Even when he gets into the dirty details, he
constantly reminds the reader that some paths to the same goal are
better than others and he clearly explains why. For this reason, I
would even recommend this book to expert PHP programmers who
probably already know most of the technical details, although the
book is most useful for intermediate PHP programmers like
myself.
In summary, this book is best for those who know the basics of PHP
but are not yet experts. You will learn just enough technical
details to prepare you for the next level even if this book won't
take you to that level. Also, this book will help almost anyone
write cleaner, safer, better-designed programs, expect for
beginners who would not be able to follow the examples and
topics.
Final note: GREAT value.
A must read for intermediate level PHP Programmers or aboveReviewed by Paul M. Reinheimer, 2006-05-29
This is a hefty tome, weighing in at 650 pages chocked full of
great information about advanced PHP programming. The book is
divided into five sections each with several to many chapters. The
sections are Implementation and Development Methodologies, Caching,
Distributed Applications, Performance, and Extensibility. Where
appropriate sample applications are developed to present a point,
in other situations a higher level approach is taken.
Covered within various chapters are topics like Error Handling,
Unit Testing, Computational Reuse, Session Handling, Benchmarks,
Profiling, and detailed information on how the Zend Engine works.
While I've used or learned about several of the topics covered
within, I think I learned something (whether it was a new approach,
completely new information, or a refinement to what I already
believed) in every single section.
Ultimately, I think I will become a better PHP programmer for
having read this book.
I will be recommending this book to all my friends, and basically
to everyone of an intermediate skill level with PHP or above. My
friends are going to need to buy their own copy though, as I will
not let this one out of my sight.