rabs
rabs

Reputation: 1827

Which templating framework should I use in a PhoneGap application using JQuery Mobile

I need a javascript templating framework to help creating my detail pages in a mobile application built using PhoneGap and JQuery Mobile. I plan to release the application natively on iPhone, and Android.

I have been reading through the jQuery UI wiki about template comparisions and can't make a conclusive decision on which framework to use. With the current templating plugin not making it passed beta which framework is most likely to still be around in the next couple of years, and be a good choice to start using in a new application today?

Upvotes: 3

Views: 2260

Answers (1)

Adam Rackis
Adam Rackis

Reputation: 83376

KnockoutJs is what I'd go with. It fits quite well with jQuery since it's templating engine is built on the jQuery template plugin.

It also allows you the ability to two-way bind dom elements to a JavaScript ViewModel object of your choosing.

Upvotes: 1

Related Questions