Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Is it possible...

Name: Anonymous 2010-06-04 15:38

To program a lisp or C application and use that as a website?


I'm an expert programmer who knows nothing about building websites, but now I need to. I have no idea how HTML works so where to I start? It doesn't seem like HTML is either functional or iterative in anyway. I might sound like an idiot... but how does it work? I'm too embarrassed to ask my son because he looks up to me too much.

Name: Anonymous 2010-06-04 15:40

>>1
Yeah, its called PHP.

Name: Anonymous 2010-06-04 15:43

<html xmlns="http://www.w3.org/1999/xhtml"><head><title>4chan BBS - Programming</title>
<base href="http://dis.4chan.org/" />
<meta http-equiv="Cache-control" content="must-revalidate" />
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="/prog/ is 4chan's BBS for computer programming."/>
<meta name="keywords" content="bbs,computers,software,programming,php,perl,html,sql,python,ruby"/>
<meta name="robots" content="noarchive" />
<link rel="alternate" title="Atom feed" href="atom/prog" type="application/atom+xml" />
<link rel="stylesheet" href="http://static.4chan.org/css/dis/world4ch/global.css" />
<link rel="stylesheet" href="http://static.4chan.org/css/dis/world4ch/0ch.css" title="Pseud0ch" media="screen"/>
<link rel="alternate stylesheet" href="http://static.4chan.org/css/dis/world4ch/yotsuba.css" title="Yotsuba" media="screen" />
<link rel="alternate stylesheet" href="http://static.4chan.org/css/dis/world4ch/terminal.css" title="Terminal" media="screen" />
<link rel="stylesheet" href="http://static.4chan.org/css/dis/world4ch/print.css" media="print"/>
<link rel="shortcut icon" href="http://static.4chan.org/image/favicon-dis.ico" />

<script type="text/javascript" src="http://static.4chan.org/js/dis/styleswitcher.js"></script>
<script type="text/javascript" src="http://static.4chan.org/js/dis/global.js"></script>

</head>
<body class="board">

Name: Anonymous 2010-06-04 15:43

All it is is generating content. Find the appropriate libraries to help you along and that's it.

Name: Anonymous 2010-06-04 16:00

>>1
I'm too embarrassed to ask my son because he looks up to me too much.

How old is he? 5?
Just ask him. Im sure he will tell you to use PHP.

Name: Anonymous 2010-06-04 16:06

If only someone had invented CGI.

Name: Anonymous 2010-06-04 16:53

I'm growing fond of this Markup::Perl, does anybody have any objections?

http://search.cpan.org/~mmathews/Markup-Perl/lib/Markup/Perl.pm

I see it as what PHP wanted to be.

Name: Anonymous 2010-06-04 17:29

>>1
Is this a serious question?

Yes, you can do it in any language. A web app is just a program that outputs HTML. Doing it in C however is a bad idea because it isn't safe.

Most web apps these days are written in PHP, Perl, Python, or Ruby (in that order). You can do it in Lisp however; check out PLT-Scheme or Arc. Hacker news is written in Arc.

Name: Anonymous 2010-06-04 17:54

>>8
Most toy web apps are written in PHP, Perl, Python, or Ruby.  Enterprise web applications are written in Java or C#.

Name: Anonymous 2010-06-04 17:56

>>9
The real hardcore ones use Javascript and Flash.

Name: Anonymous 2010-06-04 20:47

>>8
What do you mean output html? Whats the input? Where is the program even run?

Name: Anonymous 2010-06-04 21:22

http://yourworldoftext.com/prog - Hang out or go on a great journey to the edges of the known universe today!

Name: !7W3W2jFOiU 2010-06-04 21:25

>>11
INPUT:
GET /prog/ HTTP/1.1
Host: dis.4chan.org

...

OUTPUT:
HTTP/1.1 200 OK
Date: 9/11
Server: Apache
Last-Modified: Sat, 05 Jun 2010 00:53:08 GMT

<aids>
...

Name: Anonymous 2010-06-05 3:37

>>1
There's a handful of web app servers written in CL, you should check them out.

Don't change these.
Name: Email:
Entire Thread Thread List