Hi guys
I've just read the blog and some of the manual pages about Qx 2.0 wow,
that's brilliant! I'm really excited about it!
I already use Desktop and Server heavily and fallback to jQuery for
non-Desktop pages, so the Website module is really good idea because it
means I might be able to share code with those pages too. Ages ago, I
hacked together a very thin jQuery implementation of qx.Class so that I
could have classes and have limited source code compatibility, particularly
for validation and other bits of common code (but it was a very "thin"
hack).
It's particularly cool that the $() shortcut works ala jQuery, an easy and
familiar a pattern but I'm drawn to the compatibility tables of jQuery $ vs
Qooxdoo $ and there are a number of differences that come up quite quickly.
Even really simple and common things like .val(), collections, .css() have
different method names. The docs say that Qooxdoo is intentionally more
verbose than jQuery, citing the disadvantages to have too much implicit
magic (I completely agree) and this is why there are differences but I
think that it's a mistake to use the jQuery namespace and replace it with
something which looks like jQuery but isn't _quite_ compatible.
For newbies, it'll be easy (and understandable) to assume that $() ===
jQuery() (or at least, jQuery compatible) and it will be confusing google
searches will have a similar problem distinguishing and it'll be virtually
impossible for old hands to search for answers except via this list.
Although $() is a usefully terse syntax, how about something
Qooxdoo-specific like $Q or even $$?
Also, there are thousands of jQuery plugins out there which are not
compatible with Qooxdoo $() but which might be compatible if there was a
jQuery compatible $() shim in place between the plugin and Qooxdoo. It
sounds that a jQuery compatible $() might be possible (although not
necessarily as part of the Qooxdoo core, i.e. a contrib) which would be
fantastic because of all the plugins that would bring to the Qooxdoo
platform but that's only a possibility if you use something other than
$().
John
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel