Autore Topic: Nuovo Componente gb.web.form  (Letto 391 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.395
  • Ne mors quidem nos iunget
    • Mostra profilo
Nuovo Componente gb.web.form
« il: 10 Novembre 2015, 09:18:19 »
Riporto un messaggio di Minisini:

" Hi,

The gb.web.form is a new component whose goal is easing Web application
developement by mainly allowing to use the IDE form editor to define
your GUI interface.

It will use the web browser mainly as a sophisticated terminal. All the
application logic will be run on the server. It won't allow you to
create an application entirely in javascript that will be run inside the
browser (like Google docs for example).

The GUI is based a hierarchy of classes inheriting WebControl. The web
page is defined by a WebForm class. And you have a generic container
control, a button control, and a HTML control at the moment.

Complex javascript run on the browser must be implemented through
dedicated web controls. For example, we can imagine a control to put
OpenStreetMap inside your web application, a tree view, a grid view...

How to switch from one web form to another one is not designed yet. At
the moment, the url 'http://<server>/<root>/abcd' is supposed to display
the web form whose class name is 'abcd'. There is no way to have
different instances of the same web form.

The application state is stored in the user session. Don't expect to run
millions of users at the same time without suffering.

Do understand that the web application is a CGI script that must build
everything from scratch at each request, contrary to a normal
application. It has performance impact.

It is really an embryo at the moment, but you can run the project to
display a WebForm1 test form and see how it behaves.

Just tell me what you think about that, what ideas you have, and so on!

--
Benoît Minisini
"
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »