>
Using XAJAX in component development. with joomla
Welcome, Guest

by NeerajRawat on Thursday, 13 November 2008
Using XAJAX in component development. with joomla


What is Ajax Ajax, shorthand for Asynchronous JavaScript and XML, is a web development technique for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user requests a change. This is meant to increase the web page's interactivity, speed, and usability. To use Ajax technique one need knowledge or support for (X)HTML, CSS, DOM, JavaScript. But you will not need that using XAJAX. All those technologies already implemented in to this library. You only need knowledge of PHP. And if you know JS you will probably be able to create more attractive interfaces. Good and Bad Read carefully this advantages and disadvantages on AJAX. You need to know it before you plan to implement this technique on your site. Good 1. Bandwidth utilization. By generating the HTML locally within the browser, and only bringing down JavaScript calls and the actual data, Ajax web pages can appear to load relatively quickly since the payload coming down is much smaller in size. In addition to "load on demand" of contents, some web based applications load stubs of event handlers and then load the functions on the fly. This technique significantly cuts down the bandwidth consumption for web applications that have complex logic and functionality. 2. User interface. The most obvious reason for using Ajax is an improvement to the user experience. Pages using Ajax behave more like a standalone application than a typical web page. 3. Separation of Data, Format, Style, and Function. A less specific benefit of the AJAX approach is that it tends to encourage programmers to clearly separate the methods and formats used for the different aspects of information delivery via the web. Bad 1. Browser integration The dynamically created page does not register itself with the browser history engine, so triggering the "Back" function of the users' browser might not bring the desired result. 2. Another issue is that dynamic web page updates make it difficult for a user to bookmark a particular state of the application 3. Response-time concerns. Network latency - or the interval between user request and server response - needs to be considered carefully during Ajax development. Without clear feedback to the user, smart preloading of data and proper handling of the XMLHttpRequest object, users might experience delay in the interface of the web application, something which users might not expect or understand. 4. Search Engine Optimization. Websites that use Ajax to load data which should be indexed by search engines must be careful to provide equivalent data at a public, linked URL and in a format that the search engine can read, as search engines do not generally execute the JavaScript code required for Ajax functionality. This problem is not specific to Ajax, as the same issue occurs with sites that provide dynamic data as a full-page refresh in response to, eg, a form submit (the general problem is sometimes called the hidden web). 5. Javascript reliability. Ajax relies on Javascript, which may be implemented differently by different browsers or versions of a particular browser. Because of this, sites that use Javascript may need to be tested in multiple browsers to check for compatibility issues 6. Accessibility. Using Ajax technologies in web applications provides many challenges for developers interested in adhering to WAI accessibility guidelines Because of this, you need to be very carefully to use AJAX. After you learn how to use that I am sure you will be exited and planning to implement it everywhere. That is good but remember that you can implement it everywhere but only everywhere it is compatible. I'll try to list where I plan to implement it in JCommerce component. 1. Everywhere it is possible in admin area 2. Rating system for Products, Seller , Category 3. Add Category, Product, Seller to favorite 4. Add Comment to Product 5. Add product to Cart 6. Redeem Coupon 7. Delete product, change quantity, Recalculate functions in the cart Because in all those action no need to keep browser history, bookmark special page or be indexed by SE. The only issue is still requirement of desktop graphical browser with JavaScript Support. reference link http://joomlaequipment.com/content/view/45/74/ If u face any problem please contact Mr neeraj rawat at neeraj.rawat@evontech.com



Blogger Image
My Blog Title

Product Engineering, software engineering company, Product Development, Product Migration, Product Re-engineering, Product Maintenance, Product Testing Commercial Application Development, Business Software development, commercial software for startups, Application Support and Maintenance, software testing Product Maintenance, Outsource product maintenance, product support and maintenance Product Migration, Product Re-engineering, product re-engineering services Product Research, Product Engineering, UI Prototyping Services Software Testing Services, Quality Assurance services, professional software testers, Load Testing, Functional Testing, Cross Platform, Browser Testing, Test Automation, Testing Tools, software quality analysis Functional Testing Services, software quality analysis, Software Testing Services, Application Testing Services, Functional Testing Types Automated Testing, Automated Testing Services, automation testing, test script development, Automation Test Tools, outsource automation testing Load Testing, Performance Testing Services, Load Testing Tools Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Benefits of IT Outsourcing, Offshore Software Development companies, offshore software development firms Outsource planning, IT outsourcing, IT development services, offshore IT companies, offshore software development Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering