Join Mark Niemann-Ross for an in-depth discussion in this video Using the exercise files and challenges, part of Teach Kids Programming with PHP.
You'll need to download the complete set of exercise files located on the course page at lynda.com. These files are sorted into folders for each chapter. They're an essential part of the learning experience, and will let you follow along closely with me. I'm going to copy the exercise files into the Macintosh Sites folder. To find that folder, I just simply click on the hard drive. Go to Users>My User Space>Sites and then drag the exercise files into the Sites folder.
If you're not using a Macintosh, you may find an equivalent sites folder located in different areas. For Macintosh, you'd look under Hard drive>Users>yourUserName>Sites. Under Windows Apache, you'll most likely find that folder under C:\apache\htdocs. If you're using a WAMP server, it's C:\wamp\www. And if you're using Xampp, check C:\xampp\htdocs.
Each folder consists of sample files, challenge files, and work files. Challenges are quick activities that give a hands-on opportunity to practice and master core concepts. Each challenge describes some objectives, plus a rough estimate of the time it should take to complete the work. The challenges are followed by a sample solution video, where I'll show you how I solved the challenge, and explain my thinking along the way. In some cases, I'll also include a second bonus solution illustrating a clever, but more difficult approach.
- Teacher's Guide: Introduces the concepts in the chapter and preps the adult on places where the student might get stuck
- Try It: Immediately engages the student, showing working code in action
- Check It Out: Encourages the adult and student to engage with and edit some existing code
- The Facts: A lecture for the student to watch
- Extend It: An exploration of expanded and extended concepts
- Challenge: A hands-on coding challenge for the student
- Solution: A step-by-step solution presented by the author
This course, in essence, acts as a lesson plan to help you teach PHP to a beginner. Its structured curriculum supports those who have a solid understanding of PHP, but don't necessarily know how to teach PHP effectively to kids.