Thank you for an interesting post

----- Messaggio originale -----
Da: Roberto Lopez <[EMAIL PROTECTED]>
Inviato: domenica 13 luglio 2008 3.22
A: Harbour Project Main Developer List. <[email protected]>
Oggetto: Re: [Harbour] What will be harbour 2.0 for you?

Massimo Belgrano wrote:

> The question is "CUI-GUI-WWW without source code modification" is
> possible or impossible?

These are some random thoughts... please don't take it too seriously :)

Well... IMHO a possible approach could be assume that each @ SAY/GET... 
READ construct as an implicit modal window definition and activation 
(for GUI). This way, all pending gets will be included in a new window 
shown when READ is reached. The modal window could be automatically 
closed when read is terminated.

This mechanism could work well for most common situations in a standard 
app, and could be a 'default behavior' that eventually could be changed 
by special compiler switches.

Clipper 5.3 syntax includes some controls that could give you a basic 
GUI functionality easily portable to Win32 API or GTK.

Regarding WWW, the application (running in the server) should send an 
HTML form 'equivalent' to each " say/get read construct, and wait for 
client response....

The two main problems here, are that, AFAIK HTML forms could not provide 
adequate functionality and that running binaries at the server is not 
always possible or affordable.

The first, perhaps, could be solved using javascript... the second looks 
very complicated and 'unreachable' goal (maybe doing that Harbour create 
  PHP code to run on the server?).

Regards,

Roberto.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to