On 2011.11.15 23:43, PARVINDER RAJPUT wrote:
>> And what the benefit when comparing Wt::WText(Wt::h1, "Parvinder");
> we need to made the another library for h1 to h6. When we put 1 it  
> take automatically h1 tag and when we put 2 it take automatically h2  
> tag and so on. It is beneficial to those, who don't know about html.
You are writing a web application.  You need to know about html.

> :p
>> with Wt::WText("<h1>Parvinder</h1>"); What if you want to render  
>> <h1><b><i>Parvidner</h1></b></i> ?
> If we want to character bold and italic, It also has own library.  
> According to me why we used html in witty. Because witty says why we  
> learn Ajax, javascript and other language, We can do all the things  
> in c++ without learning ajax and javascript language.
You could do everything in c++ if you were writing a local app.  You  
are writing a web app, so ajax and javascript may be used.  You might  
get witty to write the ajax and javascript for you, but you will then  
not understand what your app is doing, and you won't be able to  
troubleshoot problems.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to