Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In addition to namespaces, there are a number of coding frameworks that contain dozens of design patterns and solutions for many common coding problems and needs. For an in-depth survey of four open source frameworks, I recommend MVC Frameworks for Building PHP Web Applications with Drew Falkman. Another course that I will recommend as a supplement and extension to the design patterns chapter is Foundations of Programming: Object-Oriented Design with Simon Allardice here in the Lynda.com Online Training Library. Offline, there are two books that are broadly considered as canonical sources of software design strategies. Design Patterns: Elements of Reusable Object-Oriented Software, published by Addison-Wesley, and Code Complete, the 2nd edition, from Microsoft Press.
Finally, you may have noticed that one section the demonstration was not completed, the save method of the Address class. There are many different ways to approach this problem. You could write a simple SQL query, and just write the contents to a table within that method. But does that scale? I recommend researching Gateway patterns along with Object-relational mapping as a starting point.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 99159 Viewers
56 Video lessons · 112435 Viewers
71 Video lessons · 81248 Viewers
131 Video lessons · 39018 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.