﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Latest AjaxMatters.com Articles</title>
    <link>http://204.9.76.234/index.aspx</link>
    <description>SQL Server Performance</description>
    <item>
      <title>Handling Complex DataTypes using ASP.NET AJAX</title>
      <description>&lt;link rel="File-List" href="file:///C:%5CUsers%5Cjudo%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="themeData" href="file:///C:%5CUsers%5Cjudo%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"&gt;&lt;link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Cjudo%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;ZH-TW&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val="Cambria Math"/&gt;
   &lt;m:brkBin m:val="before"/&gt;
   &lt;m:brkBinSub m:val="--"/&gt;
   &lt;m:smallFrac m:val="off"/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val="0"/&gt;
   &lt;m:rMargin m:val="0"/&gt;
   &lt;m:defJc m:val="centerGroup"/&gt;
   &lt;m:wrapIndent m:val="1440"/&gt;
   &lt;m:intLim m:val="subSup"/&gt;
   &lt;m:naryLim m:val="undOvr"/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267"&gt;
  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;
  &lt;w:LsdException Locked="false" Priority="9"  ... &lt;a href='http://www.ajaxmatters.com/articles/asp/complex_data_types_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/asp/complex_data_types_p1.aspx</link>
    </item>
    <item>
      <title>The JDA Revolution </title>
      <description>&lt;B&gt;Synopsis: &lt;/B&gt;As the amount of logic implemented in javascript increases in response to demands in accessibility and client-side functionality, the opportunity for foot-shooting has increased exponentially. JDA is a nimble, kevlar-booted javascript message-passing kernel which manages communication between separate javascript modules and enforces that modularization. JDA stands for Javascript Dataflow Architecture. It is an open standard developed by MAYA Design Inc.&lt;BR&gt;&lt;BR&gt;
&lt;H3&gt;Benefits of Modularization&lt;BR&gt;&lt;/H3&gt;One would think that the Object Oriented revolution would have resulted in a sufficient modularization of software in itself, but recent years has seen the rise of several different types of "external" techniques to further separate parts of code from other parts, mostly for the sake of reuse, but also to release the programmers of the burden of tracking inter-connectivity of different parts of a system.&lt;BR&gt;&lt;BR&gt;In the Java world, we have Spring as a very good example. Spring has many features, but one of the most obvious is automated configuration and 'wiring' of loosely coupled objects. What does this mean? It means that you can write a java program as a couple of different objects that can use each other, and which can accept initialization data, but nothing explicit about initialization or connections to other objects is ever mentioned  ... &lt;a href='http://www.ajaxmatters.com/articles/gen/javascript_dataflow_architecture_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/gen/javascript_dataflow_architecture_p1.aspx</link>
    </item>
    <item>
      <title>Dealing with Long Running Processes in ASP.NET</title>
      <description>&lt;P&gt;&lt;STRONG class=textBoldBlue&gt;Introduction&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;. Whether we use Ajax or not, if it is a very long running process the browser may show a time-out error. &lt;BR&gt;In case of ASP.NET AJAX if we use a script manager then we also have to define the time-out for the request which can be difficult in the scenario where we cannot predict how long a process will take to execute.&lt;BR&gt;In this article we will discuss about this issue and how to use Ajax to handle long running process by using IAsyncResult and ICallbackEventHandler.&lt;/P&gt;
&lt;P&gt;Web applications are based on a client-server architecture, so when the client hits the server the server will reply. If a long process is running on the server, then we may need some mechanism to determine when the long process is over. The long process can also delay the execution of other processes. To handle this issue we will use IAsyncResult . Using this interface and delegates we will able to run asyncronous processes on server side and invoke one method on server side while continuing with other tasks; once first method is complete it will automatically call another server method so that we can update some parameters say VAR1 and VAR2. And using ICallback&amp;nbsp;  ... &lt;a href='http://www.ajaxmatters.com/articles/asp/long_run_process_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/asp/long_run_process_p1.aspx</link>
    </item>
    <item>
      <title>Update Multiple Page Elements Using The XMLHTTPRequest Object and JavaScript </title>
      <description>&lt;P&gt;In the development of Ajax application many times we will encounter following issues.&lt;/P&gt;
&lt;UL type=disc&gt;
&lt;LI&gt;The requiremnt to update multiple text boxes simultaneously.&lt;/LI&gt;
&lt;LI&gt;Fill more that one dropdown list.&lt;/LI&gt;
&lt;LI&gt;Update a combination of text boxes, dropdown lists and div tags.&lt;/LI&gt;
&lt;LI&gt;Call different web pages and different webservices at the same time.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;Imagine the case of a financial data site (such as a stock market info site) with various regions of the page used for displaying data any taking user inputs. We may want to populate fill numerous div tags, textboxes and dropdown lists with real time data. If we loop the several requests and we will also have to check for timeout, if timeout occurs and no data is returned, then we will have to fire the same request again. It may end up that we have made 10 requests and 4-5 requests simply timeout because of network problems. If we dont loop then we will either get whole data or nothing (in which case there is only one more request to be made).&lt;/P&gt;
&lt;P&gt;In this article we will discuss the XMLHTTPRequest object and JavaScript and develop a JavaScript class which can asychronously update multiple HTML elements. Also this class can be extended as per the requirements. I  ... &lt;a href='http://www.ajaxmatters.com/articles/asp/update_multiple_page_object_xmlhttprequest_javascript_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/asp/update_multiple_page_object_xmlhttprequest_javascript_p1.aspx</link>
    </item>
    <item>
      <title>Creating an AJAX-Enabled Grid using ICallbackEventHandler (Part 2)</title>
      <description>&lt;P&gt;&lt;BR&gt;In my previous article of &lt;A href="/articles/asp/ajax_grid_icallbackeventhandler_p1.aspx"&gt;Ajax enabled grid using ICallbackEventHandler&lt;/A&gt; I outline the creation of a grid with the following operations &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Sort the grid in ascending or in descending order by clicking on the arrows next to a column name.&lt;/LI&gt;
&lt;LI&gt;Change pages of the grid.&lt;/LI&gt;
&lt;LI&gt;Change page length of the grid. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;In this article we will discuss editing the grid with the principal goal of &lt;STRONG&gt;doubleclicking on a grid cell to enable editing of that cell then edit the content of the cell and finally update server side data without refreshing the page. &lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;The key advantages of this grid are as follows&lt;/P&gt;
&lt;UL type=disc&gt;
&lt;LI&gt;Data will be bind to grid only once, i.e. on page load.&lt;/LI&gt;
&lt;LI&gt;Only modified data goes to server to update the grid.&lt;BR&gt;&lt;BR&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;The basic UI will contain one Gridview and one update button. We will bind data to grid on page load. &lt;/P&gt;
&lt;OL type=1&gt;
&lt;LI&gt;Simply copy paste following code in the &amp;lt;form&amp;gt; tag of the page&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&amp;nbsp; &lt;SPAN class=textCode&gt;&amp;lt;div id="Gridview"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:GridView EnableViewState="false" runat="server" id="_grid" OnRowDataBound="_grid_RowDataBound"&amp;gt;&lt;BR&gt;&amp;lt;/asp:GridView&amp;gt;&lt;BR&gt;&amp;lt;span id ="ServerMsg"&amp;gt;&amp;lt;/span&amp;gt;&lt;BR&gt;&amp;lt;/div&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;br /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;input type=button value="Update" onclick="javascript: JSUpdateTable ();" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script language="javascript"&amp;gt;&lt;BR&gt;function UpdateGrid(args)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%= ClientScript.GetCallbackEventReference(this,"args", "ShowResult", null) %&amp;gt;;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;We have activated RowDataBound event of the grid.&lt;/P&gt;
&lt;OL type=1 start=2&gt;
&lt;LI&gt;We will maintain a datatable, so that we can avoid  ... &lt;a href='http://www.ajaxmatters.com/articles/asp/ajax_grid_part2_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/asp/ajax_grid_part2_p1.aspx</link>
    </item>
    <item>
      <title>Introduction to GWT Remote Procedure Calls (RPC)  (with example application)</title>
      <description>&lt;P class=TextBoldBlue&gt;Services in GWT&lt;/P&gt;
&lt;P&gt;Google Web Toolkit is a Web Application Framework dealing with Servers and Clients. When a Server is required to do some processing in a web-app Services must be used. A service is used to invoke server-side code from the client (and vice-versa occasionally). &lt;/P&gt;
&lt;P&gt;In GWT the Client side code pages run more like an application within the Client (Browser), so requesting the HTML pages from the Server is not necessary. But in common with all Server-Client Architectures, even GWT needs to contact the Server as they execute, this is carried out by Remote Procedure Calls (RPC). &lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;SPAN class=TextBoldBlue&gt;&lt;STRONG&gt;What is RPC?&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;RPC is a powerful technique for constructing distributed, client-server based applications. It is based on extending the notion of conventional or local procedure, so that the called procedure need not exist in the same address space as the calling procedure. GWT automatically generates most of the classes required for RPC.&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG height=458 src="http://www.ajaxmatters.com/images/rpc1.JPG" width=596&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=TextBoldBlue&gt;&lt;STRONG&gt;Services: Creation and Implementation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Before getting into RPC, we will have a look at relationships between various classes and interfaces that we are creating for a service. With GWT Framework classes we create certain classes and interfaces for THE RPC Service.&amp;nbsp;&lt;BR&gt;&lt;/P&gt;
&lt;UL type=DISC&gt;
&lt;LI&gt;&lt;STRONG&gt;Service:&lt;/STRONG&gt; This is our service definition  ... &lt;a href='http://www.ajaxmatters.com/articles/gwt/rpc_remote_procedure_calls_example_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/gwt/rpc_remote_procedure_calls_example_p1.aspx</link>
    </item>
    <item>
      <title>Creating an AJAX-Enabled Grid using ICallbackEventHandler (Part 1)</title>
      <description>&lt;P&gt;This article details the development of an AJAX-enabled grid using ICallbackEventHandler, with operations which include sorting, paging and page length change. I will work through the code in sequence, but it may help to download to the entire code sample &lt;A href="http://www.ajaxmatters.com/code/callback_grig.zip"&gt;here&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The basic features of the gird are as follows (All operations are asynchronous)&lt;/P&gt;
&lt;OL type=1&gt;
&lt;LI&gt;Sort in ascending or in descending order by clicking on the arrows next to column name. 
&lt;LI&gt;Change current page. 
&lt;LI&gt;Change page length.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;In this example we will use one of the most powerful features of ASP.Net - RenderControl.&lt;/P&gt;
&lt;P&gt;Using this method we are able to access the HTML of a control. To do this we will have to also use HtmlTextWriter and&amp;nbsp; StringWriter as follows&lt;/P&gt;
&lt;P&gt;e.g. &lt;/P&gt;
&lt;P class=textCode&gt;using (StringWriter sw = new StringWriter())&lt;/P&gt;
&lt;P class=textCode&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P class=textCode&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HtmlTextWriter htw = new HtmlTextWriter(sw);&lt;/P&gt;
&lt;P class=textCode&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _grid.RenderControl(htw);&lt;/P&gt;
&lt;P class=textCode&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; htw.Flush();&lt;/P&gt;
&lt;P class=textCode&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string result = sw.ToString();&lt;/P&gt;
&lt;P class=textCode&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;The &lt;EM&gt;result&lt;/EM&gt; string will contain the HTML format of the grid control. We will now convert the grid control to HTML after binding the data.&amp;nbsp;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;We will start by developing the UI and code in following steps:&lt;/P&gt;
&lt;OL type=1&gt;
&lt;LI&gt;Enter the following code in the &amp;lt;form&amp;gt; tag of the page to create a GridView and a Dropdownlist.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN class=textCode&gt;&amp;nbsp;&amp;lt;div id="Gridview" &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=textCode&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:GridView  ... &lt;a href='http://www.ajaxmatters.com/articles/asp/ajax_grid_icallbackeventhandler_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/asp/ajax_grid_icallbackeventhandler_p1.aspx</link>
    </item>
    <item>
      <title>Getting started with AJAX using PHP : Tutorial</title>
      <description>&lt;P&gt;AJAX stands for Asynchronous JavaScript And XML. Any server side technology that supports JavaScript also supports AJAX. AJAX is a browser technology, and is therefore independent of web server platforms. &lt;/P&gt;
&lt;P&gt;In this article we will learn about what AJAX is, how it works, and how can we use AJAX with PHP. Please remember, AJAX is not a programming language, so you don’t have to learn any new technology. AJAX can be implemented by using existing standards (JavaScript and XML) in a different way. &lt;BR&gt;&lt;BR&gt;If we are using PHP or any server side technology and need to extract data from storage on a server (eg a database or a file), we will have to make an HTTP request (either POST or GET) to get the data. Once the data is received the the web page will need to be reloaded to show the data. Using AJAX technology we can request and receive the data from server in background and then display it on the page without a reload. AJAX uses HTTP requests for this. With AJAX, JavaScript communicates directly with the server, through the JavaScript XMLHttpRequest object (XML over HTTP). With an HTTP request, a web page can make a request to,  ... &lt;a href='http://www.ajaxmatters.com/articles/php/ajax_php_tutorial_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/php/ajax_php_tutorial_p1.aspx</link>
    </item>
    <item>
      <title>Using ICALLBACKEventHandler in ASP.NET</title>
      <description>&lt;P&gt;&lt;STRONG class=textBoldBlue&gt;About ICallbackEventHandler:&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;ASP.NET 2.0 introduced an interface named ICallbackEventHandler (System.Web.UI.ICallbackEventHandler) to allow asynchronous communication with the server. Unlike Postback, in Callback only user defined information is sent to the server. Instead of using Postback to post the page, ICallbackEventHandler uses the DoCallback event to send user defined data to server, and return a String to client; on the client-side JavaScript can then manipulate the string. In total we have to use four functions for the implementating ICallbackEventHandler; two client side functions (in javascript) and two server side functions (C# in this case).&lt;BR&gt;&lt;BR&gt;&lt;STRONG class=textBoldBlue&gt;&lt;BR&gt;Use of ICallbackEventHandler:&lt;/STRONG&gt;&lt;BR&gt;&lt;BR&gt;To use ICallbackEventHandler, we will need to inherit it on the page or in a user control. The code will for this will be:&lt;/P&gt;
&lt;P class=textCode&gt;public partial class Default2 : System.Web.UI.Page,System.Web.UI.ICallbackEventHandler&lt;BR&gt;&lt;/P&gt;
&lt;P class=textCode&gt;As a result of inheriting from ICallbackEventHandler, we have to implement two functions, namely: &lt;/P&gt;
&lt;UL&gt;
&lt;LI class=textCode&gt;public void RaiseCallbackEvent(String eventArgument) 
&lt;LI class=textCode&gt;public String GetCallbackResult()&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;As name of the above two functions indicates, the first function gets called automatically whenever there is a CallbackEvent. After the first function the second function i.e. GetCallbackResult gets called and returns a string to the client&lt;/P&gt;
&lt;P&gt;So how to raise a CallbackEvent? For this we will have to use javascript. There will be two javascript  ... &lt;a href='http://www.ajaxmatters.com/articles/asp/icallback_intro_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/asp/icallback_intro_p1.aspx</link>
    </item>
    <item>
      <title>Introducing Asynchronous Java Script and XML (Ajax) in ASP.NET</title>
      <description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Tahoma"&gt;One of the most important challenges web application developers face is the requirement for a fast and responsive user interface.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:City&gt; was primary designed and developed with the intent of providing a fast and responsive user interface to address these challenges. According to Enrich Peterson, "AJAX-enabled pages provide a slick, responsive user experience, making web-based applications function more like desktop-based ones".&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Tahoma"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt; TEXT-ALIGN: justify"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Verdana','sans-serif'; mso-bidi-font-family: Tahoma"&gt;This article guides the reader through this new technology, its features, benefits and applicability in web application development. This is the first in the series of articles on Ajax (and more specifically ASP.NET AJAX). Although Ajax is independent of the technology with which it is implemented (you can implement Ajax enabled web applications using Java, Microsoft .NET or many other programming models), I will discuss implementation of Ajax in ASP.NET, how we can consume Web Services using AJAX, etc, in this series.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in  ... &lt;a href='http://www.ajaxmatters.com/articles/asp/intro_aspajax_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/asp/intro_aspajax_p1.aspx</link>
    </item>
    <item>
      <title>AjaxTags Tutorial (Part 2)</title>
      <description>&lt;P align=center&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P class=textBoldBlue&gt;Creating an Autocomplete Textbox&lt;/P&gt;
&lt;P&gt;One of the cool tags of AjaxTags is &lt;STRONG&gt;&lt;U&gt;ajax:autocomplete&lt;/U&gt;&lt;/STRONG&gt;. We will use this tag in this following JSP example.&lt;/P&gt;
&lt;P class=textCode&gt;&amp;lt;fieldset&amp;gt;&lt;BR&gt;&amp;lt;legend&amp;gt;ajax:autocomplete example&amp;lt;/legend&amp;gt;&lt;BR&gt;&amp;lt;form&amp;gt;&lt;BR&gt;&amp;lt;label for="country"&amp;gt;Country Name: &amp;lt;/label&amp;gt;&lt;BR&gt;&amp;lt;input type="text" name="country" id="country"/&amp;gt;&lt;BR&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;
&lt;P class=textCode&gt;&amp;lt;ajax:autocomplete&lt;BR&gt;source="country"&lt;BR&gt;target="country"&lt;BR&gt;baseUrl="country_list.view"&lt;BR&gt;parameters="country={country}"&lt;BR&gt;className="autocomplete"&lt;BR&gt;minimumCharacters="1"/&amp;gt;&lt;BR&gt;&amp;lt;/fieldset&amp;gt;&lt;/P&gt;
&lt;P&gt;Our objective here is to make an autocomplete for the textbox country. We have a Servlet which will return a list of country names that starts with the value of country textbox. &lt;BR&gt;This tag must appear after the form tag. Attribute source is the id of the input textbox. Attribute target is the id of the target textbox; target may be same as source or different than source. Attribute baseUrl specifies the server side code. One important attribute for ajax:autocomplete is minimumCharacters, it specifies character count after which AjaxTags will request for country_list.view with country name as a parameter.&lt;/P&gt;
&lt;P class=textCode&gt;.autocomplete {&lt;BR&gt;position: absolute;&lt;BR&gt;color: #333333;&lt;BR&gt;background-color: #ffffff;&lt;BR&gt;border: 1px solid #666666;&lt;BR&gt;font-family: Arial;&lt;BR&gt;overflow: hidden;&lt;BR&gt;}&lt;/P&gt;
&lt;P&gt;This is a sample style sheets entry for ajax:autocomplete.&lt;/P&gt;
&lt;P&gt;Now we need to create the server response for this tag. Sample response would be like following. Assuming we entered ‘A’ in country textbox.&lt;/P&gt;
&lt;P class=textCode&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR&gt;&amp;lt;ajax-response&amp;gt;&lt;BR&gt;&amp;lt;response&amp;gt;&lt;BR&gt;&amp;lt;item&amp;gt;&lt;BR&gt;&amp;lt;name&amp;gt;America&amp;lt;/name&amp;gt;&lt;BR&gt;&amp;lt;value&amp;gt;America&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;lt;/item&amp;gt;&lt;BR&gt;&amp;lt;item&amp;gt;&lt;BR&gt;&amp;lt;name&amp;gt;Angola&amp;lt;/name&amp;gt;&lt;BR&gt;&amp;lt;value&amp;gt;Angola&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;lt;/item&amp;gt;&lt;BR&gt;&amp;lt;item&amp;gt;&lt;BR&gt;&amp;lt;name&amp;gt;Austria&amp;lt;/name&amp;gt;&lt;BR&gt;&amp;lt;value&amp;gt;Austria&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;lt;/item&amp;gt;&lt;BR&gt;&amp;lt;item&amp;gt;&lt;BR&gt;&amp;lt;name&amp;gt;Australia&amp;lt;/name&amp;gt;&lt;BR&gt;&amp;lt;value&amp;gt;Australia&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;lt;/item&amp;gt;&lt;BR&gt;&amp;lt;/response&amp;gt;&lt;BR&gt;&amp;lt;/ajax-response&amp;gt;&lt;/P&gt;
&lt;P&gt;In Part I, I discussed AjaxTags helper classes. First we need to add following import statements in your Servlet code.&lt;/P&gt;
&lt;P class=textCode&gt;import org.ajaxtags.helpers.*;&lt;BR&gt;import org.ajaxtags.servlets.*; &lt;/P&gt;
&lt;P&gt;Next you need to  ... &lt;a href='http://www.ajaxmatters.com/articles/gen/ajaxtags_2_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/gen/ajaxtags_2_p1.aspx</link>
    </item>
    <item>
      <title>AjaxTags Tutorial (Part 1)</title>
      <description>&lt;P class=textBoldBlue&gt;AjaxTags Part-1&lt;/P&gt;
&lt;P&gt;In my previous articles, Using Ajax with PHP and Using Ajax with Java Technologies, I tried to discuss the JavaScript code segment required for sending Asynchronous HTTP requests and getting responses. AjaxTags is an open source project that provides JSP tags for developing Ajax based web applications in Java technologies without adding JavaScript codes in your JSP pages. In short, AjaxTags is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (AJAX) technology in Java Server Pages. &lt;/P&gt;
&lt;P class=textBoldBlue&gt;Installing AjaxTags:&lt;/P&gt;
&lt;P&gt;In this article we will try to use AjaxTags in JSP pages, but first we need to install AjaxTags.&lt;BR&gt;To use the tag library, you'll need the following:&lt;BR&gt;1. JDK 1.5+&lt;BR&gt;2. Servlet container running Servlets 2.3+ and JSP 1.0+: I’ll use Tomcat server.&lt;BR&gt;3. Download and copy Prototype (prototype.js) from http://www.prototypejs.org/assets/2007/6/20/prototype.js , currently AjaxTags depends upon version 1.5.0&lt;BR&gt;4. Download and copy Scriptaculous library from http://script.aculo.us/dist/scriptaculous-js-1.7.0.zip , currently AjaxTags depends upon version 1.7.0&lt;BR&gt;5. Download and copy OverLIBMWS library from http://www.macridesweb.com/oltest/overlibmws.zip&lt;/P&gt;
&lt;P&gt;Note: AjaxTags distribution also includes JavaScript files, CSS files and other libraries.&lt;/P&gt;
&lt;P&gt;After downloading the binary distribution of AjaxTags, you need to extract the compressed (.zip) file and copy the ajaxtags-1.3.jar in your WEB-INF/lib directory. This distribution also has a .tld  ... &lt;a href='http://www.ajaxmatters.com/articles/gen/ajaxtags_1_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/gen/ajaxtags_1_p1.aspx</link>
    </item>
    <item>
      <title>Introduction to the Dojo Toolkit : Tutorial</title>
      <description>&lt;P&gt;This article is geared towards people with some javascript knowledge, that might have used another ajax/js framework before, but now have a really pressing need to use some of the features found in dojo.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;So, what is it really?&lt;/B&gt;&lt;BR&gt;&lt;BR&gt;Dojo is quite a lot of things. It has a staggering amount of widgets, to begin with; Dialogs, Panes, Menus, WYSIWYG editors, Buttons, Color pickers, Clocks, Layout Managers and a host of other things- just in the widgets department. Then there's the very handy encryption package, handy for hashing things coming to and from the server-side, the Drag-n-Drop package which works with nearly any element on the page, the essential Collections API with Java-like iterators and whatnot, and of course the powerful&amp;nbsp; proper Ajax functionality with several bells and whistles of its own.&lt;BR&gt;&lt;BR&gt;Apart from the sheer amount of functionality available in dojo, there are a few architectural differences compared to most other frameworks; Dojo uses namespaces. This means that dojo always includes the package names in an object reference. If I want use the very nice for-each loop function, for instance, I have to refer to is like this; "dojo.lang.forEach(listOfThings, myFunc);", instead of just "forEach(listOfThings, myFunc);".&lt;BR&gt;&lt;BR&gt;It seems to be a lot of trouble and  ... &lt;a href='http://www.ajaxmatters.com/articles/dojo/intro_tutorial_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/dojo/intro_tutorial_p1.aspx</link>
    </item>
    <item>
      <title>Getting Started with AJAX using Java : Tutorial</title>
      <description>&lt;P&gt;We learnt how AJAX works in previous articles; now we want to explore some techniques for using AJAX with Java technologies such as Java Server Pages (JSP), Java Server Faces (JSF) and others.&lt;/P&gt;
&lt;P&gt;The most common way of using AJAX with Java technologies is to use JavaScript. You need to have AJAX functions, such as, creating an XMLHttpRequest object for your browser, then using the object requests for a JSP page or Servlet (in general, for an URL), get the response and use it in your JSP web pages. For this, what I usually do is, I create a JavaScript file with all these functions and include this .js file in my web pages using a &amp;lt;script&amp;gt; tag, and use the functions mentioned there. This is a very common technique of using AJAX with JSP, and this is almost the same for PHP. The following example will clear the concept more.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt; We need to get the server date time from a JSP page using AJAX.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt; First we will create a JSP web page that will output server data time like the one below.&lt;/P&gt;
&lt;P class=textCode&gt;&amp;lt;%=new java.util.Date()%&amp;gt;&lt;/P&gt;
&lt;P&gt;Save the above line of code as index.jsp. The output will be as follows.&lt;/P&gt;
&lt;P&gt;&lt;IMG height=258 src="http://www.ajaxmatters.com/images/java_ajax_intro1.jpg" width=501&gt;&lt;/P&gt;
&lt;P&gt;Now create  ... &lt;a href='http://www.ajaxmatters.com/articles/java/intro_ajax_java_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/java/intro_ajax_java_p1.aspx</link>
    </item>
    <item>
      <title>Getting Started with Google Web Toolkit Tutorial</title>
      <description>&lt;P&gt;&lt;SPAN class=textBoldBlue&gt;Building AJAX applications using Frameworks: &lt;/SPAN&gt;&lt;BR&gt;Any developer will typically create his Ajax application by writing XHTML pages and JavaScript code with his favorite integrated development environment (IDE) or even text editors. A number of different libraries and frameworks exist which allow programmers to use pre-designed JavaScript classes to implement otherwise time-consuming dynamic behaviors, such as drag-and-drop or sophisticated visual tree structures. Many are designed for developers who are already fairly well advanced in their JavaScript knowledge.&lt;BR&gt;These simple methods are changing as powerful tools proliferate for Ajax developers. The GWT takes a different approach to Ajax than most toolkits.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=textBoldBlue&gt;The Google Web Toolkit's Approach to Ajax:&lt;/SPAN&gt;&lt;BR&gt;Using the GWT framework, you can design and program your user interface using only the Java language. You then use the GWT's command-line tools to check the syntax of the Java classes, and finally automatically generate the JavaScript for the application's client-side. The design of the user interface is very similar to using Java's Swing API.&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=textBoldBlue&gt;Google Web Toolkit – An Overview&lt;/SPAN&gt;&lt;BR&gt;Google Web Toolkit (GWT) is an open source Java development framework that lets you escape the matrix of technologies that make writing AJAX applications so difficult and error prone. With GWT, you can develop and  ... &lt;a href='http://www.ajaxmatters.com/articles/gwt/gwt_get_started_p1.aspx' target='_blank'&gt;[Read Full Article]&lt;/a&gt;</description>
      <link>http://204.9.76.234/articles/gwt/gwt_get_started_p1.aspx</link>
    </item>
  </channel>
</rss>