[fpc-pascal] Embedded web server

2011-02-24 Thread Héctor S . Ponce
Hello, could you please send me information about the web server? link
is broken...

Thanks


Leonardo M. Ramé Wrote

*Hi, I need to create a web app and don't whant to use CGI or Apache
**modules, in fact I whant to
**create my own web server that serves only an embedded app.
**
**Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was
**looking for something similar.
**
**Leonardo M. Ramé
*

I learned a lot while hunting for a web server. I have not needed nor
investigated embedded web server's but perhaps you will find success
with these items like I did:

FPC Multi-Threading Support
FPC Socket Lib
TProcess (Or the Process Unit) for launching external processes. (Not
sure this applies to your application)

I was quite impressed with nYume Web Server by the Replicator in
Russia, which is less then 1000 lines of code I THINK.

I learned a lot and now have a web server totally written in FPC that is
1.7 times faster than apache on static web pages (bench marked using ab,
same html pages, same machine etc)

I was able to use FPC process unit to create direct CGI support (
executable cgi apps), Perl (via cgi) , and PHP (via CGI), and my
executable can run as   a webserver or a multi-threaed CGI client system
- with a simple change to the config file. So now I have two major ways
to deploy my web applications written in FPC: CGI or Standalone - Which
is WebServer + Built in Application Mode.

I managed virtual host support, and apache compatible logging in
apache's combined mode.

Here is the link to the nYume Web Server's downloads.

http://zero.kanet.ru/files/?page=/nYume_Server

I learned a lot from this guy's code, help on this forum, and just
banging away all on my keyboard all hours night and day ... so if you
have any questions - feel free to ask - I MAY be able to save you a
minute.


Best Regards,
 Jason P Sage


Héctor S. Ponce
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Jorge Aldo G. de F. Junior
in powutils theres a lightwebserver that does almost everything.

and you can register your own request handling procedures

2011/2/23 Héctor S. Ponce hectorspo...@gmail.com:
 Hello, could you please send me information about the web server? link is
 broken...

 Thanks


 Leonardo M. Ramé Wrote

Hi, I need to create a web app and don't whant to use CGI or Apache

modules, in fact I whant to
create my own web server that serves only an embedded app.

Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was
looking for something similar.


Leonardo M. Ramé


 I learned a lot while hunting for a web server. I have not needed nor
 investigated embedded web server's but perhaps you will find success
 with these items like I did:


 FPC Multi-Threading Support
 FPC Socket Lib
 TProcess (Or the Process Unit) for launching external processes. (Not
 sure this applies to your application)

 I was quite impressed with nYume Web Server by the Replicator in

 Russia, which is less then 1000 lines of code I THINK.

 I learned a lot and now have a web server totally written in FPC that is
 1.7 times faster than apache on static web pages (bench marked using ab,
 same html pages, same machine etc)


 I was able to use FPC process unit to create direct CGI support (
 executable cgi apps), Perl (via cgi) , and PHP (via CGI), and my
 executable can run as   a webserver or a multi-threaed CGI client system
 - with a simple change to the config file. So now I have two major ways

 to deploy my web applications written in FPC: CGI or Standalone - Which
 is WebServer + Built in Application Mode.

 I managed virtual host support, and apache compatible logging in
 apache's combined mode.


 Here is the link to the nYume Web Server's downloads.

 http://zero.kanet.ru/files/?page=/nYume_Server

 I learned a lot from this guy's code, help on this forum, and just

 banging away all on my keyboard all hours night and day ... so if you
 have any questions - feel free to ask - I MAY be able to save you a
 minute.


 Best Regards,
  Jason P Sage

 Héctor S. Ponce

 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Marcos Douglas
2011/2/23 Héctor S. Ponce hectorspo...@gmail.com:
 Hello, could you please send me information about the web server? link is
 broken...


See the project Aservia, in Powtils' tools
http://powtils.googlecode.com/svn/dev/tools/aservia/
It is based on nYume, see :
http://free-pascal-general.1045716.n5.nabble.com/Aservia-Web-Server-td2818484.html


Marcos Douglas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Jorge Aldo G. de F. Junior
http://powtils.googlecode.com/svn/dev/tools/lightwebserver/

lightwebserver is more stable and has all features (Even https)

its easily expansible.

theres two versions : the faster threaded and the slower but safer
forked version (lightwebserver2).

the forked version can even plug the powutils directly...

2011/2/24 Marcos Douglas m...@delfire.net:
 2011/2/23 Héctor S. Ponce hectorspo...@gmail.com:
 Hello, could you please send me information about the web server? link is
 broken...


 See the project Aservia, in Powtils' tools
 http://powtils.googlecode.com/svn/dev/tools/aservia/
 It is based on nYume, see :
 http://free-pascal-general.1045716.n5.nabble.com/Aservia-Web-Server-td2818484.html


 Marcos Douglas
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Marcos Douglas
On Thu, Feb 24, 2011 at 12:34 PM, Jorge Aldo G. de F. Junior
jagf...@gmail.com wrote:
 http://powtils.googlecode.com/svn/dev/tools/lightwebserver/

 lightwebserver is more stable and has all features (Even https)

 its easily expansible.

 theres two versions : the faster threaded and the slower but safer
 forked version (lightwebserver2).

 the forked version can even plug the powutils directly...

Do you use it?
What about Synapse (I think the example is HTTPSrv) vs Powtils, what
is more stable/features?


Marcos Douglas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Jorge Aldo G. de F. Junior
lightwebserver uses synapse as its socket handling library

2011/2/24 Marcos Douglas m...@delfire.net:
 On Thu, Feb 24, 2011 at 12:34 PM, Jorge Aldo G. de F. Junior
 jagf...@gmail.com wrote:
 http://powtils.googlecode.com/svn/dev/tools/lightwebserver/

 lightwebserver is more stable and has all features (Even https)

 its easily expansible.

 theres two versions : the faster threaded and the slower but safer
 forked version (lightwebserver2).

 the forked version can even plug the powutils directly...

 Do you use it?
 What about Synapse (I think the example is HTTPSrv) vs Powtils, what
 is more stable/features?


 Marcos Douglas
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Marcos Douglas
On Thu, Feb 24, 2011 at 12:59 PM, Jorge Aldo G. de F. Junior
jagf...@gmail.com wrote:
 lightwebserver uses synapse as its socket handling library


lighwebserver uses Synapse and is in Powtils' SVN? Okay... I think.


Marcos Douglas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Marcos Douglas
2011/2/23 Héctor S. Ponce hectorspo...@gmail.com:
 Hello, could you please send me information about the web server? link is
 broken...

 Thanks


I found the nYume WebServer, see:
ftp://jegas.net/archives/coderelated/freepascal/nYume_WebServer/


Marcos Douglas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Jorge Aldo G. de F. Junior
whats wrong with that ?

Powutils is a CGI library
Synapse is a sockets library.

No contradiction here.

Well, i am the author of the refered software, so i can say.

Anyway i already answered your question.

2011/2/24 Marcos Douglas m...@delfire.net:
 On Thu, Feb 24, 2011 at 12:59 PM, Jorge Aldo G. de F. Junior
 jagf...@gmail.com wrote:
 lightwebserver uses synapse as its socket handling library


 lighwebserver uses Synapse and is in Powtils' SVN? Okay... I think.


 Marcos Douglas
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2011-02-24 Thread Marcos Douglas
On Thu, Feb 24, 2011 at 7:51 PM, Jorge Aldo G. de F. Junior
jagf...@gmail.com wrote:
 whats wrong with that ?

 Powutils is a CGI library
 Synapse is a sockets library.

 No contradiction here.

I'm sorry, I did not know Powtils. I thought that Synapse was similar
to Powtils.


 Well, i am the author of the refered software, so i can say.

You made lighwebserver?


 Anyway i already answered your question.

Yes, you did, thanks.


Marcos Douglas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Michael Van Canneyt


On Wed, 14 Mar 2007,  wrote:

 Hi, I need to create a web app and don't whant to use CGI or Apache modules, 
 in fact I whant to
 create my own web server that serves only an embedded app. 
 
 Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was looking 
 for something similar.

As far as I know, Lnet contains an embedded webserver.
The fpc-xml also has one, in combination with fpasync.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Leonardo M. Ram
Thanks Michael, can you point me to the urls of that products? 

--- Michael Van Canneyt [EMAIL PROTECTED] wrote:

 
 
 On Wed, 14 Mar 2007,  wrote:
 
  Hi, I need to create a web app and don't whant to use CGI or Apache 
  modules, in fact I whant
 to
  create my own web server that serves only an embedded app. 
  
  Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was 
  looking for something
 similar.
 
 As far as I know, Lnet contains an embedded webserver.
 The fpc-xml also has one, in combination with fpasync.
 
 Michael.
 ___
 fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
 http://lists.freepascal.org/mailman/listinfo/fpc-pascal
 



 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Felipe Monteiro de Carvalho

On 3/14/07, Leonardo M. Ramé [EMAIL PROTECTED] wrote:

Thanks Michael, can you point me to the urls of that products?


http://wiki.lazarus.freepascal.org/lNet

fpc-xml should be part of a normal fpc installation afaik
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Embedded web server

2007-03-14 Thread Michael Van Canneyt


On Wed, 14 Mar 2007,  wrote:

 Thanks Michael, can you point me to the urls of that products? 

The lazarus wiki contains a lcl page; the rest is part of FPC by default.

You could also try Indy for FPC, I don't know if Synapse has a server component,
it definitely has client components.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal