Topic: Prototype.js and xAjax

this two great libraries are used for many applications.
Why don't we rewrite xajax, using Prototype?

Re: Prototype.js and xAjax

+add possibilities of string function response.
--> catch script outputs via plugins, and better plugin system for xajax.
-->needed plugins:
-script.aculo.us
-gz compressor

...and some technology of simple/ajax-compatible web-sites strongly needed.

3 (edited by mstar 2006-12-20 7:57:42 AM)

Re: Prototype.js and xAjax

There are a lot of differences between these two libraries.

When i examined both libs i chose xajax due to several reasons:
- simplicity
- flexibility
- clearness
- functionality
... etc etc etc...

But you can use whatever you want.

I even don't understand why you ask such a question?

Why do you use "open source" when there is "proprietary software"? - the same kind of question without a strict answer.

Re: Prototype.js and xAjax

you could use both if you wanted to probably. i just think xajax is cleaner.

Re: Prototype.js and xAjax

I'm not a big fan of prototype.js for many reasons:
* it's 70kB of JavaScript.
* it's _undocumented_ code!!
* naming is ruby-style, which is confusing.
* it extends all standard objects making it a huge tie-in.

With an xajax-based project I've used script.aculo.us for drag&drop effects. You'll have to load 127kB of JavaScript code for that feature alone. I've managed to get the same thing done in 5kB (+15kB of shared code). It's code everyone can understand, while script.aculo.us and prototype as very obscure. Note I've tried to figure out how script.aculo.us does drag&drop.. wink

Software developer and Open Source contributor.
Working on KMess, a MSN Messenger client for Linux.

Re: Prototype.js and xAjax

I personally dont see xajax being tied-in with prototype (although the other admins may have different opinions), however, a plugin so that you can make prototype calls through xajax was in the works.

Personally, I think prototype is unnecessairy bloat, and that xajax can already do most of that prototype does

Re: Prototype.js and xAjax

@vdboor: maybe you could show how to program this drag and drop with xajax? would be interesting as I do not know much about JS...

Re: Prototype.js and xAjax

@vdboor: maybe you could show how to program this drag and drop with xajax? would be interesting as I do not know much about JS...

I'm sorry this is not possible at the moment. It's commercially developed code. While there are plans to Open Source it in a half year or so , I can't release that code right now. There are some JavaScript tutorials that should help to get started, drag & drop is not that difficult.

Software developer and Open Source contributor.
Working on KMess, a MSN Messenger client for Linux.

Re: Prototype.js and xAjax

a more lightweight alternative to prototype is moo.fx and mootools

Re: Prototype.js and xAjax

Survey says Prototype is the most used Ajax toolkit/framework


http://www.oreillynet.com/xml/blog/2006 … itfra.html