Gadget RealWorld Experiences - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

Gadget RealWorld Experiences

Description:

Workopolis gadget displays number of jobs and resumes for a particular industry ... and event calendar mini-app gadget built for a large Canadian financial ... – PowerPoint PPT presentation

Number of Views:139
Avg rating:3.0/5.0
Slides: 16
Provided by: downloadM
Category:

less

Transcript and Presenter's Notes

Title: Gadget RealWorld Experiences


1
(No Transcript)
2
Gadget Real-World Experiences
Jean-Luc David Christian Beauclair Microsoft
Canada jeanlucd_at_microsoft.com christbe_at_microsoft.c
om blogs.msdn.com/cdndevs
Scott Howlett Jim Schwartz Imason inc
Scott.Howlett_at_imason.com Jim.Schwartz_at_imason.com
http//blogs.imason.com/scott.howletthttp//blogs
.imason.com/jim.schwartz
3
Agenda
  • Introduction
  • Gadgets weve built
  • Inside the code
  • Challenges
  • Gadget Tips and tricks
  • Summary

4
Introduction
  • Scott Howlett is a Principal with imason inc. in
    Toronto, Canada. Scott is also a Microsoft
    Regional Director.
  • Jim Schwartz is an Internet Architect _at_ imason
    inc and has been involved in multiple Vista
    Gadget development projects. Jim is also a
    SharePoint specialist.

5
Gadgets weve built
  • Workopolis gadget displays number of jobs and
    resumes for a particular industry in a particular
    city.
  • Savings and event calendar mini-app gadget built
    for a large Canadian financial institution.

6
Demo Watch the Gadgets in Action!
7
Inside the code
  • Flyouts
  • Docked / undocked views
  • Gadget timeouts
  • Exception and Trace Logging
  • Storing local gadget XML data
  • Signed gadgets
  • Debugging gadgets in Visual Studio 2005
  • Integrating 3rd party controls

8
Challenges
  • Lack of IntelliSense
  • Debugging is tricky
  • Gadgets arent meant to be full-blown
    applications
  • Writing data access code can be tedious
  • Gadgets dont integrate easily with ASP.NET AJAX
    currently

9
10 Gadget Tips
10
10 Gadget Tips
  • 10. Catch exceptions properly
  • 9. Use caution with flyout timeouts
  • 8. Flyout objects can be referenced from the
    gadget
  • 7. Use Docked/undocked views
  • 6. For overflow, use Div tags with scrollbars

11
10 Gadget Tips
  • 5. Use caution when displaying dates
  • 4. Do not store persistent data in gadget folder
  • 3. Use a clean folder structure and naming
    convention
  • 2. Sign your gadget with a digital id
  • 1. Do not try to build too much functionality
    into a gadget

12
Summary
  • Gadgets should be mini-applications
  • Gadgets can be tricky to debug
  • Gadgets are still evolving

13
Useful Links
  • Gadget Links
  • Sidebar Gadget Development Overview
    http//microsoftgadgets.com/Sidebar/DevelopmentOve
    rview.aspx
  • 10 Vista Sidebar Gadget Development Tips
    http//blogs.imason.com/jim.schwartz/archive/2007/
    03/20/10782.aspx
  • Gadget Corner Sidebar Security
    http//blogs.msdn.com/sidebar/archive/2006/08/31/7
    33880.aspx
  • Gadget Development Overviewhttp//msdn2.microsof
    t.com/en-us/library/ms723694.aspx
  • Gadget Object Referencehttp//msdn2.microsoft.co
    m/en-us/library/aa965852.aspx
  • Windows RSS Platform FeedsManager
    Objecthttp//msdn2.microsoft.com/en-us/library/m
    s684749.aspx

14
Contact Information
  • Scott Howlett Principal imason inc.
  • Scott.howlett_at_imason.com
  • http//blogs.imason.com/scott.howlett
  • Jim Schwartz Internet Architect imason inc.
  • Jim.schwartz_at_imason.com
  • http//blogs.imason.com/jim.schwartz
  • 10 Vista Sidebar Gadget Development Tips
    http//blogs.imason.com/jim.schwartz/archive/2007/
    03/20/10782.aspx

15
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com