Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 10-04-2007, 06:20 AM AJAX Toolkits
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
I'm aware that there are several toolkits, but what AJAX does seems pretty simple, just load php file with a post / get request, and I have done this with copy and pasted basic ajax code, but there are toolkits like mootools and sajax.

What do these improve on? What do they feature?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
 
Register now for full access!
Old 10-04-2007, 08:50 AM Re: AJAX Toolkits
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Basically, every major browser have slight differences in how they handle things.

For example, when you click on an element in the page, firefox send the reference to the clicked element as "this", but IE sends the event itself, as the origin of the click, and you have to check different properties of the event to find the HTML element.

There are numerous things like that, and often, they add useful functions (like iterators and enumerators) to primitives that had no support for those.

It's not that you cannot live without them, it's just that they make your life simpler.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 10-04-2007, 12:02 PM Re: AJAX Toolkits
Extreme Talker

Posts: 182
Trades: 0
Prototype is the main one I use: http://www.prototypejs.org/

There is plenty of documentation and examples on the site but you might do some googling for 'prototype js ajax', you should come up w/ some tutorials.

JQuery is popular too: http://jquery.com/

Again, they have documentation and tutorials on their site but you may find it helpful to google for additional resources.
bhgchris is offline
Reply With Quote
View Public Profile
 
Old 10-09-2007, 10:10 AM Re: AJAX Toolkits
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
One more question regarding AJAX.

I have used AJAX on one of my sites just to play about with it, but is there another way of using PHP/AJAX without having to call an external php file or is that the only way?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 10-09-2007, 11:29 AM Re: AJAX Toolkits
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Ajax is nothing more than an acronym to create a request to the server from a fragment of javascript.
So, you could have an asp script, or jsp, or cgi on the other end. Even a static xml or html file if you want.

But yes, you need something on the other end.
If you are talking about the effects that you find in libraries like mooFx, or scriptaculous for example, no.
Those are pure javascript/DOM scripting, and you don't need no server to apply those.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 10-09-2007, 11:31 AM Re: AJAX Toolkits
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
So, what do these toolkits feature? Just give an example of what one could do then I'm sorted =)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Old 10-09-2007, 12:01 PM Re: AJAX Toolkits
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
They all do the same thing, simplify the AJAX and effect application via a specific syntax.
I personally use prototype + scriptaculous, but they don't offer anything else than yahoo toolkit, dojo, moo, jquery offer too.
It's just about a syntax, not functionalities.

And for what they provide, take a look at their demo pages, and do your choice there.
__________________
Only a biker knows why a dog sticks his head out the window.

Last edited by tripy; 10-09-2007 at 12:02 PM..
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 10-09-2007, 12:12 PM Re: AJAX Toolkits
Galaxian's Avatar
Dingleberry!

Posts: 825
Name: Rich
Location: United Kingdom
Trades: 0
Thank you
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Galaxian is offline
Reply With Quote
View Public Profile Visit Galaxian's homepage!
 
Reply     « Reply to AJAX Toolkits
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45603 seconds with 12 queries