The StyleManager component are more complex than
traditional widgets. It will take alonger time to
create a StyleManager component than it would an
ordinary widget.

The beauty about the StyleManager is that it give the
user the flexibility to change the behavoir of the
component without having to change the base component
itself.

In the intrest of time and for the benefit of the
project I would have to then suggest that StyleManager
components be added at a later date. These will
require a lot of testing as they things can get sticky
when it comes on to inheritance.

I also wanted to create widgets that are themeable but
how often will a web app require the user to change
the it's theme? Not very often I guess. And even if we
where to stick a redraw() into the widgets how many
times will a web app allow the user to change the
theme on the fly?

It's all good and well to have such nice features as
on the fly skinning and theme changing but these often
time carries some overhead and inheritance problems.

I'll remove the StyleManager and it's components and
replace them with traditional design. The Button
compoenent will be broken up into three widgets -
Button, FlatButton and ImageButton, etc.



--
Raymond Irving
 

--- Kevin <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I agree with Daniel. I just don't understand it. A
> very nice
> project but who is going to use the StyleManager
> implementation  
> without full documentation of how the internals
> work. I printed
> off nearly 10 files from one top level example and
> then gave up.
> 
> These completed StyleManger components can be
> reproduced by
> a user using default style on their own site. So
> they are a very good
> addition to the gui but it would take an expert in
> dynapi and javascript
> to design widgets in this way. I'll wait for the
> docs then decide if it's
> easier than the traditional method.
> 
> -
> Kevin
> 
> 
> "Daniel Tiru" <[EMAIL PROTECTED]> wrote:
> 
> > Hi Raymond!
> > 
> > I still actually dont get the style manager
> completly...
> > 
> > I have found styles in the gui catalog, but
> forgive me if i am a bit
> > slow. But i dont really get it :(
> > 
> > Say i have the viewpane and by default it uses a
> style like
> > viewpane.style (or am i already out of the area)? 
> > How do i change the style for that one without
> modifying the source of
> > the viewpane.style? Do I have to make a copy of
> it, edit it and add it
> > to packages.js?
> > 
> > Or is there some other way? Cause i think dynAPI
> will always be updated,
> > meaning you always have to get a new packages
> file, witch will overwrite
> > your personal entry. I think i have seen or
> atleast think i have seen,
> > that you dont need to add stuff to packages but
> can do that in your code
> > on your page? Is it this way we should do it?
> > 
> > Sorry for beeing a bit slow, but its so mutch to
> keep track on.
> > 
> > I would vote for the stylemanager, if i could
> understand it. Could you
> > make any basic example using a external style who
> is outside of the
> > dynapi structure, how to change the style and so
> on? Make it a very
> > simple example so atleast i get it :) Maybee I'm
> not alone and thats why
> > noone else responds :)
> > 
> > Best regards
> > Daniel
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> Behalf Of Raymond
> > Irving
> > Sent: den 2 oktober 2003 06:18
> > To: DynAPI-Dev
> > Subject: [Dynapi-Dev] Question for developers....
> > 
> > 
> > Hello Everyone,
> > 
> > As it relates to the future of Widget creation, do
> you
> > think we should go Stylable Widgets (like the ones
> > that use the StyleManager) or should we stick to
> > traditional Widget design?
> > 
> > Please give your answer and reason why
> > 
> > 
> > --
> > Raymond Irving
> > 
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product
> search
> > http://shopping.yahoo.com
> > 
> > 
> >
>
-------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> >
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
> > 
> > 
> > 
> > 
> >
>
-------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> >
>
http://www.mail-archive.com/[EMAIL PROTECTED]/
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
>
http://www.mail-archive.com/[EMAIL PROTECTED]/


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to