This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

jQuery or YUI

Forum to discuss ExtJS and other JS plugins

jQuery or YUI

by joshcoady » Thu Dec 18, 2008 7:07 pm

any opinions? :P

now add in that I'll be integrating Elgg and they use jQuery .. any reason I should be considering anything else?
joshcoady
Member
 
Posts: 52
Joined: Mon Jun 30, 2008 7:00 am
Location: Rohnert Park, CA

Re: jQuery or YUI

by jesse » Thu Dec 18, 2008 9:25 pm

Is Elgg written in symfony or something? Is this a symfony question or just a Javascript question?

I like ExtJS because they provide a very rich set of widgets. I would say it's the closest thing to an implementation of Windows Forms for Javascript. I used to use YUI, ExtJS is a fork of YUI with a more powerful set of controls, in my opinion. ExtJS can also use JQuery or Prototype as an underlying layer. My experience has been that using Prototype with ExtJS on top is very slow, but I think that's because Prototype is very slow.

I used to do all my Javascript with Prototype, but I eventually realized that I am just reinventing the wheel half the time because most of the controls I was creating either were already a part of Ext or that there was something very similar that I could build off.

It was completely stupid of me to have, for so long, passed up such a rich library that was already reviewed and tested. I mean, my business is to create applications that meet customer needs, not to create user interface controls!

As you can see, I'm very excited about Ext.

ExtJS - http://extjs.com/

Jesse.
Jesse Dhillon
http://deva0.net
User avatar
jesse
Senior Member
 
Posts: 104
Joined: Wed Jun 27, 2007 7:34 pm
Location: Berkeley, CA

Re: jQuery or YUI

by joshcoady » Thu Dec 18, 2008 9:44 pm

Elgg is a social networking platform written in php .. think open source facebook .. http://www.elgg.org

It's a symfony question because we run a custom symfony site, but are going to add in social networking features using elgg.

I'd prefer not to use both jQuery and YUI/ExtJS/whatever, but i'd be open to it if the pros greatly outwiegh the cons
joshcoady
Member
 
Posts: 52
Joined: Mon Jun 30, 2008 7:00 am
Location: Rohnert Park, CA

Re: jQuery or YUI

by jesse » Thu Dec 18, 2008 10:49 pm

I'd be interested in knowing how you plan to bridge symfony and Elgg. Do you plan to reverse the Elgg schema and create Propel model objects?

Regarding using both jQuery and Ext (I don't know if YUI has an adapter layer), the way it works is that Ext provides controls which are built on a DOM abstraction layer. That layer can provide lower level DOM abstraction -- things that I understand jQuery is good for -- and you can still have your rich Ext controls.

I think the question you need to ask is whether you need the controls that YUI and Ext provide. YUI and Ext are not the equivalent of jQuery: jQuery provides convenience functions to make DOM traversal and node manipulation easy; Ext and YUI provide a set of controls and containers to make building a rich desktop-like application interface easy.
Jesse Dhillon
http://deva0.net
User avatar
jesse
Senior Member
 
Posts: 104
Joined: Wed Jun 27, 2007 7:34 pm
Location: Berkeley, CA