Pessimo. L'idea sarebbe anche interessante (unire jQuery a PHP per creare un CMS), ma sembra di essere tornati alla fine degli anni 90. Tutto il CMS viene implementato tramite codice procedurale. Usa variabili globali per passare parametri e informazioni tra le procedure. Usa PDO per astrarre il database ma poi costruisce le query a mano, usando addslashes() invece di escape_string (per fortuna almeno non consiglia di attivare le magic_quotes), e fa le query direttamente invece di usare i cursori. Usa table per il layout (con scuse abbastanza stupide per non usare i css). Le procedure, invece di generare codice HTML e ritornarlo, lo stampano direttamente con echo, e per di più TUTTO il codice HTML viene generato con echo, anche quando non serve. Tutte le pagine funzionano solo se c'è Javascript attivo, non prevede nessun fallback in HTML puro. Sono solo le cose che mi hanno impressionato di più durante la lettura della prima metà del libro, ma probabilmente ho scordato altri orrori. Quando ha iniziato a fare i salti mortali con procedure e globali per creare un sistema di plugin, rendendo il codice completamente incomprensibile, ho deciso di lasciar perdere e di passare ad altro. Decisamente da lasciare sullo scaffale.
I gave it two stars only because I respect the amount of work that was put in. I would have many horrible things to say about this book, matter fact, I would have so many, that I'll just say it was so bad that it actually made me pity the author. Other than that, overall it came with a pretty interesting approach to building an actual CMS from scratch and, as a guy who's been using and patching up his own CMS for years as technologies changed and evolved, I must admit that, on some level, I admire how organized the book was. After so much time I kind of zoned out and only have this big blurry picture to look at every time I set out to clean up and structure my work in a more comprehensible little bundle of joy. So, yeah... I think that it did help me - on a pure theoretical level, while most of the code in there should be prohibited.