Desert Code Camp Ajax Enabling a Web site using AjaxPro.NET Joseph Guadagno

Slides:



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

Project 1 Introduction to HTML.
6/3/2015eBiquity1 Tutorial on AJAX Anubhav Kale (akale1 AT cs DOT umbc DOT edu)
Beginning Web Site Creation: Dreamweaver CS4.  WK1 & WK2  File Management  BlackBoard  SWS  Planning, Design, and HTML review  WK3 & WK4  Dreamweaver.
AJAX Presented by: Dickson Fu Dimas Ariawan Niels Andreassen Ryan Dial Jordan Nielson CMPUT 410 University of Alberta 2006.
1 Cleaning up the Internet Using AJAX, SOAP and Comet CS526 Mike Gerschefske Justin Gray James Yoo 02 May 2006.
Does Ajax suck? CS575 Spring 2007 Chanwit Suebsureekul.
5/3/2006 Mike/Justin/JYoo AJAX/SOAP/Comet 1 Cleaning up the Internet Using AJAX, SOAP and Comet CS526 Mike Gerschefske Justin Gray James Yoo 02 May 2006.
1 JavaScript & AJAX CS , Spring JavaScript.
1st Project Introduction to HTML.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Writing All Your Code In OpenEdge Architect Peter van Dam.
AJAX Chat Analysis and Design Rui Zhao CS SPG UCCS.
1 Ajax. 2 What’s Ajax? AJAX is a combination of a few technologies that has come together in the past few years AJAX used to be an acronym for Asynchronous.
CS 4720 RESTfulness and AJAX CS 4720 – Web & Mobile Systems.
May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Build Great Web Application 'Fast and Easy'
Ruth Betcher Ruth Christie
Mobile App Support Jacob Poirier Geri Hengesbach Andrea Menke Erin Rossell.
Lecture 12 – AJAX SFDV3011 – Advanced Web Development Reference: 1.
Step Outside the Box – Part II ColdFusion and Ajax.
AJAX By Steven Hernandez Research Analyst NIATEC.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
 2008 Pearson Education, Inc. All rights reserved Ajax-Enabled Rich Internet Applications.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
XP New Perspectives on XML, 2 nd Edition Tutorial 10 1 WORKING WITH THE DOCUMENT OBJECT MODEL TUTORIAL 10.
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
06/10/2015AJAX 1. 2 Introduction All material from AJAX – what is it? Traditional web pages and operation Examples of AJAX use Creating.
Instructor, Dr. Khalili Bahram Jeevan Kumar Gogineni.
Weekend MS CS Program Internet and Web Technologies COT 5930 Web Project Development - Ajax Dr. Roy Levow, Associate Chair & Professor
Random Logic l Forum.NET l AJAX Behind the buzz word Forum.NET ● January 23, 2006.
Ventsislav Popov Crossroad Ltd.. 1. What is AJAX?  AJAX Concept  ASP.NET AJAX Framework 2. ASP.NET AJAX Server Controls  ScriptManager, UpdatePanel.
Building Rich Web Applications with Ajax Linda Dailey Paulson IEEE – Computer, October 05 (Vol.38, No.10) Presented by Jingming Zhang.
Telerik Software Academy ASP.NET Web Forms Telerik Software Academy ASP.NET Web Forms.
Ajax. –Asynchronous JavaScript and XML –Umbrella term for technologies that often: Use client-side scripting for layout and formatting Use less than full.
Asynchronous Javascript And XML AJAX : an introduction UFCEUS-20-2 : Web Programming.
School of Computing and Information Systems CS 371 Web Application Programming AJAX.
INNOV-7: Building a Richer UI for the Browser Chris Skeldon Senior Solution Consultant.
the acronym for Asynchronous JavaScript and XML.
Ajax for Dynamic Web Development Gregory McChesney.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
 AJAX – Asynchronous JavaScript and XML  Ajax is used to develop fast dynamic web applications  Allows web pages to be updated asynchronously by transferring.
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157.
Ajax and the GWT. Ajax  Asynchronous JavaScript And XML  Technology behind interactive web sites  Provide smoother experience than conventional web.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
Dave Salinas. What is XML? XML stands for eXtensible Markup Language Markup language, like HTML HTML was designed to display data, whereas XML was designed.
AJAX Use Cases for WSRP Subbu Allamaraju BEA Systems Inc WSRP F2F Meeting, May 2006.
JavaScript & Introduction to AJAX
AJAX AJAX Asynchronous JavaScript and XML --- MADHAVI
Introduction to the World Wide Web & Internet CIS 101.
AJAX – Asynchronous JavaScript And XML By Kranthi Kiran Nuthi CIS 764 Kansas State University.
INNOV-2: Build a Better Web Interface Using AJAX Chris Morgan Pandora Software Systems
AJAX CS456 Fall Examples Where is AJAX used? Why do we care?
JQUERY AND AJAX
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
National College of Science & Information Technology.
JavaScript and Ajax (Ajax Tutorial)
Chapter 1 Introduction to HTML.
Working with Client-Side Scripting
Subbu Allamaraju BEA Systems Inc
Project 1 Introduction to HTML.
By Gary Mandela December 26, 2006
AJAX.
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
Introduction to AJAX MIS 3502 Jeremy Shafer Department of MIS
COP 3813 Intro to Internet Computing
A Beginners Session to Ajax
AJAX CS-422 Dick Steflik.
Presentation transcript:

Desert Code Camp Ajax Enabling a Web site using AjaxPro.NET Joseph Guadagno

Requirements ASP 1.1 C# VB.NET (possibly) JavaScript DHTML AjaxPro.NET Library (

What will be covered What is Ajax? XMLHttpRequest Object Dynamic HTML (DHTML) Creating the dynamic web site

Quick Comments I tried to make the demos somewhat useful. The demos build upon each other. The UI is not the best but pretty good. There is probably a better way to do some of the JavaScript functions I will not cover the business objects created (unless asked)

What is Ajax Asynchronous JavaScript and XML (AJAX) is not a technology in itself, but is a term that describes a "new" approach to using a number of existing technologies together, including: HTML or XHTML, Cascading Style Sheets, JavaScript, The Document Object Model, XML, XSLT, and the XMLHttpRequest object. When these technologies are combined in the AJAX model, web applications are able to make quick, incremental updates to the user interface without reloading the entire browser page. This makes the application faster and more responsive to user actions.

XMLHttpRequest A HTTP Response that returns an XML document. Reference Site ( ml)

Basic Steps Add the reference to AjaxPro.DLL Register the page for AjaxPro.NET –AjaxPro.Utility.RegisterTypeForAjax(typeof(Namespace.class)); Add the AjaxMethod attribute to the method –[AjaxPro.AjaxMethod()] Add the JavaScript function to call the method Optional – Create the call back function

JavaScript Functions Main Function function LoadList() { Namespace.Class.Method(param1, param2, function_callback); }

Callback Function //callback we told Ajax.Net to pass the response to function Function_CallBack(response) { //if the server side code threw an exception if (response.error != null) { DisplayError(response.error, "LoadEngagementTeams"); return; } var teams = response.value; //if the response wasn't what we expected if (teams == null || typeof(teams) != "object") { var Message = "An unexpected error happened retrieving the teams list"; DisplayError (Message, "LoadEngagementTeams"); } for (var i = 0; i < oTeamList.Rows.length; ++i) { oControl.options[oControl.options.length] = new Option(oTeamList.Rows[i].team, oTeamList.Rows[i].team); } hideIndicator(); }

Links Internet Explorer Developer Toolbar  BB3E-2D5E1DB91038&displaylang=en BB3E-2D5E1DB91038&displaylang=en Microsoft Developer’s Network ( Mozilla / Firefox Developers Center ( AjaxPro.NET Support Group ( ) Other Ajax – Google Groups Ajax World ( Ajax-Web-Technology ( technology)

Questions