3 ms·
I feel this is solving a problem that doesn't exist. The problem with creating a WordPress theme isn't that it's missing buzzwordy tech like HAML, SASS and Cof
by MattBearman 15y ago
I feel this is solving a problem that doesn't exist.
The problem with creating a WordPress theme isn't that it's missing buzzwordy tech like HAML, SASS and CoffeeScript. The problem is that the PHP behind WordPress is hideous. Even in version 3.x
If someone were to fork WordPress and fix all the spaghetti code, then I could stop writing themes like it was 1998...
- bobds 15y agoI've dived in the Wordpress codebase a few times, I think it wouldn't be very hard to rewrite major parts. However, I don't think you can fix much without breaking tons of plugins, themes and 3rd party tools that integrate with Wordpress. And if you are going to break the plugin ecosystem, might as well use Habari, which is much nicer: http://habariproject.org/en/ http://habariproject.org/en/ Too bad all the available plugins fit in a single page: http://wiki.habariproject.org/en/Available_Plugins http://wiki.habariproject.org/en/Available_Plugins
- imperialWicket 15y ago+1 for habari, although lack of plugins is a bit of an issue when it comes to sites that need a lot more than just blog + static pages.
- csomar 15y agoExactly. I don't think that a re-write for WordPress will be the best solution for the moment as it'll wreak havoc on the thousands of themes and plug-ins that exists in the market. I'm thinking of a theme framework that ease the theme creation process. It keeps you focused on doing what matters: putting the theme, CSS, HTML and JavaScript. Mainly there are three things to care about - A routing engine. Similar to the Ruby routing engine. A plain and simple one. - Views with a templating engine; and avoid the PHP/HTML mixing non-sense. - A simple solution to create Admin panels on the fly. I think this could serve as a solution for Theme Authors which helps them focus on the design rather than fight PHP loops and lookup WordPress functions.
- steffoz 15y agocsomar, for the "Admin panels on the fly" part I suggest you Options Framework, a beautiful plugin http://wordpress.org/extend/plugins/options-framework/ http://wordpress.org/extend/plugins/options-framework/