O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mac OS X Dashboard

Video Description

Dashboard provides instant access to widgets (mini-applications) that "float" over the desktop. These widgets provide simple functionality such as a calculator or clock; interaction with data from iTunes, the Address Book or other local apps; and interaction across the Web to get weather reports, stock quotes, etc. This course provides an introduction to Dashboard and you will learn how to create your own widgets. VTC author Jesse Feiler guides you through the steps to build a time clock widget to track your time and export it to a TextEdit document. To begin learning simply click the links.

Table of Contents

  1. Introducing Dashboard
    1. About this Course 00:05:39
    2. Dashboard Widgets as Mini-Apps 00:04:31
    3. Dashboard Widgets as Data Interfaces 00:03:32
    4. Widget Interface Design Guidelines 00:03:39
  2. Widget Overview
    1. Accessory Widgets 00:04:10
    2. Application Widgets 00:02:55
    3. Information/Internet Widgets Pt.1 00:06:10
    4. Information/Internet Widgets Pt.2 00:03:34
    5. Finding Third-Party Widgets 00:03:59
    6. Downloading a Widget 00:03:31
  3. Managing Widgets
    1. Getting to Dashboard 00:03:34
    2. Using the Widget Bar 00:03:54
    3. Multiple Copies of Widgets 00:03:00
    4. Using the Clipboard with Widgets 00:02:09
  4. Widget Architecture: The Basics
    1. Bundles 00:05:21
    2. Basic Bundle Files 00:04:49
    3. HTML interface 00:09:04
    4. Default & Icon PNG Files 00:03:55
    5. Property List 00:03:39
  5. Industry-Standard Widget Technologies
    1. HTML 00:06:28
    2. CSS 00:07:46
    3. JavaScript 00:08:15
  6. Building a Widget (Basic Version)
    1. Start from the Blank Widget 00:05:06
    2. Rename Files & Build the Property List 00:05:46
    3. Basic Safari Debugging 00:04:39
    4. Add Images & Styles 00:05:40
    5. Dashboard Development Mode Pt.1 00:02:39
    6. Dashboard Development Mode Pt.2 00:04:47
  7. Building the Back of a Widget
    1. Flipping the Widget Pt.1 00:07:52
    2. Flipping the Widget Pt.2 00:02:20
    3. Adding a Link to the Widget 00:04:29
    4. About Preferences 00:05:32
    5. Setting & Storing a Preference Pt.1 00:04:50
    6. Debugging Case Study 00:03:49
    7. Setting & Storing a Preference Pt.2 00:02:53
    8. Retrieving a Preference 00:04:09
  8. Building a Widget (Advanced)
    1. Implementing a Two-State Button Pt.1 00:07:35
    2. Implementing a Two-State Button Pt.2 00:03:33
    3. Creating a Text Display Field 00:06:51
    4. Creating a Text Area 00:06:53
    5. Finishing Up: The Reset Button 00:03:33
  9. Widget Architecture
    1. Dashboard Architecture 00:03:57
    2. Widget Properties 00:06:11
    3. Widget Events 00:03:03
  10. Writing the Widget Javascript Code
    1. Building the Javascript Timer 00:06:27
    2. Building the Timer Click Structure 00:06:09
    3. Starting the Timer 00:03:31
    4. Pausing the Timer 00:03:29
    5. Continuing the Timer 00:02:09
    6. Resetting the Timer 00:04:29
    7. Handling Show & Hide Events Pt.1 00:08:20
    8. Handling Show & Hide Events Pt.2 00:03:38
  11. Interacting with Other Applications
    1. Using the Clipboard & Drag & Drop 00:02:45
    2. Preparing the Test Widget Pt.1 00:04:33
    3. Preparing the Test Widget Pt.2 00:03:04
    4. Using the Command Line 00:04:15
    5. Making the Command Line Interactive 00:03:52
    6. Status Results & Synchronous Processing 00:05:54
    7. Asynchronous Processing 00:05:38
  12. Using AppleScript from Widgets
    1. AppleScript/Widget Overview 00:04:45
    2. Using AppleScript from the Command Line 00:04:11
    3. Generating AppleScript from a Widget Pt.1 00:03:14
    4. Generating AppleScript from a Widget Pt.2 00:03:12
    5. Generating AppleScript from a Widget Pt.3 00:02:14
    6. Creating AppleScript Scripts 00:03:53
    7. Looking at an AppleScript Dictionary Pt.1 00:04:43
    8. Looking at an AppleScript Dictionary Pt.2 00:03:51
    9. Writing the Basic Script for the Widget 00:04:00
    10. Implementing the Script in the Widget Pt.1 00:02:44
    11. Implementing the Script in the Widget Pt.2 00:05:41
    12. Cleaning Up the Widget Script 00:03:35
    13. Labelling & Formatting the Export 00:03:03
    14. Saving the Exported Document 00:05:21
    15. Completing the Widget 00:03:14
  13. Using XML Data on the Web from Widgets
    1. Getting the XML Data for a Widget 00:04:58
    2. Sample RSS Widget Architecture 00:04:15
    3. Looking at the XML Document 00:02:58
    4. Creating the XMLHttpRequest 00:07:04
    5. Parsing the XML Data 00:05:34
    6. Displaying the XML Data 00:03:54
  14. Using Cocoa Plug-ins
    1. Widget Plug-in Overview 00:02:12
    2. Building the Fortune Example 00:05:23
    3. Setting the Widget to Use a Plug-in 00:03:57
    4. Setting the Xcode Project Name 00:03:30
    5. Exposing the Plug-in to JavaScript 00:07:11
    6. Debugging the Plug-in 00:04:05
  15. Widget Appearance & Behavior
    1. Using Control Regions 00:04:01
    2. Using the Canvas 00:04:16
    3. Resizing a Widget (Live Version) 00:04:36
    4. Using Animation Pt.1 00:03:50
    5. Using Animation Pt.2 00:07:59
    6. Using Animation Pt.3 00:02:57
    7. Managing Widget Focus 00:02:33
  16. Using the Apple Classes
    1. How to Include the Apple Classes 00:04:28
    2. Apple Info Buttons 00:03:54
    3. Apple Buttons (Including Glass Buttons) 00:03:24
    4. Scrollling in Your Widget 00:06:25
    5. Using Sliders 00:03:24
  17. Distributing Your Widget
    1. Preparing the Files 00:02:37
    2. Downloading the Widget 00:02:39
    3. Implementing Localization 00:07:19
  18. Wrap Up
    1. Course Summary 00:02:59
  19. Credits
    1. About the Author 00:07:23