Perhaps "Aliro" should have been in the title? It is the name of a CMS written by the author in PHP5. The entire book can be considered as a case study in how and why to use PHP5 for writing web applications. As opposed to perhaps using PHP4 or another server side scripting language.
The book delves into detailed aspects of Aliro and how it can be customised by you for your particular CMS needs.
En route, Brampton also offers good, general advice about programming, not necessarily even restricted to PHP5. Consider patterns as one example. This is now a dominant paradigm amongst many programmers. He does not argue against patterns or their merit, but cautions that an overdependence might ironically constrain your thinking and subsequent design in ways that avoid finding an optimal solution. I don't recall any recently published book that I have read which even goes so far as to circumspectly say this caveat about them.
Another item of good advice is to warn you against letting your PHP code run dynamically generated code (using "eval"). Dynamic code has a nice conceptual allure and is indeed powerful. But especially when such code might include user supplied input, and where, remember, the code is being run server-side, then there are huge security problems. Don't even think about using dynamic code.
Also, we see that Aliro uses Role Based Access Control. Mostly by partitioning off some key tasks into those only done by an adminstrator. Brampton claims (rightly I believe) that this enhances the security, given the realities of a CMS having multiple users of varying capabilities and intentions remotely accessing it.
on July 16, 2014
I purchased this book in hopes of actually learning how to create a CMS system, but boy was I disappointed, this book has to be the most confusing and garbage material type of book I've ever laid my eyes on.
I don't mean to be rude here, but I have to be honest, this book is not worth $1, you can find better, more detailed information on Google, I promise you.
If you are looking to build an actual CMS you'd better NOT buy this book! It teaches you absolutely NOTHING about building a CMS. I repeat, it teaches you absolutely NOTHING about building a CMS. There is basically no code in the book that relates to any type building, or creating anything CMS related, you will not learn how to develop a framework, so forget about that as well.
The author tries to make it seem as if you are going to learn how a CMS called Alro was built by the author, but the truth is that it's all a lie, the author does not build a CMS at all, the CMS system Alro is all imaginary, a figment of the author's imagination. I think that if the author knew how to actually build a CMS, the name of it would be Alro.
I would say more, but I think you get the picture as well as the message, and for those that don;t, here it is: DO NOT BUY THIS BOOK!!! Save your money, I wish someone would have warned me of this crap, and as for the 4 and 5 star ratings on this book, it's more than likely the author's friends, family or paid comments. So take it from me, someone that it giving a real unbiased review, and as you can see, I have never left anyone a review, good or bad, but felt that people should be warned about this crap.
Have a great day everyone.
on July 13, 2009
Will this book expand your knowledge of advanced PHP programming? Absolutely.
A rich set of object-oriented features, combined with successful implementation makes scalable PHP5 programming highly effective, if not downright enjoyable! Software veteran Martin Brampton (former lead architect for the widely-acclaimed Mambo CMS, and significant contributor to Joomla) returns the open source favor, presenting his next-generation PHP concepts and methods in detail.
With a nimble and unassuming style, the author hosts an impressive exploration of state-of-the-art PHP design, while methodically deconstructing the CMS problem domain. Armed with the street-smarts of a hands-on, seasoned developer, Brampton explores best-practices and strategy with the precision of a Cambridge-schooled mathematician and a gift for the written word.
This trenchant and evolutionary CMS adventure represents a triumph of open craftsmanship; in addition to his own codebase, the architect has cherry-picked gems of the open source universe and folded their strengths into a slick and lightweight composition. While the subject is his own CMS project Aliro, the ambitious PHP developer will have no trouble re-using the multitude of well-considered ideas, classes, and methods within this work.