bigpipe / bigpipe

BigPipe is a radical new modular web pattern for Node.js
http://www.bigpipe.io
MIT License
1.18k stars 110 forks source link

deprecate: the support of multiple css processors #62

Open 3rd-Eden opened 9 years ago

3rd-Eden commented 9 years ago

We're currently trying to be the jack of all trades. This is hurting the innovation and future of this project. In order to move faster with a smaller and more flexible codebase I suggest we deprecate all the CSS pre-processors like stylus, less and sass and just go with one system which will be rework.

Rework is flexible enough to replace all those languages without having to rewrite much of your css. It's plugin architecture makes it ideal for building flexible pagelets. One use case could be defining default styling that should be applied to all pagelets, adding css colors and what more..

Example:

var bigpipe = require('bigpipe').createServer();

bigpipe.design
.use(require('rework-plugin'))
.use(require('another-rework-plugin'));
indexzero commented 9 years ago

:+1: right now less is more to hone the developer workflow to be super efficient. Once that's figured out, you can always re-add them later on if you want :100:

3rd-Eden commented 9 years ago

@indexzero That's the current plan, ripping everything out so we only have pagelet rendering in bigpipe and add the rest using plugins.

indexzero commented 9 years ago

Boom. Game changer.

jcrugzz commented 9 years ago

@3rd-Eden excellent, so then the ability to use browserify with pagelet rendering would be a plugin if im understanding correctly? so the dependency isnt incurred on a pagelet itself.