Join Kevin Skoglund for an in-depth discussion in this video How to use the exercise files, part of Easy PHP Projects: Measurement Conversion.
- Some users will have access to the Exercise Files that are used throughout this title. The Exercise Files are arranged by Chapter and by movie. And you can find the Exercise Files that correspond to the movie that you're watching by first looking for the Chapter number and then, the movie number. You'll want to copy the contents of the Exercise Files folder into your web document root directory, That is, the directory which your web server uses by default. If you're on a Mac configured like mine, that will be the Sites directory inside your User directory.
If you're using a package like MAMP or WAMP, they may be configured to use a special directory of their own. Once you've identified your web document root directory, you can copy over the files. It's always a good idea to make a copy of the Exercise Files, so that you'll still have the original to refer back to if you make changes. I'm going to option drag the folder to my Sites directory in order to create a new copy. Once you have the files in place, you'll be able to work right along with me. If you do not have the Exercise Files that accompany this tutorial, you can still follow along with me.
Everything that's in the Exercise Files will be shown during the tutorial. Remember that you can pause the video or rewind if you need more time to copy something down.
Along the way, series designer Kevin Skoglund introduces coding strategies, refactoring techniques, and useful skills including dynamically generating form select-option values and formatting decimal numbers and scientific notation.
- Converting length and area measurements
- Using functions to avoid repetition
- Refactoring to produce simpler code
- Converting volume and mass
- Generating form select-option values dynamically
- Formatting scientific notation
- Converting speed and temperature