My first experiments with object-oriented programming in PHP took place about six years ago.
Unfortunately, the book that introduced me to the subject concentrated on the mechanics of writing classes and paid little heed to principles underlying OOP.
As a result, I wrote classes that were closely intertwined with a specific project (tightly coupled, to use the OOP terminology).
Everything worked exactly the way I wanted, but the design had a fundamental flaw: the classes couldn't be used for any other project.
Worse still, it was a large project--a bilingual, searchable database with more than 15, 000 records--so any changes I wanted to make to it involved revising the whole code base.
The purpose of this book is to help you avoid the same mistake.
Although most chapters revolve around mini-projects, the classes they use are project-neutral.
Rather than being a how to cookbook, the aim is to help developers with a solid knowledge of PHP basics add OOP to their skill set.
About the Author David Powers is an Adobe Community Expert for Dreamweaver and author of a series of highly successful books on PHP, including PHP Solutions: Dynamic Web Design Made Easy and Foundation PHP for Dreamweaver 8.
As a professional writer, he has been involved in electronic media for more than 30 years, first with BBC radio and television and more recently with the Internet.
His clear writing style is valued not only in the English-speaking world; several of his books have been translated into Spanish and Polish.
What started as a mild interest in computing was transformed almost overnight into a passion, when David was posted to Japan in 1987 as BBC correspondent in Tokyo.
With no corporate IT department just down the hallway, he was forced to learn how to fix everything himself.
When not tinkering with the innards of his computer, he was reporting for BBC television and radio on the rise and collapse of the Japanese bubble economy.
Since leaving the BBC to work independently, he has bu.
Flaw | The classes couldnt be used for any other project |
---|---|
Solutions | Dynamic |
APress este o companie de editură bine-cunoscută specializată în cărți și cărți electronice axate în primul rând pe subiecte legate de tehnologie.
Fondată în 1999, APress s-a impus ca un editor lider în domeniile informatică, tehnologiei informației, programare, dezvoltare web și subiecte conexe.
Compania publică o gamă largă de titluri care acoperă diverse limbaje de programare, metodologii de dezvoltare software, securitate cibernetică, știință a datelor, inteligență artificială, învățare automată, cloud computing, dezvoltare de aplicații mobile și multe altele.
APress se adresează atât profesioniștilor de nivel începător, cât și de nivel avansat, oferind cărți potrivite pentru auto-studiu, referință și dezvoltare profesională.
APress este cunoscut pentru angajamentul său de a publica conținut de înaltă calitate, practic și autorizat, creat de experți în domeniile lor respective.
Cărțile companiei oferă adesea informații tehnice aprofundate, exemple din lumea reală, studii de caz și tutoriale practice, făcându-le resurse valoroase pentru dezvoltatorii de software, profesioniștii IT, studenții și entuziaștii deopotrivă.
Pe lângă publicațiile tipărite, APress oferă, de asemenea, cărți electronice și conținut digital prin intermediul site-ului său web și al diferitelor platforme online, oferind cititorilor acces convenabil la biblioteca sa vastă de cărți tehnice.
În general, APress și-a câștigat o reputație de excelență în industria de publicare tehnologică, lansând continuu titluri relevante și oportune care se adresează nevoilor în evoluție ale profesioniștilor și cursanților din comunitatea tehnologică.