Hi,

Well since I knew that one day I might like to create a web application as
well, I have tried to distinguish between the Wx GUI code and the engine
code as much as I can so the WXperl code only gather the information but
doesn't process it.

Since I don't have any experience in CGI programing (or any other web
application programing) I wonder would it help me when I will start writing
the web app?

Thanks
Erez

2009/11/30 Waldemar Biernacki <w...@sao.pl>

> Dnia środa 25 listopada 2009 o 12:41:48 Erez David napisał(a):
> > Hi,
> >
> > I have written a nice GUI application using WxPerl and now I want to run
> the
> > same application with the same look in a web server so it will be a web
> > application and users can use it with a web browser.
> it strongly depends on what is the application. I have some experience in
> building database applications which works simultaniously as a normal GUI
> (based on perl Win32::GUI) and as a web application (both purely perl). The
> main differences between GUI and browser application is as follow (the
> following points show that web browser technology seems to be more
> complicated but the big plus is no installation on client machine):
>
> 1. sessions: in GUI application session is of course on client machine, in
> a browser application it is stored on server side (fastCGI or similar
> technology is very usefull - then full objects can  be stored not only
> variables),
>
> 2. keyboard events. I had to program these events in a browser (in
> javascript - if you really want to simulate GUI application keyboard)
>
> 3. data exchange between client and server: in GUI you can do it directly
> but in browser always through web server (http_request technology can be
> used, but in fact I am waiting for javascript database drivers).
>
> This is a vary interesting problem: how to prepare a database (in my case)
> application which can be run as a normal GUI or in a web-browser
> simultaniuosly without any changes in a code (it's the most important!). My
> idea is to build specific very-high-level language in which all application
> logic is written. This language should be reading by GUI and WEB engines
> giving similar application. It is interesting that in web area we have many
> such templates (although their code programming level is too low in my
> opinion - including catalyst) but on a GUI side they are very few (it should
> be written in wxperl in your case).
>
> regards
> wb.
>
>
>
>
> > I don't have any experience in creating web applications though I wonder
> > what is the most logic way to convert the Wx gui application into a web
> > application which looks and feel the same?
> >
> >
> > Thanks
> >
> > Erez
> >
>

Reply via email to