Re: [Gambas-user] WebPage support in Gambas (2)

2012-03-24 Thread tobi
hi, On Sat, 24 Mar 2012, Benoît Minisini wrote: > Hi, > > I have added two syntaxes in WebPage. > > The first one is: > > <%:OtherWebPage%> > > This includes the OtherWebPage contents inside the current WebPage. > > That syntax can take attributes, like an HTML markup. > > <%:OtherWebPage na

[Gambas-user] WebPage support in Gambas (2)

2012-03-24 Thread Benoît Minisini
Hi, I have added two syntaxes in WebPage. The first one is: <%:OtherWebPage%> This includes the OtherWebPage contents inside the current WebPage. That syntax can take attributes, like an HTML markup. <%:OtherWebPage name="value" name2="value2"%> Beware the the contents of an attribute does n

Re: [Gambas-user] WebPage support in Gambas

2012-03-20 Thread Benoît Minisini
Le 20/03/2012 10:57, jm a écrit : > > What about making the include<%{OtherWebPage}%> > into a C like format i.e.<% #include OtherWebPage.html %> > and the renderer cleanly snips everything between<%..%> > including the<% and %> > and replaced it with whatever is inside OtherWebPage.html > > The i

Re: [Gambas-user] WebPage support in Gambas

2012-03-20 Thread jm
On Sun, 2012-03-18 at 14:29 +0100, Benoît Minisini wrote: > Hi, > > In revision #4561, Gambas compiler now can compile WebPage. > > What is a WebPage ? > > WebPage is a new "form" type that you enable in the IDE by using the > 'gb.web' component. > > It generates an HTML page from an HTML

Re: [Gambas-user] WebPage support in Gambas

2012-03-19 Thread John Spikowski
On Mon, 2012-03-19 at 13:16 -0400, Rob Kudla wrote: > Getting back to your original question, how do you handle distributing > the ScriptBasic interpreter to people? I can't find it in the Ubuntu > repositories; do you provide some kind of single-file executable > functionality? > > Rob You can

Re: [Gambas-user] WebPage support in Gambas

2012-03-19 Thread Emil Lenngren
Why can't anyone write a real web server for gambas that does not use CGI? Then the runtime does not have to be restarted on each request. But maybe it is a problem because gambas does not really support multi-threading? 2012/3/19 John Spikowski > On Mon, 2012-03-19 at 12:31 -0400, Rob Kudla wro

Re: [Gambas-user] WebPage support in Gambas

2012-03-19 Thread Rob Kudla
On 03/19/2012 12:50 PM, John Spikowski wrote: > (tokenized) scripts. An efficient client / server environment is > paramount if dynamic applications is your web goal. If all you care > about is displaying static pages, pretty much anything will do. You're right, and while Gambas doesn't have its o

Re: [Gambas-user] WebPage support in Gambas

2012-03-19 Thread John Spikowski
On Mon, 2012-03-19 at 12:31 -0400, Rob Kudla wrote: > On 03/18/2012 01:16 PM, John Spikowski wrote: > > I have found that it is more difficult to get folks to try your software > > if it means needing admin privileges and installing frameworks not used > > by any other applications. I would guess t

Re: [Gambas-user] WebPage support in Gambas

2012-03-19 Thread Rob Kudla
On 03/18/2012 01:09 PM, John Spikowski wrote: > What is the overhead of using Gambas as a CGI scripting engine? We've been running Gambas 1.99 as a CGI scripting engine on the gambasdoc.org host for about 5 years now. Benoit wrote the entire Gambas wiki in Gambas. Like other CGI languages (perl,

Re: [Gambas-user] WebPage support in Gambas

2012-03-19 Thread Rob Kudla
On 03/18/2012 01:16 PM, John Spikowski wrote: > I have found that it is more difficult to get folks to try your software > if it means needing admin privileges and installing frameworks not used > by any other applications. I would guess the best approach would be is To be honest, that's largely w

Re: [Gambas-user] WebPage support in Gambas

2012-03-19 Thread Fabien Bodard
2012/3/19 nando : > Thank you!!! > I'm going to migrate > Thank you Benoit > > > -- Original Message --- > From: Benoît Minisini > To: nand...@nothingsimple.com, mailing list for gambas users > > Sent: Mon, 19 Mar 2012 00:40:17 +0100 > Subj

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread nando
Thank you!!! I'm going to migrate Thank you Benoit -- Original Message --- From: Benoît Minisini To: nand...@nothingsimple.com, mailing list for gambas users Sent: Mon, 19 Mar 2012 00:40:17 +0100 Subject: Re: [Gambas-user] WebPage support in Gambas > Le 19/03/2012 00:1

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Benoît Minisini
Le 19/03/2012 00:15, nando a écrit : > If you wanted to know, an English term for > > Nothing is engraved in the marble > > would be > > Nothing is etched in stone. > > === > > One thing I am thinking right off the top is > the equivalent to sessions in PHP > where a specific folder on the

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread nando
: Benoît Minisini To: mailing list for gambas users Sent: Sun, 18 Mar 2012 14:29:23 +0100 Subject: [Gambas-user] WebPage support in Gambas > Hi, > > In revision #4561, Gambas compiler now can compile WebPage. > > What is a WebPage ? > > WebPage is a new "form&qu

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Benoît Minisini
Le 18/03/2012 18:09, John Spikowski a écrit : > On Sun, 2012-03-18 at 12:52 -0400, Rob Kudla wrote: > >> To integrate it fully into the Gambas IDE might be more work than anyone >> is willing to do, though. > > What is the overhead of using Gambas as a CGI scripting engine? > > Keep in mind that ea

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Emil Lenngren
If someone writes a mod_ for apache, yes ;) 2012/3/18 Demosthenes Koptsis > it is nice feature. > > May i ask if we can use it with apache in the future like php ? > > > > On 03/18/2012 03:29 PM, Benoît Minisini wrote: > > Hi, > > > > In revision #4561, Gambas compiler now can compile WebPage. >

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Demosthenes Koptsis
it is nice feature. May i ask if we can use it with apache in the future like php ? On 03/18/2012 03:29 PM, Benoît Minisini wrote: > Hi, > > In revision #4561, Gambas compiler now can compile WebPage. > > What is a WebPage ? > > WebPage is a new "form" type that you enable in the IDE by us

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Emil Lenngren
It is only a few megabytes. Compare that to Java, .NET, ruby, glibc, libstdc++ and so on. It is not any strange that gambas has a runtime environment that takes up some space... You maybe want to have self-unpacking executable files that contains a minimal runtime? 2012/3/18 John Spikowski > O

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread John Spikowski
On Sun, 2012-03-18 at 12:58 -0400, Rob Kudla wrote: > On 03/18/2012 11:11 AM, John Spikowski wrote: > > On Sun, 2012-03-18 at 15:54 +0100, Emil Lenngren wrote: > >> You don't need the development tools to install a desktop application? > > > > If I created a 'Hello World' Qt dialog and want to sen

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread John Spikowski
On Sun, 2012-03-18 at 12:52 -0400, Rob Kudla wrote: > To integrate it fully into the Gambas IDE might be more work than anyone > is willing to do, though. What is the overhead of using Gambas as a CGI scripting engine? Keep in mind that each request is a new Gambas session and all that goes wit

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Rob Kudla
On 03/18/2012 11:11 AM, John Spikowski wrote: > On Sun, 2012-03-18 at 15:54 +0100, Emil Lenngren wrote: >> You don't need the development tools to install a desktop application? > > If I created a 'Hello World' Qt dialog and want to send it to a friend > that has a virgin Ubuntu install. What woul

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Rob Kudla
On 03/18/2012 09:29 AM, Benoît Minisini wrote: > Nothing is engraved in the marble (french expression), The equivalent English phrase is "etched in stone", so pretty close. > so please tell what you think about that, and if you have ideas! I started separating the code from the markup in my web

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Olivier Cruilles
To beginning, from what version you develop your application, from the svn version or official package of your distribution ? In normal time, your create a package .deb from the IDE of Gambas by using the package menu and you sent it to the second machine and install it. To install it on the Ub

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread John Spikowski
On Sun, 2012-03-18 at 15:54 +0100, Emil Lenngren wrote: > You don't need the development tools to install a desktop application? If I created a 'Hello World' Qt dialog and want to send it to a friend that has a virgin Ubuntu install. What would I need to send him? -

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Olivier Cruilles
It's exact, you don't need to install all the development environment but just create the executable of your application and install the runtime + all components you use in your project. That's all. Olivier Cruilles Mail: linu...@club-internet.fr Le 18 mars 2012 à 15:54, Emil Lenngren a écrit :

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Emil Lenngren
You don't need the development tools to install a desktop application? 2012/3/18 John Spikowski > On Sun, 2012-03-18 at 14:29 +0100, Benoît Minisini wrote: > > Hi, > > > > In revision #4561, Gambas compiler now can compile WebPage. > > > > What is a WebPage ? > > > > WebPage is a new "form"

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread John Spikowski
On Sun, 2012-03-18 at 14:29 +0100, Benoît Minisini wrote: > Hi, > > In revision #4561, Gambas compiler now can compile WebPage. > > What is a WebPage ? > > WebPage is a new "form" type that you enable in the IDE by using the > 'gb.web' component. > > It generates an HTML page from an HTML

Re: [Gambas-user] WebPage support in Gambas

2012-03-18 Thread Emil Lenngren
Looks interesting! What's up next? Gambas.net framework with webforms? ;) 2012/3/18 Benoît Minisini > Hi, > > In revision #4561, Gambas compiler now can compile WebPage. > > What is a WebPage ? > > WebPage is a new "form" type that you enable in the IDE by using the > 'gb.web' component. >

[Gambas-user] WebPage support in Gambas

2012-03-18 Thread Benoît Minisini
Hi, In revision #4561, Gambas compiler now can compile WebPage. What is a WebPage ? WebPage is a new "form" type that you enable in the IDE by using the 'gb.web' component. It generates an HTML page from an HTML template having an ASP-like syntax. A WebPage has two parts: a "class" part (