[Kss-devel] Development tools
Godefroid Chapelle
gotcha at bubblenet.be
Sat Jun 9 11:42:22 CEST 2007
Jeroen Vloothuis wrote:
> To make development with KSS a bit nicer I was thinking of adding a few
> features.
>
> The first feature would be a listing of the available commands. This
> could be implemented as a simple Javascript function which displays all
> commands with their documentation.
>
> Because KSS is a pluggable framework a developer can then easily see
> which command's are available for the chosen platform. Something like
> this would help Plone developers because there are/might be a few
> specific Plone commands.
>
> Using a self documenting feature means you will always have the proper
> documentation.
>
>
> Another feature would be to have some interactive prompt support.
> Currently Firebug already provides us with a console. It would be great
> if we could use this to execute something like:
>
> kssApplyRule('a.special:click { ... }')
>
> kssClearRules()
>
> Does anyone else see value in these ideas?
I see value in both ideas.
However, we should avoid growing kss size. IOW, can you think how to add
those features so that they are not included in default kukit.js ?
You could have a devel.js that would be concatenated separately.
Regards
--
Godefroid Chapelle (aka __gotcha)- BubbleNet http://bubblenet.be
More information about the Kss-devel
mailing list