Page MenuHomePhabricator

Choose a standard template language
Closed, DuplicatePublic

Description

Flow using handlebars
Mobile using hogan
Gabriel's knockoff template language.
One template to rule them all

Details

Reference
fl515

Event Timeline

flimport raised the priority of this task from to Medium.Sep 12 2014, 1:44 AM
flimport set Reference to fl515.

tparscal wrote on 2014-07-31 22:59:06 (UTC)

This may not be necessary if we can support both through the same API provided by the planned TemplateWidget. I believe that we should focus first on mustache, but it's fine to support others too.

SG wrote on 2014-07-31 23:12:44 (UTC)

We have some good use of Handlebars in PHP via lightncandy. While mustache makes sense, lightncandy has proven itself to be quite fast for us. Insanely so in hhvm.

On the other hand, knockoff would allow us to use knockout.js, which could be particularly useful for real-time updating of content.

The server-side implementation [https://gerrit.wikimedia.org/r/#/c/187728/] is done (for now). Client-side implementation seems to be stalled: https://gerrit.wikimedia.org/r/#/c/180647/

I think this task can be marked a duplicate of T379: RfC: HTML templating library (backend and frontend).

Danny_B moved this task from Doing… to Unsorted on the UI-Standardization board.May 20 2016, 9:03 PM