Start reading Learning PHP Design Patterns on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device

 
 
 

Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Sorry, this item is not available in
Image not available for
Colour:
Image not available
 

Learning PHP Design Patterns [Kindle Edition]

William Sanders
2.0 out of 5 stars  See all reviews (1 customer review)

Print List Price: £26.50
Kindle Price: £22.55 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £3.95 (15%)
* Unlike print books, digital books are subject to VAT.

Free Kindle Reading App Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.

To get the free app, enter your e-mail address or mobile phone number.

Formats

Amazon Price New from Used from
Kindle Edition £22.55  
Paperback £23.74  
Kindle Delivers Sign-up to receive email updates and get a Free Kindle Book

Book Description

Build server-side applications more efficiently—and improve your PHP programming skills in the process—by learning how to use design patterns in your code. This book shows you how to apply several object-oriented patterns through simple examples, and demonstrates many of them in full-fledged working applications.

Learn how these reusable patterns help you solve complex problems, organize object-oriented code, and revise a big project by only changing small parts. With Learning PHP Design Patterns, you’ll learn how to adopt a more sophisticated programming style and dramatically reduce development time.

  • Learn design pattern concepts, including how to select patterns to handle specific problems
  • Get an overview of object-oriented programming concepts such as composition, encapsulation, polymorphism, and inheritance
  • Apply creational design patterns to create pages dynamically, using a factory method instead of direct instantiation
  • Make changes to existing objects or structure without having to change the original code, using structural design patterns
  • Use behavioral patterns to help objects work together to perform tasks
  • Interact with MySQL, using behavioral patterns such as Proxy and Chain of Responsibility
  • Explore ways to use PHP’s built-in design pattern interfaces


Product Description

About the Author

Dr. William B. Sanders is a Professor of Multimedia Web Design and Development at the University of Hartford. He teaches courses in PHP, MySQL, C#, SQL, HTML5, CSS, and ActiionScript 3.0 among other Internet languages. He co-authored ActionScript 3.0 Design Patterns (O’Reilly, 2007) and has been actively working with design patterns in PHP for several years. He has published 45 computer and computer-related books, written software ranging from Basic to Assembly Language to Flash Media Server and served as a consultant and beta tester for different computer software companies including Macromedia and Adobe. He also is an Apple iOS Devloper.


Product details

  • Format: Kindle Edition
  • File Size: 5600 KB
  • Print Length: 362 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 1 edition (11 Feb. 2013)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B00BELZE6O
  • Text-to-Speech: Enabled
  • X-Ray:
  • Word Wise: Not Enabled
  • Average Customer Review: 2.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: #445,996 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?


More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

5 star
0
4 star
0
3 star
0
1 star
0
2.0 out of 5 stars
2.0 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
By Xiu
Format:Kindle Edition|Verified Purchase
Ironically for a PHP resource, this book is hampered by mixing up its code examples with large amounts of HTML, CSS and other content that isn't directly related to the issue at hand. It also spends considerable time describing and explaining this irrelevant content. Inevitably, a lot of the HTML and CSS described in the book is now quite dated. There are better books that look at design patterns through PHP, and of course, better books on design patterns themselves.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 3.4 out of 5 stars  13 reviews
11 of 14 people found the following review helpful
2.0 out of 5 stars Overly Simplistic Examples Complicated with Needless Detail 15 April 2013
By webdev - Published on Amazon.com
Format:Paperback|Verified Purchase
I was really looking forward to this book. But the exercises in each of the chapters make it hard to conceive how and when any of these patterns would be useful, and even harder to understand how to properly execute them in the real world.

Each of the patterns in the book contain very little functionality, but a ton of detail and abstraction that is unnecessary to teach the patterns' fundamentals.

While there is value in this book, digging through all the fluff may not be feasible use of your study time.
3 of 3 people found the following review helpful
4.0 out of 5 stars Excellent Explanations, not so good examples 24 Dec. 2013
By howlowck - Published on Amazon.com
Format:Paperback|Verified Purchase
I would echo some of the negative reviews that the code examples could be better in that they deviate from today's coding best practices. However, the code is not there to show how to build a web app; the code is there purely to illustrate a concept.

I found the book enlightening as the concepts are explained clearly.
2 of 2 people found the following review helpful
4.0 out of 5 stars Delivers what it states, and nothing more. Design Patterns in PHP. Do not expect to learn PHP or OOP principles. Exp is required 28 Jan. 2015
By Abide! - Published on Amazon.com
Format:Paperback
I've worked with PHP for almost 7 years now, and I have never actually sat down and read a book that covers design patterns specifically for PHP; however, I am familiar with them from my work experience as you can't help but pick them up if you do any sort of regular OOP programming. I must admit that I agree with many of the other reviews in saying that the examples can span from over-simplistic to extremely convoluted; however, the explanations of concepts is decent enough that someone with little knowledge of OOP could get a head start with this book.

Now, I mention someone with no knowledge of OOP can benefit; however, that does not extend to someone with no or little PHP experience. This book is honest from the beginning when it states it expects the reader to be rather proficient with PHP coming into the book. It is not going to teach you anything new about PHP unless perhaps you have never worked with OOP + PHP in which case the opening section of the book can be rather helpful (although the book "Programming PHP" would be a better recommendation to pick up the basics of OOP in an PHP environment). It almost requires a reader to already be familiar with not only PHP but OOP principles in general.

I feel the previous reviewers expected something from this book that the book does not even promise. You will not learn what OOP is or how PHP works in this book; what you will learn, however, is Design Patterns in a PHP environment. That's it. That is the value of this book, and it is also the title of the book "Learning PHP Design Patterns". It does what it claims to do, and that is introduce the reader to basic OOP Design Patterns in the context of PHP. If you expect anything else from this book you will be disappointed. There are other sources to learn about OOP and PHP, but this is a decent enough source for OOP Design Patterns in PHP.
2 of 2 people found the following review helpful
4.0 out of 5 stars That was a nice bonus. It was my first book dealing with ... 11 Nov. 2014
By Daniel E Rhodes - Published on Amazon.com
Format:Paperback|Verified Purchase
I found it a hidden gem. I am a programming enthusiast with roughly 4 years on/off with php and I understood the examples. If you are not familiar with Design Patterns (as I was) the examples are hard at first. You have to ask a lot of questions.
I was not aware of type sniffing. That was a nice bonus.
It was my first book dealing with Design Patterns and I feel as though I have gotten a good start. The chapter dealing state patterns alone is worth the price of admission. His starting with a on/off light switch was at once engaging and approachable.
I thought it was worth it in the end.
2 of 2 people found the following review helpful
4.0 out of 5 stars the book is worth to read if you have time 13 Feb. 2014
By David S. James - Published on Amazon.com
Format:Kindle Edition|Verified Purchase
Not bad book but as it was written: the examples are terrible!!! They are badly selected so you simply do not understand why you do such simple thing that complicated way! If you have no enough experience (at least several years, better 5-10) then you will never understand much of this book. I found couple of interesting ideas which was worth to read whole book.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Look for similar items by category