I just wanted to rise one more option for the Roadmap list :)

I think it is time to move the BW core to more unobtrusive code,
especially the stylesheet. It's been long time since the separate file
for the stylesheet is norm of good coding style. Everyone knows that
it improves the display performance (the external files are cashed by
the browsers) and the generated html code is far simpler and shorter,
and also easier to debug and read.

Personally I develop my sites in this way (solutions.css.linked page
gives some solution to that), but currently it's more like a hack of
the system, than a normal solution. There is some problem with the
path to the css-file if it is in the field/page folder (which gives
opportunity to edit it within the system). I place it in the barn/
public folder and address it by $$pub/style.css, but this way the
system variables don't work in the stylesheet.

If it is a part of the Core, it could be made as easy as writing
skin.css so as to be automatically linked to the code.skin. Even if
there are specific styles for some group of pages they can be gathered
in some group.css and the system can make a link to this file in the
corresponding pages following the hierarchical principle in addition
to the skin.css.

The same could be with the unobtrusive javascript. If the system finds
skin.js it adds a link to it in the head of skin.code.

Another option is to make a configuration variables in the site.config
for the site stylesheet file and the necessary javascript touch to the
site functionality.

I think separate files would make the skin development easier.

I would like just to rise the problem, to discuss it with all the
community and if we find it reasonable, it seems to me it could be
added in the Roadmap for the near future.

Regards, Bogdan
-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.


Reply via email to