Version 1.1

  3 posts   Feedicon  
Replies: 2 - Last Post: September 17, 2008 14:09
by: ravenspoint
« Older Topic » Newer Topic
showing 1 - 3 of 3
 
Posted: September 13, 2008 23:54 by ravenspoint

I have begun work on version 1.1

The server and request handler construction code will be moved into the cWebem constructor.

This will simplify the API.

Application code will construct a new cWebem object, register the methods with the new object, and run it.

cHello hello;

// Initialize web server.

   http::server::cWebem theServer("0.0.0.0", "8080", ".\");


// Whenever server sees <!--#webem hello-->
// call cHello ::Display() and include the HTML returned

theServer.RegisterIncludeCode( "hello", 
    boost::bind( 
    &cHello ::Display,  // member function
    &hello) );          // instance of class

  // run the server

 theServer.Run();
 
Posted: September 15, 2008 17:51 by ravenspoint
Checked in re-arranged code, with two simple hello world examples.

The documentation needs to be updated.
 
Posted: September 17, 2008 14:09 by ravenspoint
The documentation has been updated.

I have added a second "webem control" which makes it simple to display application data that is associated with dates on a month by month calendar.
Replies: 2 - Last Post: September 17, 2008 14:09
by: ravenspoint
« Older Topic » Newer Topic
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close