Expert PHP and MySQL takes you beyond learning syntax to showing you how to apply proven software development methods to building commerce-grade PHP and MySQL projects that will stand the test of time and reliably deliver on customer needs. Developers of real-world applications face numerous problems that seem trivial on the surface, but really do take some skill to get right. Error handling is about more than just the mechanics in the PHP syntax, but also about handling MySQL errors, logging those errors, and about hiding information about application internals that error messages sometimes can expose. Meet these challenges and more head-on! Author Marc Rochkind shows how to begin a project right, with a clear contract and set of written requirements. You’ll learn about project organization, setting up a solid development environment, connecting with client personnel. Database design is essential, and Expert PHP and MySQL has you covered with guidance on creating a sound model and database, and on pushing functionality into the database as appropriate; not everything should be done in PHP. Error handling is covered at both the PHP and MySQL levels. Application structure is covered. Guidance is provided on reporting. And finally there is conversion. In Expert PHP and MySQL you’ll explore the The popular and widely used combination of PHP and MySQL
In alcune parti è molto interessante, soprattutto all'inizio, quando parla di come organizzare il team, di come raccogliere le specifiche e di come progettare il DB.
La parte su come installare Apache, PHP e MySQL speravo di non trovarla in un libro rivolto agli esperti, anche se l'accenno a come configurare alcuni servizi cloud è interessante. Se avesse preso tutto il capitolo invece di 2 paginette ognuno, sarebbe stato meglio.
Purtroppo nella parte forse più importante del libro (come organizzare un grosso progetto in PHP e MySQL) crolla. Oltre a prendere ad esempio un singolo tipo di applicazione (praticamente una "banale" interfaccia a un DB con form per inserire dati e modificarli), non dà nessuna informazione su come organizzare i file per progetti più grandi, e il codice è una mescolanza di PHP, HTML, SQL, tutti nello stesso file, con poca organizzazione del codice, righe a volte ripetute uguali tra due file. Insomma, spaghetti code.
Si ritira un po' su nel capitolo dedicato alla sicurezza, e i due capitoli finali sul reporting e sull'import di dati sono discreti.