A Wt Application Embedded in an Existing Website
I have a C++ desktop application that I want to move to the Web using Wt. My intention is to make the application available only to authorized users as part of an existing Website. The site is constructed with the Joomla content management system and hosted on an Apache server.
The usual scenario is that a visitor comes to the Website, registers and is approved by an administrator. At that point they can go to a page on the site and run the Wt application.
I haven't seen anything in the forum or on the Wiki that addresses this situation. Is the widget-set mode and WTemplate applicable or is that too limited?
Is this plan feasible or will I run into some roadblocks?
This sounds like a typical use case for the widget-set mode. The only things you should watch out for is interference between the host page (joomla) and Wt, w.r.t. CSS.
To be secure you have to pass some login authentication (some form of secret session ID?) from joomla to Wt, and let your Wt application verify that the user was authenticated by joomla. Otherwise someone could access the wt widgetset application without passing through joomla's authentication too.
That's encouraging. Over the next several days I'll implement my plan and start by adapting the example in \wt-3.2.1\examples\feature\widgetset\hello.html.