Hey Parveen, 2011/11/17 Parveen Arora <m...@parveenarora.in>: > On Thu, Nov 17, 2011 at 5:00 AM, John Robson <john.rob...@usp.br> wrote: > > Hi John, > >> HTML + CSS with XMLs is the best solution. > I don't think so it should be if one is using witty, because as per as > my knowledge while using wt you do not need to learn any extra > language which is also mentioned in the introduction of witty on its > own website.
Actually, HTML (basic markup, i.e. as originally conceived to markup text) and CSS (for layout) are two convenient languages to declaratively describe a certain form or part of your user-interface. You do not have to learn this, but it will help, and you will be more productive with Wt if you learn these (in so far HTML knowledge is not part of our collective knowledge). Wt didn't have WTemplate until more recently, so there is no obligation to use it. What you will not have to learn and deal with is Ajax, JavaScript, CGI, WebSockets, CORS, security issues (XSS, CSRF, application logic). > So I have some doubt regarding this, that how using HTML +CSS with > XMLs will be the best solution? A declarative language works well for "static" forms/layouts. Thus it may work well for some types of widgets. > Do you mean we should use witty with these or not, If yes then what is > the role of witty and what are the core benefits of it. > Can you please explain a bit more? The main added value of Wt is how events are handled, how data is propagated from browser to server (automatically), and how changes to the widget tree are tracked and propagated from server to browser. And because you do not need to deal with this, Wt can make sure this works (quite differently) for both plain HTML as Ajax/WebSockets sessions. Regards, koen ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest