Join Keith Casey for an in-depth discussion in this video What you should know before watching this course, part of PHP: Design Patterns.
- Let's start with what you need to know. First, you'll need to have PHP installed somewhere. I suggest locally for fast feedback, but that's up to you. This course starts from the basis that you're proficient in PHP. If you're completely new to PHP, this may not be the course for you. Next, you should have a good grasp of object-oriented programming. If you don't understand the basics of object-oriented programming, this is not the course for you. You need to understand how to create objects, how inheritance works, and a few related concepts. Next, you need a good understanding of your editor of choice.
Personally, I don't care which one you use. Vim, Sublime Text, PhpStorm, or whatever. The point is that a good editor can give you some simple syntax highlighting, which is incredibly useful. But even better, an IDE-like editor can give you all kinds of refactoring and testing tools built in. Finally, you need to understand that there often is no right answer. Design patterns should be treated as a tool in your toolbox. Or a way to communicate complex ideas quickly. They're not always the right answer for a given problem. But it's entirely possible that they're the best answer given the requirements, constraints and conditions.
Alright, enough of that, let's get on with the show.
Author
Released
1/28/2015- Accessing data with the active record and table data gateway patterns
- Creating objects with the factory, singleton, and mock objects patterns
- Extending code with decorator and adapter patterns
- Structuring applications with MVC and Action-Domain-Responder patterns
Each chapter features a design pattern in a real-world coding scenario, and closes with a practice challenge to test your new skills.
Skill Level Intermediate
Duration
Views
Related Courses
-
PHP: Accessing Databases with PDO and MySQLi
with David Powers3h 47m Intermediate -
Code Clinic: PHP
with David Powers4h 44m Intermediate -
PHP: Creating Secure Websites
with Kevin Skoglund4h 15m Intermediate
-
Introduction
-
Welcome51s
-
-
1. The Active Record Pattern
-
2. The Adapter Pattern
-
3. The Decorator Pattern
-
4. The Factory Pattern
-
5. Mock Objects
-
Introducing mock objects2m 18s
-
-
6. The Model-View-Controller Pattern
-
7. The Action-Domain-Response Pattern
-
8. The Publish/Subscriber Pattern
-
9. The Singleton Pattern
-
10. The Strategy Pattern
-
11. The Table Data Gateway Pattern
-
Conclusion
-
Next steps2m 8s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: What you should know before watching this course