Scaffold
Scaffold copied to clipboard
Documentation about reasons and goals of rewrite?
I've been using the "sunny" version of CSScaffold, and loving it. I'm very interested in the current rewrite that is underway. Is there documentation somewhere that highlights the reasons and goals for the rewrite, as we all as pointing out syntax and/or feature differences?
Thanks!
From what I can say :
- Code is cleaner, more robust and more object oriented.
- Every classes are namespaced, which makes it easier to integrate in existing environments.
- Extensions and functions now are implemented as classes.
- It is easier to extend and custom extensions.
- Variables use the @variables directive (http://oocss.org/spec/css-variables.html) with a new syntax.
- It can use use file, url or string as input.
- Introduces new extensions as Minify and Sass.
- It will be possible to use a DB based cache.
But Anthony Short will probably be more complete than me !
When you say "namespaced" -- do you mean PHP 5.3 namespaces?
No, it is simply "Scaffold_" being prepended to classes, so instead of having classes named "Constants", it is "Scaffold_Extension" and "Scaffold_Extension_Variables" and so on.