Join Kevin Skoglund for an in-depth discussion in this video Introducing area measures, part of Easy PHP Projects: Measurement Conversion.
- [Voiceover] In the last chapter,…we learned how to perform length conversions.…In this chapter, we're going to apply that knowledge…to perform area conversions.…Area is the measurement of a surface…or the measurement of a piece of land.…In the same way that we saw with length,…that we could use length or distance…depending on whether we were talking about an object…or distance on land.…Area, unlike length, is two-dimensional.…Length is one-dimensional;…we just pull out our tape measure…and we measure one dimension.…For area, we need to measure two dimensions.…
We need to measure length twice,…in two different directions.…We commonly think of these as being the length…and the width, and we can arrive at the area…by multiplying together…the length and the width.…Once we've done that though,…we need to use a different unit type…to tell us that we're working with area at that point…and not a length.…We can't just say five miles times five miles…gives us an area of twenty five miles, right?…That doesn't tell us, it's not correct.…
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
Skill Level Beginner
PHP: Accessing Databases with PDO and MySQLiwith David Powers3h 47m Intermediate
1. Length and Distance
3. Volume and Capacity
4. Mass and Weight
- 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.Cancel
Take 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.