Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

How Ajax Can Become as User Friendly as Flash

By Exforsys | on March 30, 2007 |
Ajax Tutorial

How Ajax Can Become as User Friendly as Flash

There are a number of reasons why Flash has become so popular on the web today, and this lies in the fact that users don’t have to reload the page. Products such as Flash Remoting will allow users to access the background server, and Ajax can do the same thing with HTML.

Systems such as CFAJAX will allow users to send out complex objects, but it is difficult to receive and understand them, especially if you are using products such as ColdFusion. To solve this problem, some developers have come up with a solution known as WDDX serialization.

In case you are not familiar with the term, WDDX stands from Web Development Data Exchange. It was designed in 2001 for the purpose to handling problems that occured with the exchange of data among web applications. In the most basic sense, WDDX is a system that will assist in the transfer of complex objects among XML. This system will support things such as numbers, strings, and arrays. The modules within WDDX will have a support for a number of different languages. It will even support ColdFusion, though in a limited manner. The languages for which it offers a great deal of support are Java, ASP, JavaScript, and PHP.

However, being familiar with the definition of WDDX won’t allow you to fully understand why it is useful. There are a number of online tutorials which will show you complex objects that have been generated within JavaScript. These objects will typically be comprised of an array of different units. Before it can be sent to ColdFusion, it must first be serialized. To do this, you will need to create a fresh WDDX serializer, and then you will have to serialize the object.

This is a fairly simple process, and users will not be required to understand the underlying structure of the packet. Some tutorials online will also walk you through the process of receiving the call.

The function will only require a single argument, and this is the WDDX packet. It is important for you to realize that this packet isn’t an object. Instead, it is an XML object or string. It will be returned intact, and this will allow you to see what goes on behind the scenes.

The callback function can be used to alert the packet that is being returned. If you look at some of the examples on the web, you will see that the XML string must be alerted by using a function called the testResult function. There are a number of tricks developers can use to make Ajax as user friendly as Flash. The first deals heavily with multiple browsers.

Developers will want to pay close attention to the URLDecode function. This function should be available in the ColdFusion listener. If you fail to use it, the code will work well with browsers such as Firefox and Internet Explorer, but it will not work for those using Safari. Many developers have learned this the hard way.

I’am not certain of why the code will not work with Safari, but it seems that it encodes the XML packet before it can be sent, and ColdFusion does not have the ability to decode it. As you can see, this makes it next to impossible to de-serialize the argument. Before you go live with the project, it is critical for you to test it in a variety of different environments.

If you do this, you may find that time is saved on the debugging process. Another process that developers will want to deal with is the login. This can be done properly with the right debugging techniques. There will be times where the user will navigate the site, and they may be allowed to log in with a form that is frequently available to them.

This will generally be at the top navigation menu. In some cases the user will simply post a form, and they may then decide to log in. While there may be no problems with this, problems could occur if you allow the user to add just the log in form. The reason for this is because you could lose variable for your other forms. One solution that many developers use is to create a loop though the group of forms to generate hidden fields. However, this may only work in some instances.

« « Web 2.0 Concepts
Web 2.0 Characteristics » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Free Training

RSSSubscribe 394 Followers
  • Popular
  • Recent
  • Advantages and Disadvantages of Ajax

    March 24, 2007 - 0 Comment
  • How Ajax Has Become More Standardized

    March 26, 2007 - 0 Comment
  • How Ajax Can Improve Web Applications

    March 29, 2007 - 0 Comment
  • Ajax Graphics Enhancement Tools

    April 5, 2007 - 0 Comment
  • Introduction to Ajax

    June 13, 2006 - 0 Comment
  • The Power of Ajax

    April 16, 2007 - 0 Comment
  • Ajax, Web Services & XML Part I

    July 16, 2006 - 0 Comment
  • Ajax, Web Services & XML Part II

    July 16, 2006 - 0 Comment
  • Making Ajax Accessible

    March 14, 2007 - 0 Comment
  • Ajax Challenges

    March 14, 2007 - 0 Comment
  • The Power of Ajax

    April 16, 2007 - 0 Comment
  • Ajax Graphics Enhancement Tools

    April 5, 2007 - 0 Comment
  • How Ajax Can Improve Web Applications

    March 29, 2007 - 0 Comment
  • How Ajax Has Become More Standardized

    March 26, 2007 - 0 Comment
  • Advantages and Disadvantages of Ajax

    March 24, 2007 - 0 Comment
  • The Security Aspects of Ajax

    March 22, 2007 - 0 Comment
  • Ajax Framework

    March 17, 2007 - 0 Comment
  • Ajax Challenges

    March 14, 2007 - 0 Comment
  • Making Ajax Accessible

    March 14, 2007 - 0 Comment
  • Ajax, Web Services & XML Part II

    July 16, 2006 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • The Power of Ajax
  • Ajax Graphics Enhancement Tools
  • How Ajax Can Improve Web Applications
  • How Ajax Has Become More Standardized
  • Advantages and Disadvantages of Ajax

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2023. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT