This subject is associated with "Future plans" subject https://groups.google.com/forum/?fromgroups=#!topic/weblocks/IG0Rm0iv-qc and more precisely with following puncts
* Provide a mechanism of generating CSS automatically. * Provide good template support. * Get rid of the test suite. Try to write a frontend-based testing mechanism (I probably won't do this). Since weblocks is component-oriented framework its css code and templates must be also component oriented, my friend html/css coder mentioned about how it is hard to use twitter bootstrap when coding frontend (css) and how it is easy to use BEM. As I see now twitter bootsrap is not component oriented (or not as component oriented as it could be) and I propose to look at BEM http://bem.info/method/ . This is connected with #1 So in near future weblocks must enrich with visual test suite, after that we can replace some widgets with template-based ones. For templates I'm using cl-mustache which surprised me and is best template engine I know. I combine it with cl-yaclml (using own macro https://gist.github.com/4077356) and recommend both libraries for work, it is better to use weblocks standard cl-who for newbies though. (this is for #2) In far future I see some integration of BEM methodology into project. I think there is no need to integrate javascript and html template parts of BEM into weblocks but css part of BEM is what we need - component-oriented approach. And as I know BEM allows to do such stuff. On the other hand we can use own BEM-like approach. So with this plan I don't see need in integrating twitter-bootstrap or analogs into main code, but don't discard such possibility. And twitter-bootstrap is near future of weblocks since there are already two attempts to integrate it, but I personally tend to use it separately from weblocks main repository. And nearest part is visual test suite on which I plan to start to work and for which I plan to use selenium. (this is for #3). I have some developments in all I've just talked like https://github.com/html/weblocks-mustache-template-form-view or https://github.com/html/weblocks-twitter-bootstrap-application and some other in my github profile. If you have something to add or share you are welcome. -- You received this message because you are subscribed to the Google Groups "weblocks" group. To view this discussion on the web visit https://groups.google.com/d/msg/weblocks/-/5sxsOhSq0aEJ. 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/weblocks?hl=en.
