Stephen Walther, SuperExpert, pointed to a new Ajax framework released for Microsoft .NET named Lollygag. Microsoft Atlas was the original code name for Microsoft's Ajax technologies. The official name for Atlas is now Microsoft ASP.NET AJAX. Since Microsoft is releasing its own framework for Ajax, you might be wondering why the world needs Lollygag. The brief answer is that Atlas has many fundamental problems that Lollygag avoids. The purpose of this article is to explain why Lollygag is a better framework than Atlas:
- Lollygag requires far less code to do the same work
- Lollygag has a more intuitive widget framework
- Lollygag has an easier method for retrieving and displaying database data
- Lollygag has a more secure method of validating form fields
The web is undergoing a dramatic transformation. Developers are embracing Ajax frameworks since Ajax enable developers to build applications with richer, more responsive user interfaces. Ajax applications also have the potential of performing much better than server-side applications since less content needs to be transmitted between the server and the client.
Lollygag is a better framework for building Ajax applications than Atlas. Lollygag includes a more intuitive widget framework, makes it easier to retrieve and use templates with database data, and enables you to perform secure form validation.
<%@ page language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Hello World</title> </head> <body> <form id="form1" runat="server"> <div> <asp:scriptmanager id="ScriptManager1" runat="server"> <scripts> <asp:scriptreference assembly="Microsoft.Web.Preview" name="Microsoft.Web.Resources.ScriptLibrary.PreviewScript.js" /> </scripts> </asp:scriptmanager> <div id="pnlContents"></div> <input id="btn" type="button" value="Click Here!" /> <script type="text/xml-script"> <page xmlns:script="http://schemas.microsoft.com/xml-script/2005"> <components> <label id="pnlContents" /> <button id="btn"> <click> <setpropertyaction target="pnlContents" property="text" value="Hello!" /> </click> </button> </components> </page> </script> </div> </form> </body> </html>