Re: Does anyone else wish the C++ standards committee would give us
parity with other programming languages?
On Apr 3, 9:24 am, Ian Collins <ian-n...@hotmail.com> wrote:
James Kanze wrote:
On Mar 30, 1:46 pm, Christof Donat <c...@okunah.de> wrote:
C++ (and C) is widely used in web applications. Not for the
business logic but for the back end (think databases).
Certainly. The typical configuration (that I've seen, at least)
has a thin, rather volatile Java layer interfacing between the
server and the business logic (which is typically written in
C++, although I've also seen Cobol, and heard of cases using
Smalltalk or Objective C). The Java is responsible for actually
generating the page display and is what the HTTP server invokes.
(And it's volatile because the visual aspects of the page
display tend to change rapidly).
I have used this model a few times, PHP script opening a
connection to a running back end C++ application.
I don't know why, but the sites I've been involved in (even
distantly) have used Java instead of PHP for this. For small
sites (strictly internal use), I've also seen C#. I could
easily be wrong, but my impression was that PHP was mostly used
for private web pages, but not so much for commercial pages.
(As someone else pointed out, it suffers from the same problems
as JSP---the "code" and the HTML are mixed in the same file. I
would think that Java feeding from a template would be far more
readable, and I think that direct support for such exists.)
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orient=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34