[Gambas-user] New gb.web.form component

Jerry McBride jmcbride at ...2309...
Mon Nov 16 04:35:14 CET 2015


On 11/09/15 23:19, Benoît Minisini wrote:
> 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).
>

That would be usable.

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

This will change, Yes? multi-instances is a must.


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

The whole purpose of a webapp is to provide a tool for many users. Can 
you say what the upper limit of users running the same webapp?

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

That is the nature of CGI. But on a sufficiently powerful service the 
lag in performance is lost in network delay/latency.

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

A very good start. I am currently writing webapps in runbasic. Sorry to 
say, runbasic looks as though it will never be a finished language. I 
hope GamBas provides us with a seriously good tool to write web 
applications in a language that we are familiar with.

I appreciate all your efforts in this regard.

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






More information about the User mailing list