[openstack-dev] [infra] javascript templating library choice for status pages
Sean Dague
sean at dague.net
Mon Jan 13 21:12:40 UTC 2014
On 01/13/2014 03:06 PM, Michael Krotscheck wrote:
> On 01/13/2014 05:05 AM, Sean Dague wrote:
>> Honestly, I've not done enough large scale js projects to know whether
>> we'd consider status.js to be big or not. I just know it's definitely
>> getting too big for += all the html together and doing document.writes.
> Yes indeed.
>> I guess the real question I had is is there an incremental path
>> towards any of the other frameworks? I can see how to incrementally
>> bring in templates, but again my personal lack of experience on these
>> others means I don't know.
> Short answer: Yes, and the incremental path will be more/less difficult
> depending on which application framework you want to move to. [/captain
> obvious]
>
> Long answer: Pretty much all the template frameworks out there use
> {{mustache-style}} syntax. Some application frameworks use handlebars
> directly (ember), for some it's pluggable (knockout), others have their
> own framework with similar markup (angular). From what I saw of
> status.js, it's really not complicated enough to preclude a refactor to
> any of the above.
>
> Michael
> Also, what Monty said.
Well, as an expert in the area, particular recommendations would be
appreciated. I don't feel like we necessarily need one answer, but it
would be nice knock some of the options off the table.
-Sean
--
Sean Dague
http://dague.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140113/bf12046b/attachment.pgp>
More information about the OpenStack-dev
mailing list