Java + PHP, Ruby+PHP, Ruby + C++, or what else?
Could a website be written in more than one language, if yes, whatcombination of languages do you recommend?
Collapse
This topic is closed.
X
X
-
Erwin Moller
Could a website be written in more than one language, if yes, whatcombination of languages do you recommend?
Tags: None -
Michael Fesser
Re: Could a website be written in more than one language, if yes, what combination of languages do you recommend?
..oO(Erwin Moller)
Of course you can write a website in a dozen different languages if you>Java + PHP, Ruby+PHP, Ruby + C++, or what else?
want, each page in a different one if necessary. Why do you ask?
Micha
PS: As said before - please write your question in the message _body_.
-
larry@portcommodore.com
Re: Could a website be written in more than one language, if yes,what combination of languages do you recommend?
On May 5, 7:43 pm, Erwin Moller <hi.steven...@g mail.comwrote:Languages generally have strong and weak points. It all depends onJava + PHP, Ruby+PHP, Ruby + C++, or what else?
what you wish to accomplish. From there you select the language(s)
that can help you meet those goals.
As an example say you are having a website report on real time data
collectin stats, you might want to write the data collection portion
in C as it is a faster language and have PHP grab the stats
periodically from the C component and report them, etc.
A great deal in good web sites is not the coding as much as the
planning, then after you have a good plan and idea, you look at how to
get there with the right code.
Comment
-
Erwin Moller
Re: Could a website be written in more than one language, if yes,what combination of languages do you recommend?
On May 6, 10:55 am, Michael Fesser <neti...@gmx.de wrote:Sorry, I will pay attention to it from now on..oO(Erwin Moller)
>>Java + PHP, Ruby+PHP, Ruby + C++, or what else?
Of course you can write a website in a dozen different languages if you
want, each page in a different one if necessary. Why do you ask?
>
Micha
>
PS: As said before - please write your question in the message _body_.
Comment
-
Piotr
Re: Could a website be written in more than one language, if yes,what combination of languages do you recommend?
Erwin Moller wrote:You can also combine PHP with both Perl and Python.Java + PHP, Ruby+PHP, Ruby + C++, or what else?
best regards
Piotr N
Comment
-
The Natural Philosopher
Re: Could a website be written in more than one language, if yes,what combination of languages do you recommend?
Erwin Moller wrote:C, Assembler, Fortran..perl, python, BASIC..anything that can produce aJava + PHP, Ruby+PHP, Ruby + C++, or what else?
stream of text to stdout in fact.
Comment
-
Peter H. Coffin
Re: Could a website be written in more than one language, if yes, what combination of languages do you recommend?
On Tue, 06 May 2008 10:24:04 +0100, The Natural Philosopher wrote:I did a small one in CGI Cobol once. (It was that or Fortran on thatErwin Moller wrote:>>Java + PHP, Ruby+PHP, Ruby + C++, or what else?
C, Assembler, Fortran..perl, python, BASIC..anything that can produce a
stream of text to stdout in fact.
machine....)
--
CS is about lofty design goals and algorithmic optimization. Sysadmining
is about cleaning up the fscking mess that results.
Comment
-
Ivan Marsh
Re: Could a website be written in more than one language, if yes, what combination of languages do you recommend?
On Mon, 05 May 2008 19:43:11 -0700, Erwin Moller wrote:
A website can be written in every language the webserver and browserJava + PHP, Ruby+PHP, Ruby + C++, or what else?
support... but why would you want to do that?
--
000000101001101 0 - The sixteen bit word of The Beast.
"May Darkness Consume You."
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
Best Usenet Service Providers 2025 ranked by Newsgroup Access Newsservers, Usenet Search, Features & Free Trial. Add VPN for privacy.
Comment
-
Twayne
Re: Could a website be written in more than one language, if yes, what combination of languages do you recommend?
Java + PHP, Ruby+PHP, Ruby + C++, or what else?
Nice list of languages; there are more of course. What else what?
Comment
-
Lars Eighner
Re: Could a website be written in more than one language, if yes, what combination of languages do you recommend?
In our last episode,
<a3763bca-1843-406f-937a-67cd07945096@f2 4g2000prh.googl egroups.com>, the
lovely and talented Erwin Moller broadcast on comp.lang.php:
Anything that can write plain text to STDOUT can be used to make HTMLJava + PHP, Ruby+PHP, Ruby + C++, or what else?
documents because HTML is just plain text. This would include sh and other
shells and a large number of commands --- nanoblogger, for example, is a
blog written in sh with various uniod commands. Perl is an obvious omission
in your list. And Python, I suppose. Lisp --- if you are nuts for
parentheses. Even --- heaven help us --- FORTAN or COBOL. A number of
editors can be called with the name of an initial macro to execute, so you
conceivably use editor macro languages (about as many as there are editors)
to generate a whole website. Since many of these can use system calls (such
as backticks) to get output from the others, you could use whatever your
server's cgi module recognizes to direct the whole process. If you just
want to generate static pages that fit together as a website, there are even
more possibilities.
Okay, some of these possiblities are only theoretical unless you are already
cutting out paper dolls in a room with cushy rubber walls. People who get
out without attendants in white coats will usually want something with a
prebuilt library interface to their favorite database, but some database
clients do sensible things when called in a stream context that would make a
roll-your-own database interface not quite so intimidating as it might
otherwise seem. Likewise many commands, like various calendar commands.
The main problem with unconventional approaches is lack of portability. Even
a monkey can write stuff that works on his own machine. What makes a
programmer is writing stuff that will work on many/most machines. Of
course, many of these languages *should* work the same on any machine with
any OS (with a compiler/interpreter installed), but in varying degrees, that
is not always entirely true.
--
Lars Eighner <http://larseighner.com/usenet@larseigh ner.com
Countdown: 258 days to go.
Comment
-
Jerry Stuckle
Re: Could a website be written in more than one language, if yes,what combination of languages do you recommend?
Twayne wrote:Assembler? :-)>>Java + PHP, Ruby+PHP, Ruby + C++, or what else?
Nice list of languages; there are more of course. What else what?
>
>
>
Although I doubt it could be possible in RPG, Forth might be able to do it.
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attgl obal.net
=============== ===
Comment
-
Peter H. Coffin
Re: Could a website be written in more than one language, if yes, what combination of languages do you recommend?
On Tue, 06 May 2008 20:20:23 -0400, Jerry Stuckle wrote:*cough* See 223 of the PDF (says "208" on the corner of the documentTwayne wrote:>>>>>Java + PHP, Ruby+PHP, Ruby + C++, or what else?
>Nice list of languages; there are more of course. What else what?
>>
>>
>>
Assembler? :-)
>
Although I doubt it could be possible in RPG, Forth might be able to do it.
image).
It's gotten a bit easier in the past decade:
--
46. If an advisor says to me "My liege, he is but one man. What can one man
possibly do?", I will reply "This." and kill the advisor.
--Peter Anspach's list of things to do as an Evil Overlord
Comment
-
Jerry Stuckle
Re: Could a website be written in more than one language, if yes,what combination of languages do you recommend?
Peter H. Coffin wrote:Ah, I didn't realize IBM had created a CGI interface for RPG :-)On Tue, 06 May 2008 20:20:23 -0400, Jerry Stuckle wrote:>>Twayne wrote:>Assembler? :-)>>>Java + PHP, Ruby+PHP, Ruby + C++, or what else?
>>Nice list of languages; there are more of course. What else what?
>>>
>>>
>>>
>>
>Although I doubt it could be possible in RPG, Forth might be able to do it.
*cough* See 223 of the PDF (says "208" on the corner of the document
image).
>
>
It's gotten a bit easier in the past decade:
>
>
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attgl obal.net
=============== ===
Comment
-
Peter H. Coffin
Re: Could a website be written in more than one language, if yes, what combination of languages do you recommend?
On Tue, 06 May 2008 23:31:38 -0400, Jerry Stuckle wrote:A while ago, too.... Obviously, it doesn't get a whole lot of use, butPeter H. Coffin wrote:>>On Tue, 06 May 2008 20:20:23 -0400, Jerry Stuckle wrote:>>>>Twayne wrote:
>>>>Java + PHP, Ruby+PHP, Ruby + C++, or what else?
>>>Nice list of languages; there are more of course. What else what?
>>>>
>>>>
>>>>
>>Assembler? :-)
>>>
>>Although I doubt it could be possible in RPG, Forth might be able to do it.
>*cough* See 223 of the PDF (says "208" on the corner of the document
>image).
>>
>http://www.redbooks.ibm.com/redbooks/pdfs/sg244815.pdf
>>
>It's gotten a bit easier in the past decade:
>>
>http://www.ibmuser.com/train/dsfolder/acg4ds.htm
>>
Ah, I didn't realize IBM had created a CGI interface for RPG :-)
the capacity is there. There's some fun tricks that can be done with
HTML and AS/400 display files to make the same green-screen programs
work prettily as because the whole "accept input, lock terminal, do
stuff, push output unlock terminal,, then you can't do ANYTHING until
you get more input" metaphor of programming ports *really well* to web
applications.
If I had more free time, I'd knock up some prototypes to allow PHP
extensions to be written in RPG just for the sheer wackiness.
--
"Doesn't everybody?" is a question that never expects an answer of "No."
Comment
-
Gordon
Re: Could a website be written in more than one language, if yes,what combination of languages do you recommend?
On May 6, 3:43 am, Erwin Moller <hi.steven...@g mail.comwrote:Could you? Sure, no problem, any language that can output text canJava + PHP, Ruby+PHP, Ruby + C++, or what else?
generate a HTML page. Most languages don't have nicities like $_GET
and $_POST and so on, but you could write libraries to manually pull
stuff out of the headers and build them into arrays yourself.
Should you? Unless you have a very very very good reason, then no.
Somebody's got to keep the website maintained, why make that person's
job harder than it needs to be?
Comment
Comment