Thinking jQuery UI
Thinking jQuery UI
Hi guys,
I was thinking about the jQuery UI and how "we" can improve it. I
think that it should be splitted up to three layers:
1) Core, which will have fundamental functions like, drag-n-drop,
re-size, mouse, dimensions, effects/animation and so on... Maybe it
should have layout containers as well.
2) Element, which will contain basically stuff like slider and tree...
For better developer experience and to keep constant between elements
API, element has to implement some options and methods, such as,
disable & enable, show & hide, appendTo, style("themename"),
events({"click":callback}) you got the idea! am not API designer
anyway... the developer (jQuery UI user) should be able to fully
manipulate the element in pure javasctipt (no mark-up), also the
elements should also look fine on a page without CSS and javascript,
one last thing, jQuery should ship only one basic theme, so all
element by default look alike.
3) Widget, (or UI plug-in) Which will be built in the top of group of
elements, for example, toolbar is a group of buttons and horizontal
containers, rich text editor is another example, the most important
thing here is GUI guide lines to keep visual constant between widgets.
I think, both Core and Elements should release "async", element can be
developed by 3er developers, and join official list after approval
- adel
p.s. this email is brought to you by my awesome business manager