From the course: PHP: Design Patterns
Using the exercise files - PHP Tutorial
From the course: PHP: Design Patterns
Using the exercise files
- I've included all the exercise files from this course in this folder. Now, for the purposes of demonstrating code to you, I've moved the files to the H D docs folder of mamp. You should move your code to your own H D docs or web directory for your own access. I've organized all the samples by chapter. Within most of the folders, you'll see five individual folders. First we have a before folder. This is what your code might look like before you apply the pattern. Next, we have an after folder. This is what your code might look like after you've applied the pattern. Then, we have an example folder which shows how we might use a framework to improve your code. The final two folders are challenge and solution, respectively. The challenge is the problem you're trying to solve and the solution is one possible solution. Odds are, your solution will be a little bit different. Don't consider mine the only possible answer.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.