On 7/15/13, Anoop Nayak <[email protected]> wrote: > Hi Olemis, >
:) >> The real question I make to myself is, in these kinds of editors >> where's the model ? Or is it that you'd just use client-side >> templating ? > > Ya I just wanted to use a framework to provide a structure. As of now there > aren't any models. Since I was learning angularjs I just quoted it :). I > might only be using the client side. I intially thought of making the > editor into an app and it does the rest of the job. I don't know how the > situation might be. And can you suggest some approaches on solving this? Right now I do not recall . > I > have to submit my proposal at the earliest :) with a well written timeline. > >> If the later case is the target then **ideally** I'd rather use a >> solution supporting Genshi templates so that it will be possible to >> reuse existing and have a consistent style in server and client code. >> In the mean time there's a patch proposed in #195 based on Blueimp's >> js templates engine. However it's not a straitjacket due to the fact >> that jQuery-File-Upload may be customized to use custom JS template >> engines (if there's a good reason to do so ;). > > I didn't quite get you here. Did you mean to use some stuff like genshi2js? > Or another library which can go hand in hand with genshi templates? > That would be the **ideal** approach (and that's IMO) in order to reuse Genshi templates in the client-side and write them just once. Otherwise UI templates have to be written at least twice . [...] -- Regards, Olemis.
