Best And Worst Practices Building Ria with Adobe and Microsoft
-
Upload
josh-holmes -
Category
Technology
-
view
6.963 -
download
2
description
Transcript of Best And Worst Practices Building Ria with Adobe and Microsoft
![Page 1: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/1.jpg)
Best and Worst Practices Building
RIAfrom
Adobe and
Microsoft
![Page 3: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/3.jpg)
What is
by Kushal Das
![Page 4: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/4.jpg)
RIA for me is all about expanding the experience for the user. Those "gray beards" 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 Camdenhttp://www.insideria.com/2008/01/what-is-ria-
1.html
![Page 5: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/5.jpg)
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
![Page 6: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/6.jpg)
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.
RIAs typically:•run in a web browser, or do not require software installation•run locally in a secure environment called a sandbox
http://en.wikipedia.org/wiki/Rich_Internet_application
![Page 7: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/7.jpg)
Back Button and Refresh Visual VocabularyState 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 layoutHype
![Page 8: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/8.jpg)
Ubiquity Richness Next Generation
![Page 9: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/9.jpg)
Tour de Flexhttp://www.adobe.com/devnet/flex/
tourdeflex/
![Page 10: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/10.jpg)
http://silverlight.nethttp://cmafest.com/bethisclosehttp://www.iis.net/media/
experiencesmoothstreaming1080phttp://mscui.net/
patientjourneydemonstrator/ http://linqtotwitter.codeplex.com/ http://www.codeplex.com/
![Page 11: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/11.jpg)
![Page 12: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/12.jpg)
![Page 13: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/13.jpg)
![Page 14: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/14.jpg)
![Page 15: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/15.jpg)
Taliesin West: Drafting Studio
![Page 16: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/16.jpg)
![Page 17: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/17.jpg)
![Page 18: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/18.jpg)
MVP Pattern View is more loosely
coupled to the model Easier to unit test Usually view to
presenter map one to one
Complex views may have multi presenters
MVC Pattern Controller are
based on behaviors and can be shared across views
Can be responsible for determining which view to display (Front Controller Pattern)
![Page 19: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/19.jpg)
![Page 20: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/20.jpg)
![Page 21: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/21.jpg)
![Page 22: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/22.jpg)
![Page 23: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/23.jpg)
![Page 24: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/24.jpg)
![Page 25: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/25.jpg)
![Page 26: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/26.jpg)
![Page 27: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/27.jpg)
![Page 28: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/28.jpg)
..but don’t forget the power users
70 20 10
![Page 29: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/29.jpg)
![Page 30: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/30.jpg)
![Page 31: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/31.jpg)
![Page 32: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/32.jpg)
![Page 33: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/33.jpg)
![Page 34: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/34.jpg)
![Page 35: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/35.jpg)
with usability
![Page 36: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/36.jpg)
• Cookies are on a domain level• bar.com cannot access foo.com cookies…• Same domain - http://foo.com is different
than http://bar.foo.com or http://www.foo.com • Same protocol - http://foo.com is different
than https://foo.com • Same port - http://foo.com is
different than http://foo.com:8080
• foo.com should feel securestoring user data in cookies
• Prevent cross-site forgery• Exploits a sites trust for a user
![Page 37: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/37.jpg)
![Page 38: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/38.jpg)
• “Private” services (for your own app)• DO use browser-based authentication • Cookies, HTTP Auth, etc. • DO NOT enable public access via cross-domain policy file
• “Public” services (for 3rd-party apps)• DO NOT use browser-based authentication • DO publish cross-domain policy files • DO use “cross-domain-safe” authentication • E.g. URL signatures
• DO separate public services in their own domain• E.g. api.flickr.com vs. www.flickr.com
![Page 39: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/39.jpg)
![Page 40: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/40.jpg)
![Page 41: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/41.jpg)
![Page 42: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/42.jpg)
![Page 43: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/43.jpg)
![Page 44: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/44.jpg)
![Page 45: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/45.jpg)
![Page 46: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/46.jpg)
![Page 47: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/47.jpg)
![Page 48: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/48.jpg)
by Caution Mike
![Page 49: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/49.jpg)
![Page 50: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/50.jpg)
![Page 51: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/51.jpg)
private void Application_Startup(object sender, StartupEventArgs e){string startPageParameter = "/StartPage"; if (!e.InitParams.ContainsKey(startPageParameter)) { this.RootVisual = new DefaultStartPage(); } else { switch (e.InitParams[startPageParameter]) { case "DefaultStartPage": this.RootVisual = new DefaultStartPage(); break; case "NonDefaultStartPage": this.RootVisual = new NonDefaultStartPage(); break; default: throw new Exception(
"/StartPage must be 'DefaultStartPage' or 'NonDefaultStartPage'."); } }}
![Page 52: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/52.jpg)
![Page 53: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/53.jpg)
![Page 54: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/54.jpg)
![Page 55: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/55.jpg)
by billaday
![Page 56: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/56.jpg)
![Page 57: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/57.jpg)
![Page 58: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/58.jpg)
![Page 59: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/59.jpg)
![Page 60: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/60.jpg)
![Page 61: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/61.jpg)
![Page 62: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/62.jpg)
![Page 63: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/63.jpg)
by joeltelling
![Page 64: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/64.jpg)
![Page 65: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/65.jpg)
![Page 66: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/66.jpg)
![Page 67: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/67.jpg)
![Page 68: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/68.jpg)
![Page 69: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/69.jpg)
![Page 70: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/70.jpg)
![Page 71: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/71.jpg)
by mikeyexists
![Page 72: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/72.jpg)
![Page 73: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/73.jpg)
![Page 74: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/74.jpg)
![Page 75: Best And Worst Practices Building Ria with Adobe and Microsoft](https://reader034.fdocuments.in/reader034/viewer/2022051608/5400c03e8d7f7289408b499e/html5/thumbnails/75.jpg)
Best and Worst Practices Building
RIAfrom
Adobe and
Microsoft