yes nathan, I know this would bring new problems altogether... Thats
Why I talk about making a draft would bring lots of un-agreements
among people here.... and we could just "agree" on some common stuff
now, then go "drafty" :-P

So... What if we just agree on everything that needs to be made interfaceable??

My proposal goes beyond UI components, but yes... the UI is the best
example we could bring here...

For instance... we do know that there are already patterns layed out
for UI components.... Taking the scrollbars as an example, we know
they have certain properties/attributes that should be taken into
account:

- Render Vertical
- Render Horizontal
- Render Both
- They may/may not have arrows
- they may/may not be draggable (maybe someone needs this kind of behavior)
- They may be rendered using images, they might be rendered using
canvas.... (wow, so far I havent seen any scrollbars rendered like
this!!!!)
- etc...

After this... THEN we would have to take into account the look-n-feel
for it... this would arise a whole NEW deal of stuff... (as nathan
stated in the 3rd paragraph)

And yes, of course... for this to happen, the developers have to be
able/willing to make their scripts provide this common interfaces...
needless to say.... developer X, doesnt like this kind of stuff.. will
never ever implement it... ok, other people could inherit from his
work, and program the interfaces that would make it pluggable.... see?
it wouldnt be such hard work after all...

I would propose to start simple, then bring hell on this after its
proven usable...

My though about this, is that we can make mootools plugins work in a
middle level between using normal plugins as developed by its author,
and the really hacky programmer that is able to modify/extend a given
class...

With this, you would bring mootools usable to people that JUST know
some javascript and would *plug* UI stuff into each other without the
need for inheritance... those who have the knowledge to do so, can
continue to do so!!! We do not loose anything here... we all win!!!!

I'm really into this right now... not that I have too much time free
these days... But I will certainly make it, using stuff already built,
if you guys are interested...

Bests to you all!
Iván

Reply via email to