https://bugzilla.wikimedia.org/show_bug.cgi?id=44130
Web browser: ---
Bug ID: 44130
Summary: Use real (logic-less) templates to generate HTML
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: MobileFrontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
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/
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l