On 06/20/2011 07:51 PM, Shannon Hughes wrote:
- it is not in Fedora :)
don't see the downside of jquery not being in Fedora. This is javascript
you have to set in your public web area anyway.
jQuery does not need to be packaged. For public websites you can
Advantages of jQuery?
1) It defines more a "way to use javascript" than a library itself. This
means there is a full ecosystem built on top. For example, something
equivalent to dojo: http://jqueryui.com
The best part is that all jQuery based libraries feel the same, and it
is easy to create your own extensions.
2) It is Unobtrusive JavaScript
* http://en.wikipedia.org/wiki/Unobtrusive_JavaScript
You don't have much javascript in the page itself, but you just give the
elements the correct ids or classes and then "enhance them", eg:
<input class="date"...>
and then in some include you do:
$(".date").datepicker()
And all those inputs get a widget with a datepicker. But if not, the
fallback is the input field it was there from the beginning.
Same with tabs, you just make some divs with the right ids, and then you
tab-ify them by appliying some method on a selector (ids, classes or
more complex).
3) It is far more popular than any competition: 41% of the 10000 most
visited websites. That speaks for its community too.
I like jQuery a lot. I would however use it as a resort to Ajaxify
current webpages. As it is unobtrusive, it can be done without touching
the templates too much, except for adding classes and ids. For more
complex user interfaces, I would go for the combination of GWT/Vaadin.
Javascript is cool, but is like the assembler of the browser "machine".
Assembler was cool back then, but today most people use higher level models.
--
Duncan Mac-Vicar P. - Novell® Making IT Work As One™
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel