How to twist the words of others to my own dire purposes?
November 29, 2006 2:21 AM
Subscribe
I want to create a web application in which the user enters text into a field and clicks on a submit button, and the text is then altered based on a set of conditions and given back to the user. What's the easiest way of doing this? I have a vague idea that I should use Perl and CGI. I don't know Perl or CGI, but I do know a bit of Java, a bit about servlets and JSPs, some Visual Basic, and quite a bit about http.
I realize that there is a certain irony to my posting this on metafilter, where there is clearly something similar at work, but that unfortunately, being on the user end of that doesn't make it clear to me what the actual mechanism is.
posted by bingo to computers & internet (13 comments total)
If the alteration is tricky, I can't help much, I suck at playing with text.
If it is simple, I would use PHP or Python. PHP is easier to get started with, is very forgiving (allowing very crappy code to 'work'), and works fine for simple stuff like this. Most hosting providers have it for free.
Client side, I would do it with Flash (I write actionscript for a living, would take the least time for me to write), and can figure out how to do it with javascript (I am a bit rusty, and was never very advanced).
If you give a more beefed up spec, I can help you with some code samples, anything to keep me distracted from my job :)
posted by Dataphage at 2:40 AM on November 29, 2006