Complete graphical toolkit in js

0 views
Skip to first unread message

Frédéric

unread,
Dec 18, 2009, 4:40:46 AM12/18/09
to prototype-s...@googlegroups.com
Hi,

I'm wondering: does it exist a complete graphical toolkit in javascript?
Something like Qt or Gtk, which allows to build complex GUI?

I found several nice little projects, but they all use their own design...

Thanks,

--
Frédéric

Matt Foster

unread,
Dec 18, 2009, 10:30:25 AM12/18/09
to Prototype & script.aculo.us
Ext.js has a ton of UI stuff prebaked

http://extjs.com

--

http://positionabsolute.net

Frédéric

unread,
Dec 18, 2009, 10:47:58 AM12/18/09
to prototype-s...@googlegroups.com
Le vendredi 18 décembre 2009 15:30, Matt Foster a écrit :

> Ext.js has a ton of UI stuff prebaked
>
> http://extjs.com

Looks great! Is it some sort of reference in js world, like Qt is? Is it
based on Prototype?

--
Frédéric

T.J. Crowder

unread,
Dec 19, 2009, 7:59:51 AM12/19/09
to Prototype & script.aculo.us
Hi,

> Is it some sort of reference in js world, like Qt is? Is it
> based on Prototype?

No, and no. :-)

-- T.J.

Frédéric

unread,
Dec 19, 2009, 8:15:25 AM12/19/09
to prototype-s...@googlegroups.com
On samedi 19 décembre 2009, T.J. Crowder wrote:

> > Is it some sort of reference in js world, like Qt is? Is it
> > based on Prototype?
>
> No, and no. :-)

I found that Ext can use Prototype as an adapter. What does it mean?

--
Frédéric

Peter De Berdt

unread,
Dec 19, 2009, 5:29:08 PM12/19/09
to prototype-s...@googlegroups.com

On 19 Dec 2009, at 14:15, Frédéric wrote:

Is it some sort of reference in js world, like Qt is? Is it
based on Prototype?

No, and no. :-)

I found that Ext can use Prototype as an adapter. What does it mean?

The underlying functions that build up the components use the adapter you load. ExtJS uses its own Javascript framework by default, but by loading a different adapter, it will use that framework instead (Prototype, JQuery, ...). It's a bit like the database adapters in Rails, CakePHP, Symphony etc that allow you to use whatever database you prefer and abstracts it with a unified syntax layer on top of it.


Best regards


Peter De Berdt


Frédéric

unread,
Dec 19, 2009, 5:48:33 PM12/19/09
to prototype-s...@googlegroups.com
On samedi 19 décembre 2009, Peter De Berdt wrote:

> > I found that Ext can use Prototype as an adapter. What does it mean?
>
> The underlying functions that build up the components use the adapter
> you load. ExtJS uses its own Javascript framework by default, but by
> loading a different adapter, it will use that framework instead
> (Prototype, JQuery, ...). It's a bit like the database adapters in
> Rails, CakePHP, Symphony etc that allow you to use whatever database
> you prefer and abstracts it with a unified syntax layer on top of it.

Does it mean that it is possible to extend Ext classes using the Prototype
way (Class.create)?

--
Frédéric

Peter De Berdt

unread,
Dec 19, 2009, 5:57:26 PM12/19/09
to prototype-s...@googlegroups.com
I highly doubt it, ExtJS components inherit in a different way. It does mean you can just continue using Prototype for everything else (not ExtJS related) and don't have to load an extra framework on top of Prototype if you're already using it. Extending ExtJS components is very similar to Prototype's anyway, except for the Ext instead of Class as the keyword (http://www.extjs.com/learn/Manual:Component:Extending_Ext_Components).

Frédéric

unread,
Dec 19, 2009, 6:01:08 PM12/19/09
to prototype-s...@googlegroups.com
On samedi 19 décembre 2009, Peter De Berdt wrote:

> I highly doubt it, ExtJS components inherit in a different way. It
> does mean you can just continue using Prototype for everything else
> (not ExtJS related) and don't have to load an extra framework on top
> of Prototype if you're already using it. Extending ExtJS components is
> very similar to Prototype's anyway, except for the Ext instead of
> Class as the keyword
> (http://www.extjs.com/learn/Manual:Component:Extending_Ext_Components )

Ok, I see. Thanks.

--
Frédéric

Peter De Berdt

unread,
Dec 19, 2009, 6:02:06 PM12/19/09
to prototype-s...@googlegroups.com

On 19 Dec 2009, at 23:48, Frédéric wrote:

Does it mean that it is possible to extend Ext classes using the Prototype 
way (Class.create)?

What is certainly possible though, is using Prototype classes to encapsulate ExtJS rendering in a more convenient wrapper with some additional functionality added. It's also possible to use Prototype in the event handlers etc from ExtJS.
Reply all
Reply to author
Forward
0 new messages