Author: jgonera
Description:
We could really use templates to untangle SkinMobile.php. Since we'll be using Mustache[1] templates in JavaScript (or specifically the Hogan[2] implementation), we could also consider using them on the server side.
Logic-less templates enforce separation between logic and presentation because you simply can not write any code inside them. Separate files for HTML and PHP code for the win!
[1] http://mustache.github.com/
[2] http://twitter.github.com/hogan.js/
Version: unspecified
Severity: enhancement