Join Simon Allardice for an in-depth discussion in this video Building the Web, part of Code Clinic: Swift.
(brief electronic music) - Welcome to Code Clinic; I'm Simon Allardice. Every month in Code Clinic, a different problem is given to a group of lynda.com developer authors, who each solve it using our programming language of choice. For me, that's Swift. It's a way to see how different programmers approach different real world problems; to see the pros and cons of languages and find a few tips and tricks to add into your day-to-day coding. This month, we have a problem common to anyone building a website or building a report: specifically, merging live and changing data with static templates.
In this problem, we have a preformatted HTML web page, and then two data files in CSV format. Our job is to write code that will parse the data, apply the proper formatting, and insert it into the web page. We're going to use a set of web files created by my esteemed colleague James Williamson, in chapter nine of his course, titled Dreamweaver CC Essential Training. James provides all of the material we need for this Challenge. I invite you to download the example files for that course if you'd like to attempt your own solution.
So, in the next videos I'll show you my solution, then we'll go back to the beginning and work this problem step by step.
Simon introduces challenges and then provides an overview of his solutions in Swift. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4 - Accessing Peripherals
5. Problem 5 - Recursion and Directories
6. Problem 6 - Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.