3 ms·
The video is intended to pique the interest of CMS choosers with short attention spans... you're right that it's a poor substitute for a real demo, and we'll tr
by tomd 13y ago
The video is intended to pique the interest of CMS choosers with short attention spans... you're right that it's a poor substitute for a real demo, and we'll try to get something up as soon as possible. What's the best practice for refreshing the content on demo sites? I worry that a scheduled content reset will confuse people who are halfway through trying publishing a test page.
The CoffeeScript and LESS integration is a tricky one. We like LESS but we're worried that npm / lessc is an annoying dependency, and we're considering switching to SASS / SCSS, which has a pure-Python compiler, unlike LESS. Opinions very welcome.
- yaph 13y agoAn idea for a content reset, would be to warn the user before it actually happens and/or having a visible countdown widget that tells you when reset happens. I see that the npm dependency might draw away people, maybe provide and add-on that depends on npm and makes it easy to integrate CoffeeScript, LESS, SASS?
- tomd 13y ago> An idea for a content reset, would be to warn the user before it actually happens and/or having a visible countdown widget that tells you when reset happens. Right, that doesn't sound too hard, we'll aim to add that. > I see that the npm dependency might draw away people, maybe provide and add-on that depends on npm and makes it easy to integrate CoffeeScript, LESS, SASS? Or perhaps we'll just ship the compiled CSS / JS and provide instructions for people who want to use LESS etc in their Wagtail sites.
- emhart 13y ago+1 for compiled CSS/JS. I'd love that and it would get me up and playing with it much faster, personally.
- spellboots 13y agoI generally prefer SCSS to LESS as it's essentially a superset of LESS. Relevant link: http://metaskills.net/2012/02/27/too-less-should-you-be-using-sass/ http://metaskills.net/2012/02/27/too-less-should-you-be-usin...
- dangayle 13y agoSASS for sure. I've used sass in development for years now, and I prefer to not use LESS. Having LESS as a requirement was an immediate read flag for me :)
- tomd 13y agoThanks. Can you recommend a pure-Python SASS compiler? The ones we've found seem to struggle with relative imports.
- Pxl_Buzzard 13y agoI struggled with finding a way to compile SASS last summer and my solution wasn't great[1]. Nowadays, this version of libsass for Python[2] looks pretty stable, and failing that Grunt would work well enough. [1] http://blog.danieljost.com/scss-on-a-remote-server/ http://blog.danieljost.com/scss-on-a-remote-server/ [2] https://github.com/dahlia/libsass-python https://github.com/dahlia/libsass-python
- kawera 13y agoAnother one: https://github.com/pistolero/python-scss https://github.com/pistolero/python-scss
- dangayle 13y agoI haven't. I've never used SASS directly on the production server, I just run Compass on dev and push the compressed css to a cdn or media server. You might want to look into the C implementation? https://github.com/hcatlin/libsass https://github.com/hcatlin/libsass
- kall 13y agoIt would be great if you would switch it to SASS in the future. Although for me personally its not the npm dependency but that i like SASS much better then LESS.