I found http://www.webtoolkit.eu/wt/doc/reference/html/overview.html very useful to get the big picture. If you are using Ubuntu, I found out that using the ppa was much easier than building the wt library. Have you managed to have the wt HelloWorld example working ? The Helloworld code I used is :
---
#include <Wt/WApplication>
#include <Wt/WContainerWidget>
#include <Wt/WText>

Wt::WApplication* createApplication( const Wt::WEnvironment &env )
{
    Wt::WApplication *wapp = new Wt::WApplication( env );
    Wt::WText* txt = new Wt::WText( "<h1>Hello world</h1>" );
    wapp->root()->addWidget( txt );
    return wapp;
}

int main( int argc, char* argv[] )
{
    return Wt::WRun( argc, argv, &createApplication );
}
----
Link it with -lwtext -lwt -lwthttp and run it with ' --http-address 0.0.0.0 --http-port 12345 --docroot .' as argument.
Then open your browser and connect with the url http://localhost:12345.

That's a good start.


Le 13/05/2011 05:24, Gurpreet Kaur Karwal a écrit :
I studied the following links but though its true I found some of the things quite difficult to understand

http://www.webtoolkit.eu/wt

http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_Ubuntu#Installing-from-the-official-package

http://redmine.webtoolkit.eu/wiki/wt/Using_CMake

http://www.webtoolkit.eu/wt/doc/examples/html/modules.html

http://www.webtoolkit.eu/wt/doc/reference/html/modules.html

http://www.richelbilderbeek.nl/index.htm

https://help.ubuntu.com/community/BuildingWtFromSource

http://en.wikipedia.org/wiki/Wt_%28web_toolkit%29

http://redmine.webtoolkit.eu/wiki/1

http://www.developer.com/lang/article.php/3751236/Wt-C-Web-Toolkit-Library-Lets-You-Write-Scripting-Independent-Web-Apps.htm

wt-sdj.pdf

If there is something special for a person not at all familiar with "wt" so that he/she is also able to understand it in depth please do tell.

On Thu, May 12, 2011 at 5:39 PM, Gurpreet Kaur Karwal <[email protected] <mailto:[email protected]>> wrote:

    Hello,
    I am a beginner here and I studied quite a lot about "wt"
    impressed by its features. I tried using "wt" too. But as a
    beginner I am unable to get any satisfactory outcome after regular
    efforts. I found that the things are a bit too complex to
    understand and no examples are widely available as in case of
    other technologies. I am very much focused to bring out something
    satisfactory by the use of "wt" but till now after about a month
    or so I am not able to do so.
    Please suggest me from where should a beginner start so that
    he/she can get results he/she aims for. The resources material,
    e-book etc are welcomed if you can tell me.

    Best Wishes



------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay


_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest


--
Bien cordialement,

Ch. Meessen

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to