Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Multiple EWB Applications
Fri, Sep 25 2015 2:49 AMPermanent Link

Petter Topp

Seem to recall that this has been discussed previously, but can't find the thread...

In my case I'm considering building two different EWB clients that share the same database (Client1 is well on it's way in development).
The Idea is that Client1 is highly specialized to run on desktop computers with a fixed screen size (some views shows a lot of information) - This client will also handle editing (and versioning) of data.

Client2 however is a simple version of client1 with only browsing and searching capabilities that could/would be run on smaller devices like phones and pads.

Is it possible to deploy/run two different clients with one EWB Server?
If not what alternatives are there?

Br
Petter
Fri, Sep 25 2015 4:20 AMPermanent Link

Matthew Jones

Petter Topp wrote:

> Is it possible to deploy/run two different clients with one EWB
> Server?

Hmm, I'd be surprised if it wasn't. I know that I have two applications
on my server, one is the default, other other you have to use a
specific URL. The default one is the "web shop", and the other is my
administration tool.

FWIW, my original EWB1 version had both in the same directory, so they
could share code. But that was actually complicated, so in converting
to EWB2, I created new folders and a common folder for utility
functions, and the projects output to the same output as the original
projects. Thus I now actually have four EWB applications from the same
server, all using the same back-end. That back-end though is RemObjects
SDK, not EWB server, but I can't see why it wouldn't work just the same.

--

Matthew Jones
Fri, Sep 25 2015 4:24 AMPermanent Link

Walter Matte

Tactical Business Corporation

Petter:

Yes.

EWB outputs 2 files + any graphic files... (see you output folder)
project1.js
project1.html

You second project would be: project2.html and project.js  

You would deploy these files - since they have different names - there is no conflict.

Both would talk to the server (EWB Server or IIS or what ever server you have that serves up the webpages)
The server will grab data from the database based on the request from whatever project is being run.

Walter
Fri, Sep 25 2015 5:42 AMPermanent Link

Petter Topp

Hi Walter.

Just before I posted the post I tried out exactly as you have described.
But couldn't make it work.

It helps to be able to access the server... for some reason my server was not responding due to network issues...
After having restarted the server things work just fine...

Petter
Image