Current Popular IT I Pertemuan 4 Matakuliah: T0403/Current Popular IT I Tahun: 2008.

Slides:



Advertisements
Similar presentations
Best Practices on ASP.NET AJAX Bill Xie Jan 30, CSU Fullerton SoCal Code Camp.
Advertisements

Module 1: Creating Responsive Pages with Ajax Creating Partial-Page Updates by Using AJAX Scripting Actions on the Web Client.
AJAX Development By Gary Mandela December 26,
Other Web Application Development Technologies. PHP.
ASP.NET Ajax Supplementary Tutorial. Why Use ASP.NET AJAX? - I ASP.NET AJAX enables you to build rich Web applications that have many advantages over.
Current Popular IT I Pertemuan 10 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Current Popular IT I Pertemuan 8 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Current Popular IT I Pertemuan 13 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Current Popular IT I Pertemuan 12 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
LH SharePoint SIG - Custom Actions. Custom Actions A custom action represents a Server ribbon, menu, or link customization that a user can see. Custom.
Current Popular IT I Pertemuan 6 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
Current Popular IT I Pertemuan 3 Matakuliah: T0403/Current Popular IT I Tahun: 2008.
AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
By Gyan Deo Singh Building Rich Web UI with the Microsoft AJAX Library, Extensions, and Toolkit.
© 2007 IBM Corporation IBM Emerging Technologies Enabling an Accessible Web 2.0 Becky Gibson Web Accessibility Architect.
Google Web Toolkit Dudeanu Ermoghen Ib ă nescu Diana Melinte Laurenţiu-Ionuţ Petrişor Ionuţ C ă t ă lin.
Microsoft ASP.NET AJAX - AJAX as it has to be Presented by : Rana Vijayasimha Nalla CSCE Grad Student.
1 JavaScript & AJAX CS , Spring JavaScript.
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
ICS 665 Jesse Abdul. jQuery UI Overview  jQuery UI javascript library Includes all UI component functionality  jQuery UI CSS framework Includes standard.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Simon Amrein Consultant Trivadis AG What is ASP.NET 4.0 Ajax Ajax Control Toolkit Microsoft Ajax Content Delivery Network jQuery jQuery Client Templates.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
JavaScript & jQuery the missing manual Chapter 11
Philly.NET Hands-on Labs JAVASCRIPT SERIES. July 9: JavaScript Syntax Visual Studio ◦Projects ◦Editors ◦Debugging ◦Script blocks ◦Minification and bundling.
11/13/2007 A synchronous J avaScript A nd X ML Gloria Law Joshua Mahaz.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Yahoo! User Interface (YUI) Library Natly Mekdara.
Building a UI with Zen Pat McGibbon –Sales Engineer.
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.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Power ASP.NET AJAX Programming. Agenda Partial-page rendering –With UpdatePanel –Without UpdatePanel PageRequestManager Drag-and-drop user interfaces.
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
AJAX and Atlas in ASP.NET 2.0 William J. Steele MSDN Developer Evangelist Microsoft Corporation
Google Web Toolkit An Overview By Shauvik Roy Choudhary.
Web Applications meets Life Microsoft ASP.NET “Atlas” Saurabh Verma Chief Software Architect | The Perfect Future
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,
What’s New for Web Developers in ASP.NET and Visual Studio 2008 Kate Gregory Microsoft Regional Director
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Chapter 4: Working with ASP.NET Server Controls OUTLINE  What ASP.NET Server Controls are  How the ASP.NET run time processes the server controls on.
Building AJAX-Enabled Applications with ASP.NET AJAX Framework Peter Ty Developer Evangelist Microsoft Hong Kong
IT533 Lectures ASP.NET AJAX.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
1 CS 3870/CS 5870: Note 19 AJAX Prog8. Test 2 50 Points Thursday, Nov 12 2:00 PM – 4:00 PM Lab
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.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Name Title Microsoft Corporation
Ajax 101 for CF Programmers Randy Brown – Michigan State University
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
The Microsoft Technical Roadshow 2007 AJAX Development Mike Ormond Developer & Platform Group Microsoft Ltd
ASP.NET AJAX Fedorov Sergey, student of Computing Mathematic and Cybernetics faculty, software department, NNGU
Introducing the Microsoft® .NET Framework
Current Popular IT I Pertemuan 11
Current Popular IT I Pertemuan 5
 2009 Pearson Education, Inc. All rights reserved.
ASP.NET Forms.
ASP.NET AJAX – Basics Svetlin Nakov Telerik Corporation
Working with Client-Side Scripting
GeneXus 9.0: Web applications at their higher power
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
By Gary Mandela December 26, 2006
AJAX.
© 2016, Mike Murach & Associates, Inc.
ASP.NET Module Subtitle.
Choosing between Silverlight and AJAX
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
Presentation transcript:

Current Popular IT I Pertemuan 4 Matakuliah: T0403/Current Popular IT I Tahun: 2008

Learning Outcomes Learner can use Server-side ASP.NET AJAX Learner can use Client-side ASP.NET AJAX Learner can use ASP.NET AJAX Control Toolkit Bina Nusantara Copyright © Surya Sujarwo 2008

Material Outline Using Server-side ASP.NET AJAX Using Client-side ASP.NET AJAX ASP.NET AJAX Control Toolkit Integrating Client-Side Script ASP.NET AJAX Controls & Extenders Bina Nusantara Copyright © Surya Sujarwo 2008

Using Server-side ASP.NET AJAX Ajax Vision – Reduce full postback of ASP.NET – Google docs, suggest, gmail – An Ajax Application is a client-side web application written using native browser technologies such as JavaScript and DOM. – A pure Ajax application is a web application that consists of a single page and performs all its communications with the web server through web service calls. – In an Ajax application, the user interface layer is located in the browser (where it should be). The business logic and data access layers are located on the server. The user interface layer accesses the business logic layer through web services. Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) Server-Side Ajax versus Client-Side Ajax – Microsoft has both server-side Ajax framework and client-side Ajax framework. – Server-side Ajax framework is to provide existing ASP.NET developers with an easy way to implement Ajax functionality. – Client-side Ajax framework is to provide web developers with the tools they need to build pure client-side Ajax applications. – Advantages of server-side: provides existing ASP.NET developers with a painless method of doing Ajax. – Disadvantages of server-side: it doesn’t escape all the problems associated with a server-side framework. – Advantages of client-side: build very rich and responsive web applications. – Disadvantages of client-side: currently not fully baked. Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) Tools for Debugging Ajax Applications – Fiddler ( to inspect an Ajax request and response. – Firebug (firefox addon) to inspect DOM elements, and determine which CSS rules apply to which elements in a page. Using the UpdatePanel Controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) Simple AJAX Shopping List Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) Simple AJAX Shopping List (continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) UpdatePanel AsyncPostBackTrigger Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) Nested UpdatePanel Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) Programmatically Update UpdatePanel Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) UpdatePanels and JavaScript (continue…) – JavaScript Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) UpdatePanels and JavaScript (continue…) – UpdatePanels Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) UpdateProgress Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Server-side ASP.NET AJAX (Continue…) Timer Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX AJAX Client Library Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) AJAX Client Library (continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) JavaScript Intellisense Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) JavaScript Intellisense (continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Working with Classes Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Working with Inheritance Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Working with Inheritance (continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Working with namespace Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Retrieving DOM Elements Handling DOM Events Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Handling mouse event Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Calling Web Services Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Calling Web Services (continue…) Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

Using Client-side ASP.NET AJAX (Continue…) Calling Static Page Method Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008)

ASP.NET AJAX Control Toolkit Adding AJAX Control Toolkit: – Copy AjaxControlToolkit.dll assembly to bin folder of the website – Add an assembly reference – Add the Toolkit to the Toolbox A little of AJAX Control Toolkit Controls: – AutoComplete -> display suggesstions as user types text into a textbox – Calendar -> pop up calendar – CollapsiblePanel -> hide or display content contained in a Panel control – MaskedEdit -> forces user to enter a certain pattern of characters into a textbox control – ValidatorCallout -> a callout effect of validation controls Bina Nusantara References: ASP.NET 3.5 Unleashed (Stephen Walther, 2008), ASP.NET 3.5 For DUMMIES(Ken Cox, 2008)

ASP.NET AJAX Control Toolkit (Continue…) – AutoComplete Bina Nusantara References: AJAX Control Toolkit Example

ASP.NET AJAX Control Toolkit (Continue…) – Calendar Bina Nusantara References: AJAX Control Toolkit Example

ASP.NET AJAX Control Toolkit (Continue…) – CollapsiblePanel Bina Nusantara References: AJAX Control Toolkit Example

ASP.NET AJAX Control Toolkit (Continue…) – MaskedEdit Bina Nusantara References: AJAX Control Toolkit Example

ASP.NET AJAX Control Toolkit (Continue…) – ValidatorCallout Bina Nusantara References: AJAX Control Toolkit Example

Integrating Client-Side Script Handling client-side events Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

Integrating Client-Side Script (Continue…) Adding confirmation on form submit Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008)

ASP.NET AJAX Controls & Extenders Important ASP.NET AJAX Classes and Interfaces Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008) Base ClassDescription ExtenderControlThis is the abstract base class implemented when creating an ASP.NET AJAX extender control. This class inherits from Control and implements IExtenderControl. IExtenderControlImplement this interface to build an extender control that does not require a ScriptManager. The IExtenderControl interface registers the script libraries for a control by calling the GetScriptReferences() method, and it registers ScriptDescriptor objects by calling the GetScriptDescriptors(Control) method. IScriptControlImplement this interface to add ASP.NET AJAX support to a custom server control. The methods of the IScriptControl interface provide references to script libraries that define client components and script descriptors that represent instances of client types required to add script control functionality in an ASP.NET Server control. It’s found in the System.Web.UI namespace. ScriptControlThis is the abstract base class implemented when creating an ASP.NET server control that includes ASP.NET AJAX functionality. This class inherits from WebControl and implements IScriptControl. ScriptReferenceThis class registers an ECMAScript (JavaScript) file for use on a web page.

ASP.NET AJAX Controls & Extenders ASP.NET AJAX-Related Namespaces Bina Nusantara References: ProASP.NET 3.5 Server Controls and AJAX Components(Rob Cameron and Dale Michalk, 2008) NamespaceDescription System.Web.ConfigurationThis namespace is extended by ASP.NET AJAX to support declarative and programmatic access to ASP.NET AJAX configuration elements. Example classes are ScriptingJsonSerializationSection and ScriptingSectionGroup. System.Web.Script.SerializationThis namespace was added to ASP.NET to support JavaScript Object Notation (JSON) serialization as well as provide extensibility features to customize serialization. System.Web.Script.ServicesThis namespace was added to ASP.NET to provide attributes for customizing web service support in ASP.NET AJAX. Example classes are ScriptServiceAttribute and ScriptMethodAttribute. System.Web.UIThis namespace is extended by ASP.NET AJAX to provide classes and interfaces that enable client-server communication and rich UI. Example classes are ExtenderControl, ScriptControl, and UpdatePanel. System.Web.UI.DesignThis namespace is extended by ASP.NET AJAX to provide designtime support for Microsoft ASP.NET AJAX. Example classes are UpdatePanelDesigner, TimeDesigner, and UpdateProgressDesigner. System.Web.HandlersThis namespace is extended by ASP.NET AJAX to provide the necessary HTTP handler (ScriptResourceHandler) and HTTP module (ScriptModule) to support ASP.NET AJAX.

That’s All Thank You for the Attention Bina Nusantara