Re: Web services via httpd



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



Relevant Pages

  • Re: Is anybodys favorite computer programming language not included here?
    ... to talk about getting me some paying work writing Java classes. ... and could be copied to a script (as in Java BeanShell or Lisp PROG). ... >> please post a followup saying what language it is, ... Server: "Mother, ...
    (comp.programming)
  • Re: Web services via httpd
    ... the server side. ... Java - although many people think so. ... no matter what language they're written in. ... PHP is just a variant of that system, ...
    (comp.os.linux.development.apps)
  • Re: What could have been?
    ... Also Apache is losing ground to Windows as a server operating system. ... that Java is /at least/ as much under attack from the ... Java has 1.7 times more available jobs than C/C++ ...
    (borland.public.delphi.non-technical)
  • Re: Java server technology question?
    ... The web server that I am familiar with is Apache. ... Does Apache have built-in Java capabilities? ... In both cases Apache handles static content and transparently passes JSP and Servlet calls to Tomcat. ...
    (comp.lang.java.help)
  • Re: Which program language is proper to do online demo?
    ... can run on the client side. ... On the server you have much ... a filter design demo) you could use any language. ... people do not need to activate java (e.g. for security ...
    (comp.dsp)