The Facebook Platform   
    Home  |   Learn AJAX  |   Forum  |    Register  |    Submit Resource  |   Submit Article   |   Contact Us
 

AJAX-Tools

Home AJAX-Tools

Working with EnhanceJS

Category: AJAX Tools   |   Comments (0)

Developing Ajax and JavaScript based applications require extensive consideration on browser differences. The behavior of a certain function is not necessarily applicable in other browser. Although it is considered that IE (Internet Explorer) is always a bit unique when it comes to launching JavaScript functions, other browsers have different interpretation on the language.


Sponsored Links
 

 


But aside from the difference of interpretation of JavaScript, there is another factor developers have to consider: the compatibility of the browser to language versions. Many JavaScript and Ajax based applications were made with the help of other languages. Developers have to make sure that the language versions are compatible to the browser. When there is incompatibility, some functions may not work in a specific browser.


The challenge on version differences for Ajax and JavaScript based application is slowly answered by the library called “EnhanceJS”. This framework was specifically developed to monitor the browser and it is compatibility to various browsers. If the user has the latest browser and its function could work with the latest JavaScript, the latest version of the online application is loaded.


On the other hand, the “EnhanceJS” will make considerable changes in the application so that the latest version that could work in a browser will be used. Some features could be lost, but to have an easy access to a site rather than no access at all.


Loading EnhanceJS is actually very simple. Developers simply call on the library and place them in any HTML portion of the site. The rest of the functions are taken cared of by the library. Developers will not even have to worry about setting up extensive tools to connect the data to previous versions. EnhanceJS does not need to tie-up with data within the application since it is only created to check on browser and language versions.


Server-Side Integration


Aside from client side testing in EnhanceJS, the functions offered can also work with the server side. This feature is very impressive for the library considering not everyone is checking on the server-side. But even with server-side integration, the functions are not actively used which means users should know how to configure EnhanceJS for security purposes. The beauty of server-side integration of the library is that it offers additional testing to the server, determine if tests were already implemented and if the functions will run normally on the new setting.


Canvas Testing


EnhanceJS was created to test the two very important languages in Ajax and JavaScript – JavaScript itself and CSS. Once the tests were run, the library will implement the functions compatible to the specific browser. It is very simple but will ultimately optimize and Ajax based application in any browser version.


Aside from CSS and JavaScript, developers can also use the functions to check if the browser supports Canvass on HTML 5. By default, this form of test is not included in the library because use with HTML 5 is not that extensive. However, developers use the “addtests” function in order to launch a separate testing tool for Canvass.



Sponsored Links
 

 

Give your site the boost it needs with this library. By checking the latest version acceptable in various browsers, users are always assured of a working online application.



Read Next: YQL GEO Library


 
Post Your Comment
Members - Please Click here Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification:
 
 Subscribe    

Post Your Comment via FaceBook

Connect with Facebook



 
Comments
 
 
 
 

Sponsored Links

 

Copyright © 2005 - 2010 AjaxWith.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape