VWP03: Building Data Visualization Applications with WPF & Silverlight
description
Transcript of VWP03: Building Data Visualization Applications with WPF & Silverlight
VWP03: Building Data Visualization Applications with WPF & Silverlight
Tim HuckabyFounder / Chairman, InterKnowlogyFounder / CEO, Actus SoftwareMicrosoft RD & MVP
About Tim…InterKnowlogy (www.InterKnowlogy.com)• Tim Huckaby, Founder/Chairman ([email protected])
● Custom Application Development / Consulting / Software & Systems Engineering Firm headquartered in Carlsbad, CA
● Design, Architect, Build and Deploy Enterprise Class Applications ● Industry Experts:
•Most of the employees are published, MVPs, RD, Speakers, etc.•Microsoft .NET Application development since 2000•Microsoft .NET Rich Client Pioneers / Industry Leaders•Microsoft Touch Application Development Leaders (Surface / Windows 7 / Silverlight 3)•Information Worker Solutions (VSTO & SharePoint)•Integration / Messaging, B2B / B2C, Wireless / Mobility •Leading Edge: Surface, WPF, Silverlight, Win7 touch, SharePoint, VSTO•Cutting Edge Solutions on emerging Microsoft technologies•Largest Client: Microsoft
Actus Software (www.Actus-Software.com)• Tim Huckaby, Founder/CEO ([email protected])
•Software Product Company, Coming soon…
A little bit about me and why I am here…
Data Visualization: WPF & XAML…and Silverlight…and Surface..and “the phone”
Session Objective: To get you excited by showing you “what you can do” so that you start doing it.
Why you need Rich Client Applications
Rich Client Technology Roadmap
Session Objectives And Agenda
Demos, demos, demos!...
About the Computer I am Using Today…
• Acer Aspire 1420P• Give away “free” to all attendees at the
PDC• One year old…• Price in October-2009: $420• Price in November-2009: $350
WPF 3D:The Scripps Research InstituteVitruViewAutoCad – dwf Viewer
Tim HuckabyCEO, InterKnowlogyMicrosoft RD & MVP
demo
Surface WPF 3D:The Scripps Research InstituteVitruView
Tim HuckabyCEO, InterKnowlogyMicrosoft RD & MVP
video
History of Surface
2003The first prototype is presented to Bill Gates
2004A dedicated group is formed,
and more than 85 prototypes are developed
2007Microsoft Surface is unveiled to the world
2001The concept of an interactive table is born
2005The look and feel of Surface is finalized
2011?
Separates the front-end from the back-end
Simple declarative programming language suitable for constructing and initializing .NET Objects
Usually the most concise way to represent user interfaces (or other hierarchies of objects)
Doesn’t need a compile to render
The language that almost all Silverlight related tools emit
What the heck is XAML?
Sample XAMLRuns in a WPF Application:
Runs in the Browser:
demoTim HuckabyCEO, InterKnowlogyMicrosoft RD & MVP
Complex XAML
WPF, Silverlight and Declarative Programming
• XAML replaces code• Attributes control Layout and Style• Event handlers wired-up in XAML• Declarative Data Binding
WPF (Windows XP and above)Silverlight (Cross Platform for the Browser)SurfaceWPF 4.0 Touch (Windows 7)Windows® Phone 7 Series
The Big 5 “XAML-based” Technologies
WPF, Surface, & Silverlight
Library of CongressWin7 WPF multi-touchSilverlight
Tim HuckabyFounder, InterKnowlogyMicrosoft RD & MVP
demo
Silverlight… “WPF Light”
• Modern XAML/event-driven application UI framework• Interactive experiences for devices,
PC, & Mac platforms (and others…)• Subset of Windows Presentation Foundation• Lightweight download (4.2mb executable – runtime is larger)• Programming model uses XAML + .NET• Access to XAML tooling
Lightweight WPF runtime
<XAML> <Button Width="100px"> OK <Button.Background> LightBlue </Button.Background> </Button></XAML>
XAML-based Tools
Silverlight
43Things.comInterKnowlogy Wish 43 WP7 Wish43
Tim HuckabyFounder, InterKnowlogyMicrosoft RD & MVP
demo
Eclipsys CorporationSilverlight 3 - Enterprise Visibility Real-time Hospital Operations
Tim HuckabyCEO, InterKnowlogyMicrosoft RD & MVP
customer
Silverlight
Eclipsys MaestroHospital Management
Eclipsys MaestroHospital Management
WPF/SL – how does it work?• Built on Top of Direct 3D
● Converted to 3D triangles, textures and other Direct3D objects & then rendered by hardware
● Benefits of hardware acceleration & performance due to work being off-loaded to GPUs (unlike GDI based systems)
● Ensures the maximum benefit of new hardware and drivers
● Software rendering pipeline as fallback
EMN8 & REZN8customer
demoTim Huckaby/Founder, InterKnowlogyMicrosoft RD & MVP
WPF Emn8
from our Marketing VP Madeline Pantalone: “It's okay for you to use application for demonstration as long as you are sure to preface it with the phrase: "This is test data only. Products you see may have been created for testing purposes only."
Why WPF and Silverlight?
• The GDI & USER subsystems were introduced in Windows 1.0 in 1985
• OpenGL – Early 90s• DirectX – 1995
• Goal: Overcome the limits of GDI+ & USER with the productivity of .NET
Audience Participation Time1. Does WPF & SL enable me to do something I couldn’t have
done before?● No. Unless you factor in time & money…● And would like to do more with less…
2. Is DirectX dead?● No. It is more applicable to advanced 3D developers writing hard-core “twitch” games.
3. Are Winforms dead?● No. …but it will not be advanced; the last version was 2.0 in .NET 2005.● WPF / Winforms Integration is simple● Windows 98 Supports WinForms
4. Does WPF run better on Vista & Win 7 than on XP?● Yes.● 3D objects only get anti-aliasing on Windows Vista or Later● Non-rectangular windows only get hardware acceleration on Vista. ● Vista has a driver model that helps with resource contention
5. Does Silverlight trump all this other WPF Stuff?● One would think so with all the marketing dollars that are being thrown at it….● But, in Reality the answer is “No” and it makes solution architecture more difficult than ever.
6. Does HTML5 trump everything XAML?● Doubtful…but, there is wild speculation right now..● The Next 5 years are going to be “interesting”…
WPF: Where to go Next Free Resources
• WindowsClient.net - this is the official Microsoft community portal for WPF development, and is chock full of great resources such as the...
• Learn WPF page - this page links to podcasts, labs, and the very popular "how do I?" videos
• MIX University's WPF Bootcamp - this is a full 3-day video training course on WPF, in which expert instructors guide you from the surface into the depths of the technology stack
Where to go next• Windows Presentation Foundation
Unleashed (WPF)• by Adam Nathan, Daniel Lehenbauer
• Essential Windows Presentation Foundation (WPF)
• by Chris Anderson
Where to go nextThe InterKnowlogy WPF & Silverlight Reference Applications
Silverlight: Where to go NextFree Resources
• http://Silverlight.net - this is the official Microsoft community portal for Silverlight development
• http://www.Microsoft.com/Silverlight - This is the official product site
• http://developer.windowsphone.com – Free Windows Phone Developer Tools (1 download)
Where to go Next – Silverlight Books
Silverlight 4 Unleashed by Laurent Bugnion
(September 6, 2010)
Essential Silverlight 3 by Ashraf Michail
Silverlight In Actionby Chad Campbell and John Stockton
Summary• We are at the Edge of the Rich Client revolution• HTML is sufficient for Web Sites, but insufficient for Data
Visualization software applications• The Tools, Plumbing and platforms for Rich Client, touch
based computing are powerful and available• Within a short time frame computers with touch capability
will be the norm.• The .NET stack for Rich Client & Touch Based Software
(Surface, WPF & Silverlight) is elegant and powerful• The Concepts of NUI & Data Visualization change the
way we design and build software
Your Feedback is Important
Please fill out a session evaluation form drop it off at the conference registration
desk.
Thank you!
• More info on InterKnowlogy:● www.InterKnowlogy.com ● Silverlight.InterKnowlogy.com
• More info on Actus Software:● Coming soon….
• About Tim Huckaby…● Founder/Chairman, InterKnowlogy● Founder/CEO, Actus Software● Microsoft® Regional Director – Southern California● Microsoft® .NET Partner Advisory Council Founder /
Member● Microsoft® MVP - .NET ● INETA Speaker – International .NET Users Group
Association● Board Member: Association for Competitive
Technology● Board Member: Dev Connections● Author / Speaker
Tim HuckabyContact me: Tim Huckaby
E-mail: [email protected]:
Office: 760-444-8640Mobile: 619 990 9200
Blog: http://team.interknowlogy.com/blogs/timhuckabyFaceBook:http://www.facebook.com/Tim.Huckaby.CarlsbadLinkedIn:http://www.linkedin.com/in/timhuckaby