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

hey guys, i'm making a new text board

Name: Anonymous 2008-04-17 8:34

with C and AJAX!
mostly AJAX, just a tiny bit of C. so far i have almost all of the C written and about half of the HTML. i'll finish the HTML and start working on the javascript tomorrow if i haven't realized by then that this is a very bad idea.
i'll probably post the code here when i finish it.

Name: Anonymous 2008-04-18 11:27

if you write a small HTTP server that uses an SQL backend and exposes a JSON interface, you can hack an AJAX script together (eg using YUI) to download and display the posts.

The only problem would be that if you want to add posts you'll probably will want to put this in a POST method, and AJAX scripts -afaik, feel free to correct me- won't allow POST requests to anything but the home server.

what this means, in effect, is that your small HTTP server will also need to contain hooks to do download the script (navigate the filesystem). suddenly, there's little reason not to use apache+php for the everything-but-the-ajax-html-file part.

unless i'm mistaken about the ajax post thing, but i found this: http://snook.ca/archives/javascript/cross_domain_aj/

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