Free-Reprint Article Written by: Dan Lichtenfled See Terms of Reprint Below.
***************************************************************** * * This email is being delivered directly to members of the group: * * [email protected] * ***************************************************************** We have moved our TERMS OF REPRINT to the end of the article. Be certain to read our TERMS OF REPRINT and honor our TERMS OF REPRINT when you use this article. Thank you. This article has been distributed by: http://Article-Distribution.com Helpful Link: The Digital Millennium Copyright Act - Overview http://www.gseis.ucla.edu/iclp/dmca1.htm --------------------------------------------------------------------- Article Title: ============== On Server AJAX, A Paradigm Shift That Brings The AJAX Benefits To Enterprises Article Description: ==================== As more and more applications turn to the web as the de-facto deployment platform the need for tools and development patterns to support complex user interfaces will grow. AJAX is a key component of modern web applications and will continue to serve as the basis of many rich internet applications. Additional Article Information: =============================== 1560 Words; formatted to 65 Characters per Line Distribution Date and Time: 2007-11-29 12:12:00 Written By: Dan Lichtenfled Copyright: 2007 Contact Email: mailto:[EMAIL PROTECTED] For more free-reprint articles by Dan Lichtenfled, please visit: http://www.thePhantomWriters.com/recent/author/dan-lichtenfled.html ============================================= Special Notice For Publishers and Webmasters: ============================================= If you use this article on your website or in your ezine, We Want To Know About It. Use the following URL to let us know where you have used this article, and we will include a link to your website on thePhantomWriters.com: http://thephantomwriters.com/notify.php?id=5483&p=load HTML Copy-and-Paste and TEXT Copy-and-Paste Versions Of Article Are Available at: http://thePhantomWriters.com/free_content/db/l/on-server-ajax.shtml#get_code --------------------------------------------------------------------- On Server AJAX, A Paradigm Shift That Brings The AJAX Benefits To Enterprises Copyright (c) 2007 Dan Lichtenfled Visual WebGui http://www.visualwebgui.com Overview AJAX, a term coined by Jess e James Garret from Adaptive Path in 2005 has become a ubiquitous term for highly interactive and responsive web applications. The term itself implies the use of Javascript and asynchronous XML connections between the browser and the server in order to accomplish interactions that partially refresh data and components on the screen as opposed to the "full page refresh" of classic HTML. The evolution of the web closely resembles the evolution of desktop computing moving from the age of "dumb" terminals or the mainframe computing paradigm into the client server computing paradigm, into the new paradigm shift of On- Server AJAX computing. The AJAX hype had left enterprises behind with no adequate solutions for security concerns, cost of development, and needed complexities support. On-Server AJAX, offers revolutionary solutions to those concerns. Typical AJAX = Client Server Client side AJAX is similar to Client Server computing in that it shifts much of the application logic to the client. It enables savvy Javascript developers to develop applications which make the most of the browser and the computer they're running on, while freeing the server to focus on non UI tasks. Client side AJAX suggests that application flow and UI related logic be developed in DHTML and Javascript all connecting with server side "services" which can communicate as XML web services , plain text or JSON (JavaScript Object Notation). The trend towards AJAX has not passed over enterprises and line of business applications. Developers are constantly trying to cope with ever growing demands while improving the overall user experience. However, AJAX has brought on new challenges when used in the enterprise.: securing direct connections between the client and server "services" is problematic; needing to master both client sides (Javascript, DHTML) and server-side technologies is a burden and ensuring consistent performance regardless of bandwidth and desktop computing power is impossible. On Server AJAX = On Server computing The On-Server AJAX paradigm shift is lead by Visual WebGui. The approach, coined by Guy Peled as "On- Server AJAX", means the entire application flow, UI logic and validations are developed and processed on the server while the browser serves as a "display" for the output and a "receptor" for user input. As with Server based computing, On- Server AJAX simply reflects the "screens" to the client, captures user input from the client and reflects the incremental changes back to the client all over a highly optimized communications channel. In the case of On- Server AJAX there is no need to consider the "screen" as purely a graphical representation of the application a bitmap, but rather it can be considered as a series of related components which change according to the application logic. In effect this is similar to how X-Windows communicates changes to X-Terminals by transferring component changes between the client "host" and the server's state. On-Server AJAX, opens the path for enterprises to enjoy the AJAX evolution benefits Server based computing platforms such as Citrix and Windows Terminal Services have grown in popularity as a result of no alternatives means of supporting heavy deployments of client-server line of business applications over web. Their costs are accordingly. On-Server AJAX paradigm shift allows for the first time, to support deployments of complex AJAX line of business applications in unprecedented simplicity, by-design security, no-limit complexities all at dramatically reduced costs. Eliminating the security hazard, facilitating enterprises usage Client side AJAX requires the browser to connect directly to a web service or even a raw data provider. Since this is a very dangerous practice, developers usually connect to a proxy application service which understands the "context" of the request by recalling session state. There are numerous articles discussing the security challenges presented by client side AJAX. For consumer internet sites, the improved user experience has usually overridden the security concerns. However, for enterprise applications this is still a key concern. On-Server AJAX utilizes a client side "rendering" engine which communicates with the server over XMLHttp. The rendering engine uses a proprietary protocol to incrementally update the view. The client never consumes data or services directly since all of the application logic, UI logic and data access is handled on the server. The client simply connects to the "view" on the server and therefore never compromises security. Furthermore, since a proprietary protocol is used to correlate view state between the server and the client, it's a greater challenge to override, eavesdrop or hack. In addition in On -Server AJAX, the only data that is delivered to the client is data that can be viewed on the client meaning there is never any sensitive data that may be required for logic or validation beyond what is rendered and seen by the user on the screen. Developer Productivity in building complex enterprise level GUIs, as never before While AJAX has brought a significant improvement in user experience and application complexity, it has also brought about a dramatic increase in the complexity of development and testing. Furthermore it requires developers to a number of different languages: Javascript, HTML, CSS and XML on the client as well as the server side language being used to develop the underlying business logic. A complex web application such as Microsoft Outlook Web Access or Salesforce.com also requires serious architecting skills in order to maintain application state, security and data integrity between local cached data and server side data. While historical, page based web applications were deemed easier and cheaper to develop then their desktop counterparts, developing a complex client based AJAX web application is harder and more expensive to develop then an equivalent client-server application. On-Server AJAX paradigm shift enables the developer to use a single language and programming model in order to design the application UI and the underlying logic. In addition it alleviates the need to understand and deal with the web's innate statelessness. Instead On-Server AJAX offers the use of well known design patterns and tools such as WinForms to design and develop highly interactive, data rich applications with the same productivity of desktop applications. Simplifying the architecture from a loosely coupled, stateless, multi-language/technology into a tightly coupled, object oriented, single language environment means less time is spent on architecture, development, debugging and maintenance ultimately improving ROI and TCO. In addition the layout and interaction design are not as limiting as most web oriented application development platforms. On-Server AJAX developers also enjoy re-use of well honed skills (WinForms) and existing code which further improves productivity. For technological Gurus opinion on On-Server AJAX productivity see: MS MVP RICK STRAHNL on his blog: "Visual WebGui is intriguing. It's ridiculous how productive you can be with a tool like this compared to building an ASPX page. But somehow it feels like cheating...". http://west-wind.com/weblog/posts/180727.aspx MVP ROY OSHOROVE on his blog:" "...Visual WebGui can help change the web development world and make it more usable, reachable and easier than ever..." http://weblogs.asp.net/rosherove/archive/2007/07/28/visual-web-gu i-helps-me-write-in-winform-and-run-as-asp-net.aspx Highly optimized performance (purely desktop's) and user experience Client side AJAX is meant to improve the responsiveness of the client. In most cases the user experience is improved, however it can have a dramatic effect on server load. Frameworks send across hundreds of lines of Javascript code over and over between requests, necessitating heavy I/O on the host web server generating a "large" bandwidth profile. Client side AJAX frameworks rely on the processing power of the client to handle caching, serialization, validation and paging. Performance varies according to the available resources on the client. Lower memory and slower CPUs could have an adverse effect on the user experience. On- Server AJAX only need to transfer the rendering engine code once and then transfer state and data changes as required. Ultimately they require more client/server round trips; however their bandwidth profile is kept at a minimum. This results in a highly responsive application which utilizes fewer resources by the server enabling it to handle more concurrent users. In On-Server AJAX the client only handles rendering of the current view state. This means that less client side objects and data need to be processed on the client (for rendering purposes) resulting in less client side resources being required. Ultimately this ensures all users receive uniform performance regardless of their memory and CPU limitations. MS MVP WIKTOR ZYCHLA on his blog: ' VWG is the undoubted winner it did a great job of serving the highest number of requests per second" http://netpl.blogspot.com/2007/06/aspnet-ajax-framework-contest.h tml Summary As more and more applications turn to the web as the de-facto deployment platform the need for tools and development patterns to support complex user interfaces will grow. AJAX is a key component of modern web applications and will continue to serve as the basis of many rich internet applications. AJAX is just a term, there are numerous AJAX technologies and techniques available and not all are created equal. As a whole, On-Server AJAX paradigm shift led by Visual WebGui provides a better way to design and develop complex, secure, robust applications in an effective and familiar fashion. For samples of applications built on On-Server AJAX see: http://www.visualwebgui.com/Community/Forum/tabid/53/forumid/-1/t hreadid/5247/scope/posts/Default.aspx Bibliography: "Cognitive Load and the Superiority of Server-Side Ajax GUI Frameworks" - http://blogs.pathf.com/agileajax/2006/08/cognitive_load_.html "Attacking AJAX Web Applications" Alex Stamos, Zane Lackey iSEC http://www.isecpartners.com/files/iSEC-Attacking_AJAX_Application s.BH2006.pdf "Ajax (programming)" Wikipedia - http://en.wikipedia.org/wiki/Ajax_(programming) "Server Side AJA X for the Enterprise" - http://www.adtmag.com/article.aspx?id=21111 "What's Ajax" - http://ajaxpatterns.org/Whats_Ajax "Ajax alert raises security, scalability issues" - http://searchsoa.techtarget.com/originalContent/0,289142,sid26_gc i1162641,00.html --------------------------------------------------------------------- Author is Dan Lichtenfled, a software expert and senior software consultant. http://www.visualwebgui.com --- END ARTICLE --- Get HTML or TEXT Copy-and-Paste Versions Of This Article at: http://thePhantomWriters.com/free_content/db/l/on-server-ajax.shtml#get_code ..................................... TERMS OF REPRINT - Publication Rules (Last Updated: May 11, 2006) Our TERMS OF REPRINT are fully enforcable under the terms of: The Digital Millennium Copyright Act http://thomas.loc.gov/cgi-bin/query/z?c105:H.R.2281.ENR: ..................................... *** Digital Reprint Rights *** * If you publish this article in a website/forum/blog, You Must Set All URL's or Mailto Addresses in the body of the article AND in the Author's Resource Box as Hyperlinks (clickable links). * Links must remain in the form that we published them. Clean links should point to the Author's links without redirects having been inserted into the copy. * You are not allowed to Change or Delete any Words or Links in the Article or Resource Box. Paragraph breaks must be retained with articles. You can change where the paragraph breaks fall, but you cannot eliminate all paragraph breaks as some have chosen to do. * Email Distribution of this article Must be done through Opt-in Email Only. No Unsolicited Commercial Email. * You Are Allowed to format the layout of the article for proper display of the article in your website or in your ezine, so long as you can maintain the author's interests within the article. * You may not use sentences from this article as an input for any software that steals sentences from others in order to build an article with software. The copyright on this article applies to the "WHOLE" article. *** Author Notification *** We ask that you notify the author of publication of his or her work. Dan Lichtenfled can be reached at: [EMAIL PROTECTED] *** Print Publication Reprint Rights *** If you desire to publish this article in a PRINT publication, you must contact the author directly for Print Permission at: mailto:[EMAIL PROTECTED] ..................................... If you need help converting this text article for proper hyperlinked placement in your webpage, please use this free tool: http://thephantomwriters.com/link-builder.pl ===================================================================== ABOUT THIS ARTICLE SUBMISSION http://thePhantomWriters.com is a paid article distribution service. thePhantomWriters.com and Article-Distribution.com are owned and operated by Bill Platt of Stillwater, Oklahoma USA. The content of this article is solely the property and opinion of its author, Dan Lichtenfled http://www.visualwebgui.com --------------------------------------------------------------------- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --------------------------------------------------------------------- *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* To have your article appear in this distribution list, you must absolutely be a client of thePhantomWriters. We offer a paid article distribution service, and this is one of the more than 60 groups where we submit our client articles. To learn more about our program, visit: http://thePhantomWriters.com/x.pl/tpw/index.htm Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/thePhantomWriters/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/thePhantomWriters/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
