Join Kevin Skoglund for an in-depth discussion in this video Introducing length measures, part of Easy PHP Projects: Measurement Conversion.
- In this chapter we'll learn to convert…length and distance measurements using PHP.…First let's define our terms.…Length is a measurement between two points.…Distance is a common synonym for length.…We often use length when we're talking about an object…and distance when we're talking about…two locations on a map.…We could say what distance is this piece of wood,…or what is the length from New York to Boston…but it sounds odd but they're the same thing…in terms of measurements.…They both measure the distance between two points…so I'm going to refer to them mostly…as length going forward.…
Height, width and depth are also names for lengths,…they just provide us with both a length…and also the orientation of that length on an object.…There are many units for measuring length.…They vary by country and by their context.…These units have evolved over time.…Especially we try to standardize the units in common use.…Here are some of the more common units…used for measuring length.…There's an imperial system of measurement,…
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.