[Gambas-user] CGI

Phil Teare phil.teare at ...1813...
Thu Dec 13 13:04:58 CET 2007


OK

If/when I do, I'll let you know.

Cheers
Phil


On 13/12/2007, Fabien Bodard <gambas.fr at ...626...> wrote:
>
> really i don't know... if you know it better than me... you can try to
> make
> the benchmarks...
>
> 2007/12/13, Phil Teare <phil.teare at ...1813...>:
> >
> > Excellent! Merci.
> >
> > One more question. How would you say a simple GAMBAS CGI compares in
> terms
> > of speed next to asp.net.
> >
> > Obviously there's lots of dependacies regarding this question. So for
> > example, read a page of text from file, do some string manipulation on
> it
> > based on a few simple MySQL calls, and serve the result...
> >
> > Just a rough idea would be helpful. Obviously the only way to know for
> > sure
> > is test it on the actual app. But in general, is it the same order of
> > magnitude, faster, slower...?
> >
> > Based on Apache 2 on debain based LINUX, compared to Win 2003 Web Ed
> > running
> > .NET 1.1.
> >
> > Like I say, any input gratefully received.
> >
> > Cheers
> > Phil
> >
> >
> > On 13/12/2007, Fabien Bodard <gambas.fr at ...626...> wrote:
> > >
> > > Le Thursday 13 December 2007 11:35:13 Phil Teare, vous avez écrit:
> > > > Hi
> > > >
> > > > I'm a very fresh newbie to GAMBAS. Firstly thanks! Great idea, so
> far,
> > > > looking very well executed.
> > > >
> > > > I'm interested in the idea of the 'ASP like' cgi web app concept.
> > > However I
> > > > can't find any documentation on it. could I have some pointers. I
> > > realize
> > > > it may be a bit fresh, but at the mo, I just want to know whats
> there
> > > and
> > > > how to try and use it.
> > > >
> > > > Many thanks,
> > > > Phil
> > >
> > > It's really simple,
> > >
> > > You have a component nammed gb.web
> > >
> > > For a cgi, you need first have an http server like apache or other
> that
> > > support cgi...
> > >
> > > Then you make first simple app like :
> > >
> > > Public Sub Main()
> > >
> > > Response.Begin()
> > >
> > >        Print "<H1>This is my first Gambas CGI<H2>
> > >
> > > Response.End
> > >
> > > End
> > >
> > >
> > > Then you make the executable and store it in your cgi-bin path
> > > (generally /usr/lib/cgi-bin by default)
> > >
> > > and you try it in a navigator : http://localhost/cgi-bin/mycgi.gambas
> > >
> > > Simple,
> > > Look at the doc at http://gambasdoc.org in the gb.web doc
> > >
> > > gambas doc is a gambas cgi as well as http://www.gambasforge.net
> > >
> > > So all is possible
> > >
> > >
> >
> -------------------------------------------------------------------------
> > > SF.Net email is sponsored by:
> > > Check out the new SourceForge.net Marketplace.
> > > It's the best place to buy or sell services
> > > for just about anything Open Source.
> > >
> > >
> >
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > > _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> >
> >
> >
> > --
> > Phil Teare,
> > CTO & Chief Architect,
> > http://www.talklets.com from Textic Ltd.
> > (44) [0] 208 4452871
> >
> -------------------------------------------------------------------------
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services
> > for just about anything Open Source.
> >
> >
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Phil Teare,
CTO & Chief Architect,
http://www.talklets.com from Textic Ltd.
(44) [0] 208 4452871



More information about the User mailing list