WordPress seems to be an interesting blog, its nice to see opensource working. Development on B2 might have slowed and then died, but there is still life for the codebase through the work on wordpress. I just messed around a bit with the template and some css, im not really sure if i like the color scheme but i like that fact that wordpress just uses normal php and not some special template. Reminds me of my journey away from Smarty and to Savant. Those of you not involved deeply in PHP might not know have had the joy of the templating argument but it generally goes like this.
- We must seperate display from logic
- Looks like the way to do this is using templates
- Lets make something really complicated and make our own templating language
I’m pretty sure that the Smarty code example below looks nothing like either:
Its not that i think this is all that complicated but its something new to learn, and isn’t like the other technologies web people need to work with.So that brings me to just using php for the template engine.
- Its simple and fast
- Your template engine isn’t a 120Kb tarball
For more details on the subject read ts on the subject over at phpPatterns.