Dnia wtorek 01 grudnia 2009 o 10:22:01 Erez David napisał(a):
> 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.
Does it mean that you did separate module for GUI operation and in principle 
you can replace the module with another one and all  your application will be 
running? For instance replace with Prima GUI or Win32::GUI (in principle means 
without some GUI widgets or events which are specific only for WXwidgets).

> 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?
I think if you did such a separation then it should help you very much. All you 
have to do is to make instead WX widgets/event their CGI/javascript 
counterparts.

I would be very happy if I could take a part in a project deal with the stuff!
Please look at my site: seal.sao.pl, where (very, very slow!) such a project is 
developing (GUI part now). 

regards
wb.

> 
> 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