Re: Web services via httpd
- From: nostradumbass77@xxxxxxxxx
- Date: Tue, 26 Feb 2008 06:05:33 -0800 (PST)
On Feb 26, 3:18 pm, Bernhard Agthe <dark2s...@xxxxxxx> wrote:
Hi,
I need to build a web service application, I am wondering if PHP can
be used reliably because I have good familiarity with that language
(as opposed to Java). Again, I am talking about the architecture on
the server side.
"Web services" are not a new concept, nor are they linked in any way to
Java - although many (even competent) people think so.
Just search for unix man pages on the web - there are several servers.
The viewing is not static html but usually a CGI application with web
frontend.
Have a look at the "CGI-BIN" concept, you can link any application into
classical web-servers, no matter what language they're written in.
I just need an overall picture of the solution if anyone has done
something like this before.
Example:
Network -> Apache Web Server (not Tomcat) -> CGI interface -> your program
Your program communicates with Apache using stdin and stdout as well as
environment vaiables. It's all documented ;-)
PHP is just a variant of that system, although it bypasses the CGI
interface by linking directly into Apache and thus providing more
comfort and performance (which it sacrifices to the scripting engine).
Before everybody started writing "Web apps", PHP+Apache+MySQL was "THE
WAY", so there is nothing wrong with it, it's just not "trendy"...
I hope to have answered your questions ;-)
Yes, that was very helpful. Thank you. Indeed I did a Google search
for "web services with php" and got a lot of helpful links relating
exactly to what you mention and that I need.
I discovered the XML-RPC extension of PHP at http://www.xmlrpc.com/.
Now to get started developing some web enabled apps ;-)
.
- References:
- Web services via httpd
- From: nostradumbass77
- Re: Web services via httpd
- From: Lars Rune Nøstdal
- Re: Web services via httpd
- From: nostradumbass77
- Re: Web services via httpd
- From: Bernhard Agthe
- Web services via httpd
- Prev by Date: Re: Benchmarking an IO library
- Next by Date: Re: segmentation fault when porting to linux
- Previous by thread: Re: Web services via httpd
- Next by thread: I need to measure the CPU Load with C++
- Index(es):
Relevant Pages
|