2016
Lynda
Kevin Skoglund
2:17
English
Easy PHP Projects introduces small-scale PHP projects that can be programmed in a day. This installment shows how to use PHP to convert measurements such as length, area, volume, mass, speed, and temperature into different units. The exercises are ideal for new PHP developers who want to gain experience building PHP projects, as well as for experienced developers who want to practice their skills.
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.
Introduction
Welcome
How to use the exercise files
Project setup
1. Length and Distance
Introducing length measures
Convert to metric length
Add additional units
Convert from metric length
Convert between any length units
2. Area
Introducing area measures
Challenge: Convert to and from metric area
Solution: Convert to and from metric area
Refactor length conversions
Refactor area conversions
3. Volume and Capacity
Introducing volume measures
Generate options dynamically
Challenge: Convert to and from metric volume
Solution: Convert to and from metric volume
4. Mass and Weight
Introducing mass measures
Challenge: Convert to and from metric mass
Solution: Convert to and from metric mass
Format scientific notation
Improve float formatting
5. Speed
Introducing speed measures
Convert to and from metric speed
Add support for knots
6. Temperature
Introducing temperature measures
Convert to and from metric temperature
Conclusion
Next steps
lynda.com/PHP-tutorials/Easy-PHP-Projects-Measurement-Conversion/418852-2.html
Download File Size:335.99 MB