Architecting R IA with
Contact Josh Holmes UX Architect Evangelist [email_address] joshholmes.com
What is  by  Kushal Das
Is it… R ural  I noculation  A ssociation? R are  I sotope  A ccelerator? R oyal  I nstitute of  A cting R ampantly  I nep...
What is a  R ich  I nternet  A pplication?
RIA for me is all about expanding the  experience   for the user. Those "gray beards" amongst us remember the ol...
But the term still begs the question:  Rich in what sense?  Responsiveness, immediacy, convenience? production values, chr...
<ul><li>Rich Internet applications  (RIA) are  web applications  that have the features and functionality of traditional  ...
Back Button and Refresh Visual Vocabulary State management Browser Sandbox Business Logic in UI Component Level Logic Anim...
Ubiquity Richness Next Generation
SharePoint  ASP.NET+AJAX  Gadgets  Silverlight  Infopath  OBA  Winforms  WPF  XNA Ubiquity Richness Next Generation
cross-browser, cross-platform, cross-device for building and delivering the next generation of .NET based media experience...
Legend V2 Legend V1.0 CLR Execution Engine Framework HTML DOM Integration XAML Networking JSON REST POX RSS Data LIN Q XLI...
Whether you are designing  rich standards-based websites, ultimate experiences on the desktop, or managing digital assets ...
+ Silverlight tools for Visual Studio
 
 
 
Useful Adaptive Reliable Cost-effective Desirable Usable
User Needs Interaction Design Information Design Visual Design Experiences that create value! + + +
 
 
 
 
Taliesin West: Drafting Studio
 
 
<ul><li>MVP Pattern </li></ul><ul><ul><li>View is more loosely coupled to the model </li></ul></ul><ul><ul><li>Easier to u...
 
 
 
 
 
 
<ul><li>Uses tiled image pyramids </li></ul><ul><li>The overhead of pyramids is 33%: </li></ul>
<ul><li>Preprocessing tool breaks image into 256 x 256 tiles </li></ul><ul><li>Then generates pyramids of tiles at lower r...
<ul><li>When the image is displayed on the client the lowest resolution tiles are shown first </li></ul><ul><li>Then as th...
<ul><li>When the image is displayed on the client the lowest resolution tiles are shown first </li></ul><ul><li>Then as th...
<ul><li>When the image is displayed on the client the lowest resolution tiles are shown first </li></ul><ul><li>Then as th...
 
 
 
..but don’t forget the  power users 70 20 10
 
 
 
 
 
 
with usability
<ul><li>Cookies are on a domain level </li></ul><ul><ul><li>bar.com cannot access foo.com cookies… </li></ul></ul><ul><ul>...
 
<ul><li>“ Private” services (for your own app) </li></ul><ul><ul><li>DO use browser-based authentication  </li></ul></ul><...
 
 
 
 
 
<ul><li>1.0 minimal Accessibility support </li></ul><ul><ul><li>We only provide some root “alt” information </li></ul></ul...
 
 
 
by  Caution Mike
 
 
private void  Application_Startup( object  sender,  StartupEventArgs  e) { string  startPageParameter =  &quot;/StartPage&...
 
 
 
by  billaday
 
 
 
 
 
 
by  joeltelling
 
 
 
by  mikeyexists
 
 
 
Who is using Silverlight now ?
France Internet Marketing
 
Japan Great UX
 
 
 
 
 
 
 
 
<ul><li>Rich Internet Applications are meant to enhance user experience </li></ul><ul><li>Architecture of the client matte...
<ul><li>http://silverlight.net/getstarted   </li></ul><ul><li>http://www.joshholmes.com   </li></ul>Take the Next Step
Architecting R IA with
Contact Josh Holmes UX Architect Evangelist [email_address] joshholmes.com
Upcoming SlideShare
Loading in...5
×

Architecting RIAs with Silverlight

3,109

Published on

This is the deck that I used in my European Silverlight Tour in Spain, Switzerland, Denmark, Sweden, Bengium, Netherlands and Ireland. It\'s about architecting Rich Internet Applications with Silverlight 2.0.

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,109
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
221
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • Title Slide
  • Architecting RIAs with Silverlight

    1. 1. Architecting R IA with
    2. 2. Contact Josh Holmes UX Architect Evangelist [email_address] joshholmes.com
    3. 3. What is by Kushal Das
    4. 4. Is it… R ural I noculation A ssociation? R are I sotope A ccelerator? R oyal I nstitute of A cting R ampantly I nept A lien? R oyally I diotic A nnoyance? R eally I nane A cronym? R ich I nternet A pplication?
    5. 5. What is a R ich I nternet A pplication?
    6. 6. RIA for me is all about expanding the experience for the user. Those &quot;gray beards&quot; amongst us remember the old days of just being happy seeing plain, static text show up in the browser . We've come a long way since then. While dynamic web sites have pushed us way beyond the simple pages of the old days, RIA is helping us now provide the same level of dynamic interaction on the client side as well. I think this is wonderful as it improves the entire process (server and client)! While we have a great opportunity here to help users, the challenge is to not actually make things more difficult . Like any new feature, the web is rife with examples of poorly designed and hard to use applications. It is not enough to learn how to make HTTP requests and change content dynamically, but rather how to do it well in ways that help the user and not scare them off. Raymond Camden http://www.insideria.com/2008/01/what-is-ria-1.html
    7. 7. But the term still begs the question: Rich in what sense? Responsiveness, immediacy, convenience? production values, chrome, animation? http://www.insideria.com/2008/01/what-is-ria-1.html Christian Crumlish
    8. 8. <ul><li>Rich Internet applications (RIA) are web applications that have the features and functionality of traditional desktop applications . RIAs typically transfer the processing necessary for the user interface to the web client but keep the bulk of the data (i.e., maintaining the state of the program, the data, etc.) back on the application server . </li></ul><ul><li>RIAs typically: </li></ul><ul><li>run in a web browser , or do not require software installation </li></ul><ul><li>run locally in a secure environment called a sandbox </li></ul>http://en.wikipedia.org/wiki/Rich_Internet_application
    9. 9. Back Button and Refresh Visual Vocabulary State management Browser Sandbox Business Logic in UI Component Level Logic Animation new for Desktop Developers new for Web Developer What’s different with RIA? Limited Runtime Service Orientation Non-text based layout Hype
    10. 10. Ubiquity Richness Next Generation
    11. 11. SharePoint ASP.NET+AJAX Gadgets Silverlight Infopath OBA Winforms WPF XNA Ubiquity Richness Next Generation
    12. 12. cross-browser, cross-platform, cross-device for building and delivering the next generation of .NET based media experiences and rich interactive applications for the Web
    13. 13. Legend V2 Legend V1.0 CLR Execution Engine Framework HTML DOM Integration XAML Networking JSON REST POX RSS Data LIN Q XLINQ DLR Ruby Python WPF Extensible Controls BCL Generics Collections Inputs Keyboard Mouse Ink Media VC1 WMA MP3 Browser Host Integrated Networking Stack Installer Application Services MS AJAX Library UI Core Vector Text Animation Images DRM Media Controls Layout Editing
    14. 14. Whether you are designing rich standards-based websites, ultimate experiences on the desktop, or managing digital assets and content, Expression professional design tools give you the flexibility and freedom to bring your vision to reality. 2 The professional Web design tool The professional Interactive design tool The professional Media Encoding tool The professional Asset Management tool
    15. 15. + Silverlight tools for Visual Studio
    16. 19. Useful Adaptive Reliable Cost-effective Desirable Usable
    17. 20. User Needs Interaction Design Information Design Visual Design Experiences that create value! + + +
    18. 25. Taliesin West: Drafting Studio
    19. 28. <ul><li>MVP Pattern </li></ul><ul><ul><li>View is more loosely coupled to the model </li></ul></ul><ul><ul><li>Easier to unit test </li></ul></ul><ul><ul><li>Usually view to presenter map one to one </li></ul></ul><ul><ul><li>Complex views may have multi presenters  </li></ul></ul><ul><li>MVC Pattern </li></ul><ul><ul><li>Controller are based on behaviors and can be shared across views </li></ul></ul><ul><ul><li>Can be responsible for determining which view to display (Front Controller Pattern) </li></ul></ul>
    20. 35. <ul><li>Uses tiled image pyramids </li></ul><ul><li>The overhead of pyramids is 33%: </li></ul>
    21. 36. <ul><li>Preprocessing tool breaks image into 256 x 256 tiles </li></ul><ul><li>Then generates pyramids of tiles at lower resolutions </li></ul>
    22. 37. <ul><li>When the image is displayed on the client the lowest resolution tiles are shown first </li></ul><ul><li>Then as the higher quality tiles are downloaded, they are smoothly blended in </li></ul>
    23. 38. <ul><li>When the image is displayed on the client the lowest resolution tiles are shown first </li></ul><ul><li>Then as the higher quality tiles are downloaded, they are smoothly blended in </li></ul>
    24. 39. <ul><li>When the image is displayed on the client the lowest resolution tiles are shown first </li></ul><ul><li>Then as the higher quality tiles are downloaded, they are smoothly blended in </li></ul>
    25. 43. ..but don’t forget the power users 70 20 10
    26. 50. with usability
    27. 51. <ul><li>Cookies are on a domain level </li></ul><ul><ul><li>bar.com cannot access foo.com cookies… </li></ul></ul><ul><ul><li>Same domain - http://foo.com  is different than http://bar.foo.com or http://www.foo.com </li></ul></ul><ul><ul><li>Same protocol - http://foo.com is different than https://foo.com </li></ul></ul><ul><ul><li>Same port - http://foo.com is different than http://foo.com:8080 </li></ul></ul><ul><li>foo.com should feel secure storing user data in cookies </li></ul><ul><li>Prevent cross-site forgery </li></ul><ul><ul><li>Exploits a sites trust for a user </li></ul></ul>
    28. 53. <ul><li>“ Private” services (for your own app) </li></ul><ul><ul><li>DO use browser-based authentication </li></ul></ul><ul><ul><li>Cookies, HTTP Auth, etc. </li></ul></ul><ul><ul><li>DO NOT enable public access via cross-domain policy file </li></ul></ul><ul><li>“ Public” services (for 3rd-party apps) </li></ul><ul><ul><li>DO NOT use browser-based authentication </li></ul></ul><ul><ul><li>DO publish cross-domain policy files </li></ul></ul><ul><ul><li>DO use “cross-domain-safe” authentication </li></ul></ul><ul><ul><li>E.g. URL signatures </li></ul></ul><ul><li>DO separate public services in their own domain </li></ul><ul><ul><li>E.g. api.flickr.com vs. www.flickr.com </li></ul></ul>
    29. 59. <ul><li>1.0 minimal Accessibility support </li></ul><ul><ul><li>We only provide some root “alt” information </li></ul></ul><ul><ul><li>No focus and keyboard support </li></ul></ul><ul><li>2.0 Accessibility greatly improved </li></ul><ul><ul><li>Full keyboard support </li></ul></ul><ul><ul><li>Decorate XAML UI elements with Accessibility info </li></ul></ul><ul><ul><li>Add accessibility to custom controls </li></ul></ul><ul><ul><li>Accessibility reader support (AT) </li></ul></ul><ul><ul><li>Accessibility tree exposition for UIA </li></ul></ul><ul><li>Note - UIA on Windows, OS X does not support accessible plug-ins </li></ul>
    30. 63. by Caution Mike
    31. 66. private void Application_Startup( object sender, StartupEventArgs e) { string startPageParameter = &quot;/StartPage&quot; ; if (!e.InitParams.ContainsKey(startPageParameter)) { this .RootVisual = new DefaultStartPage(); } else { switch (e.InitParams[startPageParameter]) { case &quot;DefaultStartPage&quot; : this .RootVisual = new DefaultStartPage(); break ; case &quot;NonDefaultStartPage&quot; : this .RootVisual = new NonDefaultStartPage(); break ; default : throw new Exception ( &quot;/StartPage must be 'DefaultStartPage' or 'NonDefaultStartPage'.&quot; ); } } }
    32. 70. by billaday
    33. 77. by joeltelling
    34. 81. by mikeyexists
    35. 85. Who is using Silverlight now ?
    36. 86. France Internet Marketing
    37. 88. Japan Great UX
    38. 97. <ul><li>Rich Internet Applications are meant to enhance user experience </li></ul><ul><li>Architecture of the client matters </li></ul><ul><li>Use good development practices </li></ul><ul><li>Leverage the framework </li></ul><ul><li>Build for the user </li></ul><ul><li>Don’t get religious </li></ul>Take-aways
    39. 98. <ul><li>http://silverlight.net/getstarted </li></ul><ul><li>http://www.joshholmes.com </li></ul>Take the Next Step
    40. 99. Architecting R IA with
    41. 100. Contact Josh Holmes UX Architect Evangelist [email_address] joshholmes.com
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×