Project

General

Profile

A Wt Application Embedded in an Existing Website

Added by Charles Brockman almost 10 years ago

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?


Replies (3)

RE: A Wt Application Embedded in an Existing Website - Added by Koen Deforche almost 10 years ago

Hey Charles,

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.

Regards,

koen

RE: A Wt Application Embedded in an Existing Website - Added by Wim Dumon almost 10 years ago

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.

Wim.

RE: A Wt Application Embedded in an Existing Website - Added by Charles Brockman almost 10 years ago

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.

    (1-3/3)