5. What you will learn today
• How web delivery methods have changed
• Why the ‘client’ is so important (again)
• Why javaScript is a first class citizen
• Our Progression of RIA using DNN
• How to deploy scripted modules quickly
• Where is script based RIA headed
6. Delivery methods have changed
• Faster Speeds - ( Computers / Bandwidth /Browsers)
• AJAX - (parts are better than the whole)
• CSS - (as visual and programmatic indicators)
• JavaScript – (where does it fit in the model now?)
7. Delivery Methods - Cycles
• Typical Cycles Consumed
3 cycles for L1
14 cycles for L2
250 cycles for RAM
41M cycles for disk
240M cycles for network
Ryan Dahl – (node.js inventor)
8. Delivery Methods - Server
• The fastest website in the world
– 1 HTML file (L1 cache), no links, no media, no style
– Delivered once.. Lives in L1 cache on client
9. Delivery Methods - Request
Client DNN
3 cycles for L1 3 cycles for L1
14 cycles for L2 14 cycles for L2
250 cycles for RAM 250 cycles for RAM
41M cycles for disk 41M cycles for disk
240M cycles for network 240M cycles for network
Files X Size X Layout (n-modules) X Transfer X Render = ????
10. Server – DNN Stack
Final Payload
Rendering Engine
DNN CORE
.net Framework (3.5, 4.0)
IIS (6.0 / 7.0)
App Pools (RAM)
File System Network Layer SQL
OS – (Windows 2003/2008)
38. DNN RIA - Progression
United States
Facebook Ashburn, VA
Dallas/Fort Worth, TX
LinkedIn Amazon S3 Jacksonville, FL
Twitter Los Angeles, CA
Miami, FL
ZOHO New York, NY
Basecamp
MS CRM
DNN PayPal
Newark, NJ
Palo Alto, CA
Cloud Front
Seattle, WA
Salesforce Google Checkout St. Louis, MO
Constant Contact Authorize.net
Europe
Client Amsterdam
Dublin
Frankfurt
London
Paris
Asia
Cloud Front Hong Kong
Tokyo
West Coast Cloud Front
Singapore
Client Client
Client
Ireland
East Coast
39. Script modules for RIA - hints
• Keep context on the client
• Use querystring appropriately & standardly
– provider / interface / method / {params}
– path / mode / action / id
• Control your mime-type
• Only return what is needed
• Build it on the client
40. Quick DNN Module Deployment
• Install Open Web Studio
• Add OWS Module to Page
• Click Administration
• Create New Configuration
• Publish
• Set New Configuration in OWS Settings
• Done!
Note : Handles Version Control, rollback and debugging
No recompile, no server restart
43. Sencha – Component Overview
The Instruction Set
Window
Panel
DataGrid Data Store Proxy DNN - XML
TabPanel
General
Listing IFRAME - Craigslist
Tracking
51. DNN – Data Pump
The Data
<?xml version="1.0" encoding="UTF-8"?>
<root>
<success>true</success>
<total>22526</total>
<message>Loaded Data</message>
<orders>
<order>
<uniqueid>12171780</uniqueid>
<title>WEB SIGHT SEARCH ENGINE (PALM SPRINGS)</title>
<label>WEB SIGHT SEARCH ENGINE (PALM SPRINGS)</label>
<region>California</region>
<regionabbr>CA</regionabbr>
<name>Palm Springs</name>
<link>http://palmsprings.craigslist.org/web/2205876734.html</link>
<publishdate>2011-02-21T10:43:35.560</publishdate>
<leadid>-1</leadid>
<description>
Company in Palm Springs is looking for someone who knows how to put our web sight on top of
search engine.
<br> n Our web and shopping kart is already designed but want
someone who knows how to put it on top of the list.
<br> n Please call Peter Ruiz at
760-864-1320 Ext 212
</description>
</order>
….
….
</orders>
</root>
54. Where are DNN RIA headed ?
Support for native
platform features ???
Camera
Contacts
Phone
Notifications
Calendar
Gyro
Compass
http://dev.sencha.com/deploy/ChartsDemo/examples/chart/ScatterRenderer.html
http://senchalabs.github.com/philogl/PhiloGL/examples/histogram/
http://senchalabs.github.com/philogl/PhiloGL/examples/temperatureAnomalies/
http://dev.sencha.com/animator/demos/cogs/
http://www.apple.com/ipad/features/
http://dojotoolkit.org/
55. Where does DNN fit in?
Facebook
LinkedIn Amazon S3
Twitter
ZOHO
Basecamp
MS CRM
DNN PayPal
Salesforce Google Checkout
Constant Contact Authorize.net
Client
Cloud Front
Client Client
Client