The Microsoft Technical Roadshow 2006 A Web-enabled Experience with Altas Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd

Slides:



Advertisements
Similar presentations
AJAX Development By Gary Mandela December 26,
Advertisements

FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.
AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
Developing An Advanced ASP.NET Server Control With Rich Design-Time Eilon Lipton PRS401 Software Design Engineer Microsoft Corporation.
Developing Rich Web Applications with Silverlight Mike Ormond Developer & Platform Group Microsoft Ltd
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
By Gyan Deo Singh Building Rich Web UI with the Microsoft AJAX Library, Extensions, and Toolkit.
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
© 2007 IBM Corporation IBM Emerging Technologies Enabling an Accessible Web 2.0 Becky Gibson Web Accessibility Architect.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.
The Microsoft Technical Roadshow 2007 Windows Live Martin Parry Developer and Platform Group Microsoft
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
It’s always better live. MSDN Events Developing ASP.NET AJAX Controls with Silverlight.
ASP.NET AJAX. Content ASP.NET AJAX Ajax Control Toolkit Muzaffer DOĞAN - Anadolu University2.
Web Applications Harry R. Erwin, PhD University of Sunderland CIT304/CSE301.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
JavaScript & jQuery the missing manual Chapter 11
XForms: A case study Rajiv Shivane & Pavitar Singh.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Building rich web applications with the ‘Atlas’ framework Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd Developer & Platform Evangelism.
ASP.NET AJAX 1. Ordinary web applications vs. AJAX Ordinary web application The full page is updated at each request The page is not available while being.
AJAX Without the “J” George Lawniczak. What is Ajax?
Power ASP.NET AJAX Programming. Agenda Partial-page rendering –With UpdatePanel –Without UpdatePanel PageRequestManager Drag-and-drop user interfaces.
Introducing Reporting Services for SQL Server 2005.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Microsoft Office InfoPath 2007 Development, Deployment, And Hosting For Rich And Browser Forms Jessica Gruber Consultant Microsoft Corporation.
Web Applications meets Life Microsoft ASP.NET “Atlas” Saurabh Verma Chief Software Architect | The Perfect Future
StockWatch Developers: Nimrod Hagay Hagai Barkan Supervisors: Assaf Solomovitch Viktor Kulikov June 2009.
ASP.NET 2.0 : Future Directions Developing Rich Web Applications with “Atlas” 7 & 8 March 2006 ICC Gent Contact me :
Random Logic l Forum.NET l AJAX Behind the buzz word Forum.NET ● January 23, 2006.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Tuukka Haapaniemi XForms – What’s the need? HTML forms Very outdated Hard to develop and to maintain Requires lot of work To create basic.
WebSphere Portal Technical Conference U.S Creating Rich Internet (AJAX) Applications with WebSphere Portlet Factory.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Keynote Shawn Burke Director Microsoft Corporation.
Quick overview of ASP.NET Ajax Ajax deep-dive Cover some key real-world problems Discuss solutions, patterns, opportunities Lots of demos And more of.
INNOV-7: Building a Richer UI for the Browser Chris Skeldon Senior Solution Consultant.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Building AJAX-Enabled Applications with ASP.NET AJAX Framework Peter Ty Developer Evangelist Microsoft Hong Kong
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
ZK AJAX FRAMEWORK  R.RAJESH. What is ZK?  ZK is an open-source Ajax Web application framework, written in Java that enables creation of rich graphical.
Microsoft’s Rich Web Technology XAML,WPF and WPF/E July, 2006 John Allwright.
Web 2.0 IS530 Fall 2009 Dr. Dania Bilal. Web 2.0 Is the Web that is being transformed into a computing platform for delivering web applications to end.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
PHP and AJAX. Servers and Clients For many years we tried to move as much as possible to the server. Weak clients, poor bandwidth, browser compatibility..
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Name Title Microsoft Corporation
Building Complete Web Application Using ASP.NET 3.5 & Visual Studio 2008 Omar Khan Group Program Manager Visual Studio.
ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd
The Microsoft Technical Roadshow 2007 AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
ASP.NET 2.0 Mohammed Abdelhadi Developer.NET Evangelist Microsoft Corporation.
Building rich web applications with ASP.NET AJAX Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd Developer & Platform Evangelism Group,
Shanku Niyogi PRS 312 Group Program Manager Microsoft Corporation
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
Working with Client-Side Scripting
Asynchronous Java script And XML Technology
Shanku Niyogi PRS 312 Group Program Manager Microsoft Corporation
By Gary Mandela December 26, 2006
Jim Fawcett CSE686 – Internet Programming Summer 2008
ASP.NET Module Subtitle.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Choosing between Silverlight and AJAX
Introduction to ASP.NET Parts 1 & 2
Presentation transcript:

The Microsoft Technical Roadshow 2006 A Web-enabled Experience with Altas Mike Ormond Developer & Platform Evangelism Group, Microsoft Ltd blogs.msdn.com/mikeormond

Agenda Atlas Overview Atlas for Server-Centric Ajax Development and other controls and other controls Atlas for Client-Centric Ajax Development Javascript client script framework JSON network requests Components and behaviours Mashups, gadgets and more

Some Terminology Courtesy wikipedia Ajax ‘Asynchronous JavaScript And XML, is a web development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user makes a change.’ Atlas ‘… Microsoft's codename for a set of extensions to ASP.NET for implementing Ajax functionality.’ XMLHttpRequest ‘… a set of APIs that can be used by JavaScript, JScript, VBScript and other … scripting languages to transfer and manipulate XML data to and from a web server using HTTP, establishing an independent connection channel between Client-Side and Server-Side.’ ‘The XMLHTTP object was originally developed by Microsoft, available since Internet Explorer 5.0 as an ActiveX object, via JScript, VBScript, or other scripting languages supported by the browser. Mozilla contributors then implemented a compatible native version called XMLHttpRequest in Mozilla 1.0. This implementation was later followed by Apple since Safari 1.2, Opera Software since Opera 8.0 and iCab since 3.0b352.’ Mash-up ‘… a website or web application that seamlessly combines content from more than one source into an integrated experience.’

Client Callback Manager Demo

What Is “Atlas”? A Framework for Building … … a new generation of richer, interactive, personalised standards-based web applications High-productivity platform for AJAX-style browser applications Seamlessly integrate with Microsoft platform and application model Delivers ubiquitous reach and easy deployment Enable world-class tools for AJAX-style application development

‘Atlas’ Scenarios Where Would I Use It? Server-centric Ajax Web Development Incremental Ajax approach to add UI enrichment for key scenarios Enrich applications without lots of Javascript code required Enable you to keep core UI/Application logic on server (VB/C#) Client-centric Ajax Web Development Leverage full power of script/DHTML Provide richer and more interactive user experience Build mash-ups, gadgets and other new immersive experiences

Programming Model Server-Centric ASP.NET Application Services Page Framework, Server Controls Page Framework, Server Controls Atlas Script Framework Client Application Services Component/UI Framework, Controls Component/UI Framework, Controls Browser Presentation(HTML/CSS)Presentation(HTML/CSS) ASP.NET Application PagesPages UI Behaviour (ManagedCode) (ManagedCode) Input Data Updated UI + Behaviour Initial Rendering (UI + Behaviour)

Server Controls Server Controls Goal: Easily enhance any ASP.NET web application Application UI and core logic still runs on server Avoid need to master JavaScript and asynchronous programming Use AJAX techniques to reduce roundtrips Enable incremental page UI updates (avoid full page refreshes) Scenarios: data navigation and editing, form validation, auto refresh Enable richer interactivity for existing ASP.NET controls Use the same controls, object model and events you already know Extenders to add Atlas behaviours to any ASP.NET controls Examples: auto-completion, web-parts, drag-and-drop, tooltips New, richer ASP.NET server controls Server wrappers for Atlas client controls Examples: DateTimePicker, RichTextBox, Re-Order List

control control Container control that enables ‘updatable’ regions in a page Atlas provides a XmlHttp based postback infrastructure Some non-updatable content and controls... This content can be dynamically updated! More non-updatable content and controls...

Simple UpdatePanel Demo

Under the Covers Under the Covers Atlas intercepts post-back submit actions on client Uses XMLHttp to fire postback action to server Postback events fire like normal on server Only content of updatepanel regions returned Changed updatepanel regions replaced on client

Postbacks & Triggers Postbacks & Triggers Postbacks All post-back actions for controls declared within an updatepanel control will cause Ajax-based post-backs with incremental page refresh Post-back action for controls outside of an updatepanel control will by default cause normal postbacks Triggers Can be used to associate UpdatePanels on the page with postback controls declared outside of the UpdatePanel <asp:ControlEventTrigger><asp:ControlValueTrigger>

UpdatePanel with Triggers Demo

Refresh Modes Refresh Modes Multiple UpdatePanel Controls can be added to a page Sometimes you only want to update one panel … UpdatePanel supports two update modes ‘Always’‘Conditional’ Conditional refreshes can be done via triggers <asp:ControlEventTrigger><asp:ControlValueTrigger> Conditional refreshes can also be triggered via code UpdatePanel1.Update()

Conditional UpdatePanel Demo

Control Control Delivers ability to provide ‘status’ UI while waiting on response from a server ‘Ajax’ is inherently Asynchronous Need to provide way for users to understand latency Need to provide way for users to cancel requests UpdateProgress control can be placed anywhere on page Templated control allows any content (e.g. animated.gif) Can use CSS to position/style anywhere

UpdateProgress Control Demo

Controls AutoCompleteExtender, DragOverlayExtender Controls AutoCompleteExtender, DragOverlayExtender Extend existing controls with behaviours AutoCompleteExtender Enables textbox auto-complete support Callback to Web Service on server for word list Supports both.asmx- and WCF-based Web Services (both using the built-in Atlas JSON bridge) DragOverlayExtender Enables dragging a control to a new location Other ‘extender’ controls planned Watermark, popup, drag/drop, masked edit, date-time picker, tool tips, etc

AutoCompleteExtender DragOverlayExtender Demo

Web Parts March refresh added WebPart FireFox Support Enables drag/drop support within FireFox (very commonly requested feature with ASP.NET 2.0) Future Atlas refresh enables individual web- parts to be refreshed independently as update- panels

Web Parts Demo

Client-Centric Programming Model Browser Presentation(HTML/CSS)Presentation(HTML/CSS) ‘Atlas’ServiceProxies‘Atlas’ServiceProxies UI Behaviour (Script) (Script) ASP.NET Application Services Page Framework, Server Controls Page Framework, Server Controls ASP.NET Application PagesPages WebServicesWebServices Atlas Script Framework Client Application Services Component/UI Framework, Controls Component/UI Framework, Controls Initial Rendering (UI + Behaviour) Data

Atlas Client Script Library Easily develop rich interactive web applications Application UI runs in browser, business logic runs on server HTML/Atlas client accesses data and services from the web Scenarios Mash-up applications Composite applications, sites and gadgets (e.g. Live.com) Powerful UI framework and component model for browsers Declarative markup and component model Rich client-side data access and data-binding Easily integrated with server application model Easily consume any Web Service (ASMX, Indigo) from browser Proxy generation, serialisation to consume.NET objects in script Script access to ASP.NET application services Server-side bridge to reuse 3 rd party services

Atlas Client Script Library Controls and Components Script Core Base Class Library Component Model and UI Framework Component Model and UI Framework Browser Compatibility Script core runtime: a rich type system for JScript Classes, namespaces, inheritance, interfaces Event handlers Object serialisation Base class library and networking services Helper classes for developers (subset of.NET BCL) Management of asynchronous network operations Component model and UI framework Declarative scripting (Atlas XML script definitions) Extensible component and control model Data binding, presentation and validation Atlas components for common scenarios – examples: ListView and DataView for rendering templated data UI behaviours such as drag and drop, tooltips, auto- completion Compatibility layer for browsers and platforms Support for IE, Firefox/Mozilla, Safari

Network Callbacks from Script Atlas provides easy mechanism for script callbacks Can call a Web Service end point on server Can call a page method end point on server Atlas provides JSON network serialisation support JSON = JavaScript Object Notation JSON support for auto-serialization of.NET types e.g. return an array of ‘Customer’ objects Advanced network manager features supported Priorities and queuing on network calls Batch invocation of multiple calls in single network request

Client Network Callbacks with Atlas and JavaScript Demo

Atlas Component and Behaviours Components – eg TextBox, Label, Hyperlink … Behaviours – PopupBehavior, HoverBehavior, ClickBehavior … Atlas provides client JavaScript control + component model Enables control behaviour to be associated with html Provides clean OO encapsulation model + control re-use Avoid having to write one-off JavaScript UI repeatedly Atlas enables clean developer/designer workflow UI defined using standard XHTML w/ CSS Control behaviours defined and attached separate from html Atlas controls can be declared procedurally + declaratively XML declarative markup useful for tool support Advanced Atlas Client Control Features: Bi-Directional Databinding, Transformers, Validation

Client-Side Atlas Component Controls Demo

Data Binding and Templates Atlas enables declarative databinding and template customisation on the client Designers can edit the HTML and use CSS to define a html template for an Atlas Control to populate at runtime Developers can use the new Atlas ListView client control to bind data (either one or two way) against the html template

Client-Side Atlas ListView Control Demo

Mashup Support Atlas provides the ability to define service bridges Allow client script to call to local server Local server then proxies request to service Avoids cross-domain script call-back issues No security prompts for the browser Avoids having to publish service keys Examples: Amazon, FlickR, Virtual Earth, Google Maps, etc Helps make writing mashups easy

Gadget Support Gadgets are a new Ajax extensibility model Supported by Supported by new Windows Sidebar Gadgets enable re-usable functionality to be published and shared at no cost to developer/publisher Atlas enables developers to develop gadgets hosted on their servers, and for end-users to add the gadgets into their homepage or Windows Sidebar Provides more touch with customers and opens up interesting new business model opportunities for developers and websites

Nugget Viewer Application Scenario

Summary Atlas provides a rich Ajax programming framework Rich built-in integration with ASP.NET Server Controls Web and Application Services Rich client-side JavaScript framework model Build rich mashups and gadgets Rich extensibility model for component developers

Further Information Everything you need is at Scott Guthrie’s Blog

© 2006 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.