473,788 Members | 2,810 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which Ajax frameworks should I choose?

4 New Member
Hello everyone,

I can’t decide which Ajax framework(s) I should take in my project since I am a newbie in the Ajax world.

The main task of this project relates to online examining in all middle schools of a province. The structure of each testing paper is rather simple. It contains only 20 to 30 single choice or multiple-choice questions. Once a student finishes a test paper, he or she can press the Submit button to transmit all the answers to the server for further processing.

The requirements of my project are as follows,
1) Calling CFC directly from within HTML file and easily to handle the result returned from server in the client side. The reason for using HTML file to represent a test paper is to accelerate transmission speed.
2) Having full control over DOM elements, especially the radio group buttons and checkboxes. If a student presses the Submit button while he or she does not entirely finish the test paper, the submission will be rejected. The browser gathers all the unanswered questions via iterating all the radio group buttons to prompt the student to do them again.
3) Making the radio button and checkbox to have a bit more attractive appearance. The ordinary look and feel of these UI elements is too unobtrusive.
4) Minimizing the size of the HTML file as smaller as possible, so the size of JavaScript files including in the HTML file should be smaller.
5) Transmitting the student’s information along with the test paper answers. When submitting, the content passes from the student to the server containing not only all answers but also the student’s name, the client machine’s IP address and the total elapsed time for finishing the test paper.
6) Having a small area in the test paper to receive the real time messages from the teachers, which causes the HTML file to access the server periodically.
So, which Ajax framework should I use to accomplish all the requirements above, ajaxCFC, jQuery, Adobe Spry, Yahoo YUI or something else? Do I have to use a combination of several Ajax frameworks?

Thank you in advance!
caper
Jul 29 '08 #1
9 1903
RamananKalirajan
608 Contributor
Hello Sir, I suggest you can work on PrototypeJS framework. Since it can support all browser it will be useful for you. If you are somewhat familiar with Javascripts means prototype will be very easy. I suugest you prototype. But see the www.prototypejs .org/ document over there> If you think it is easy you can go for that.

Regards
Ramanan Kalirajan
Jul 29 '08 #2
Caper
4 New Member
Hi Ramanan,

Thank you for your response!
I just searched the PrototypeJS framework, someone said the speed of its selector is a bit slower than jQuery. I can't see the showcase or demo about the appearance of radio buttons and the way it calls CFC in the web site of PrototypeJS, do you give me a link of that?

Best Regards,
caper
Jul 30 '08 #3
RamananKalirajan
608 Contributor
Hello Sir, the radio buttons will be looking similar to the normal Html radio buttons if you need you can write your own css. Now I am currently working on prototypejs. So only I suggested that to you. Sorry I can't give any URl you request for.

Regards
Ramanan Kalirajan
Jul 30 '08 #4
acoder
16,027 Recognized Expert Moderator MVP
So, which Ajax framework should I use to accomplish all the requirements above, ajaxCFC, jQuery, Adobe Spry, Yahoo YUI or something else? Do I have to use a combination of several Ajax frameworks?
My advice would be to use only one framework which most closely meets your requirements, especially ease of use, size, functionality, etc. If you're lucky, all of them should be met quite easily. If not, you can code the remaining parts.
Jul 30 '08 #5
RamananKalirajan
608 Contributor
Hi Ramanan,

Thank you for your response!
I just searched the PrototypeJS framework, someone said the speed of its selector is a bit slower than jQuery. I can't see the showcase or demo about the appearance of radio buttons and the way it calls CFC in the web site of PrototypeJS, do you give me a link of that?

Best Regards,
caper

Hello Sir, may be this site will be helpful for you
http://www.tutorialspo int.com/prototype/prototype_overv iew.htm

Regards
Ramanan Kalirajan
Aug 1 '08 #6
gits
5,390 Recognized Expert Moderator Expert
My advice would be to use only one framework which most closely meets your requirements, especially ease of use, size, functionality, etc. If you're lucky, all of them should be met quite easily. If not, you can code the remaining parts.
the best advice here currently ... never use combinations of different frameworks unless you are sure where they could interfere ... i promise you that you will get nuts when you are not aware of this ... the one framework extends the native javascript array, the next extends it too and overwrite the extension etc. ... most frameworks are made for a standalone use and that is good! since this avoids useless dependencies ... so you definitly should choose only one! in case you need parts of different ones then you have to create a custom composite-framework first where you have to ensure that everything works together and as expected ...

kind regards
Aug 1 '08 #7
Caper
4 New Member
Hi all,

Ramanan, I begin to learn PrototypeJS through the web site you provided.

gits, I really appreciate your suggestion. I should use only one Ajax framework in my project. These days I am busy in comparing the main Ajax frameworks to find which one is best for the project. You know, I should have a basic knowledge of them in order to select the right one. So, I indeed cherish the advice from you who are the pioneers in the Ajax world.

Best Regards,
caper
Aug 1 '08 #8
RamananKalirajan
608 Contributor
Hello Caper,
Happy to see you. I am also learning prototype js since I am involved in development. I am working on that. I dont know about other frameworks. If any doubts regarding the prototype pls post it. i will try me level best to help you out.


Regards
Ramanan Kalirajan
Aug 1 '08 #9
acoder
16,027 Recognized Expert Moderator MVP
Here's a quick comparison of some frameworks that you might find useful.
Aug 1 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

12
1458
by: Griff | last post by:
The use of AJAX as an approach seems to be taking off. Is this correct, or have I just read the hype? Is Ajax a proven approach that one should look at for building high-load websites? If yes, can anyone recommend good reading material? I see that there is a Wrox Professional Ajax book, but I've not seen any
7
1120
by: McGeeky | last post by:
Hi. I have been reviewing Ajax frameworks for .Net and really like the look of MagicAjax, the open source framework, because of the simplicity of its design. However I am a little concerned at using an open source framework from a support perspective. Has anyone used MagicAjax in production, and what are your experiences? Is there a commercial framework of similar design to MagicAjax? Thanks --
9
1675
by: darrel | last post by:
Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to be several to choose from. I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it appears that ASP.net 2.0 also has some client side call-backs built in that can update the display via AJAX. To ask a more specific question, do I need a specific AJAX framework to do the following:
7
2159
by: Marek Zawadzki | last post by:
Hi all, In your opinion: what is current status of frameworks for PHP and which one would you choose? I am looking for an all-purpose, MVC-based framework I could learn and use for all the applications I'll be working on in the future. Something that is currently stable and documented enough to be used in a commercial world (but it doesn't have to drive space shuttles yet;-)), and has no limitations whatsoever on the view...
3
1783
by: caston | last post by:
Well, everybody can now agree with the fact that the Ajax hype is over. Still multiple Ajax Frameworks are flourishing, aren't they? So, last night I questioned myself with the following: "When Ajax Frameworks will be gone? What is required to get rid of them and start using browsers?" (To be more precise, I should probably also mention what kind of frameworks do i mean. These are: Dojo, BackBase, Qooxdoo etc.) I've got an answer that I...
1
1432
by: John | last post by:
AJAX is a rich client-side technology that makes the web pages more interactive. In practice, the same AJAX client-side code should be unchanged, regardless of what server-side web technologies we use. I guess this is same concept as traditional front-end plain html code that can work with different server-side web technologies for back-end processing. Similarly, AJAX should be server-side independent concept, is that correct? But if this...
13
2048
by: Karl | last post by:
Hi all. I've recently rebuilt my Vista Ultimate workstation with Visual Studio Team Developer edition. Ive also put on the SQL Server 2005 tools and it's fully patched. I was building a web application in VS before the rebuild and I've just come to do some work on it, and it has reminded me that I need to install Ajax 1.0 again as I haven't done it yet (Ajax was installed before and the site makes use of it) but when I go to install it
3
1569
by: Gouri.Mahajan7 | last post by:
Hello, I want to use AJAX methods in my project. Is it possible to use AJAX in asp.net 1.1?? Thanks in advance. Regards, Gouri.
29
3325
by: zalek | last post by:
I am writing application with Ajax in sync mode - xmlHttp.open("GET", url, false). I noticed that in FireFox handler doesn't starts. It starts when I use xmlHttp.open("GET", url,true). I need to use it in sync mode. Any ideas what can I do? Thanks, Zalek.
0
10364
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10172
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5398
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.