I'm going to write a rather complex web application. I was originally planning to use PHP, but I have come to the conclusion that it sucks dicks.
So now I'm looking to find a saner webdev platform. In addition to PHP, I know Haskell and Python fairly well. I'd love to use Haskell, but I'm not sure what tools for web development are available, and whether any of them are any good. On the other hand, I've heard good things about Python regarding webdev, and presumably I have a wider range of choices and better community support here since Python is quite a bit more mainstream.
Does /prog/ have any experience and/or opinions regarding this? Things I need are basically session handling and database connectivity (MySQL will do, although more generic interfaces are always a plus). A simple template system would be nice too.
Do you have a specific problem with PHP or are you just not bright enough to figure out the installation? It's quite an adequate platform as long as you get to configure it yourself.
Name:
Anonymous2007-11-24 18:46
Perl.
Name:
Anonymous2007-11-24 18:55
Use python too look cool and for readability.
Use PHP if you want to actually get something done.
Name:
Anonymous2007-11-24 19:05
>>2
I'd rather not touch anything that has to do with Java.
As for the app itself, to put it simply it's a website/community for electronic music artists where people can upload their music, review each other's stuff, manage collaborative music projects... You get the idea.
>>3,4,6,7
Lisp/Scheme are options too. Perl, I dunno... But in any case, I'm looking for a more specialized system for webdev (A framework? Is that what they call them nowadays?) rather than just a language.
>>5
I have years of experience writing PHP and I've installed it on dozens of systems, thank you. It may be an adequate platform in that the entire language was created for web development and there are a lot of tools available for various aspects of that, but the language itself is utterly horrible and a pain in the ass to write and maintain for large projects.
I guess my major gripes are the type system (see Haskell for an example of a proper one) and the fact that functional programming concepts are impossible to apply without ugly hacks (no lambdas or first-class functions, and please don't even mention create_function()). And then there's the minor annoyances that keep accumulating, like stupid syntax limitations (why the fuck can't I do func_that_returns_array()[$key]?), inconsistent function naming, lack of namespaces and so on.
Name:
Anonymous2007-11-24 19:12
C is a great language to write web apps in.
Name:
Anonymous2007-11-24 19:15
>>7
You can tune a filesystem, but FUCK FORCED INDENTION
Name:
Anonymous2007-11-24 21:22
ADOBE FLEX 2.0 FTW
Name:
Anonymous2007-11-25 3:16
>>8
Why not Java? Honestly, gtfo theoretical bandwagons...
Very, very few people on the anti-Java Crusade have ever actually touched the real use of Java.
Name:
Anonymous2007-11-25 3:20
>>8
You seem to be here to paint the bikeshed more than anything.
I would suggest you step back and analyse your needs and requirements, write your various structured systems analysis documents and then reconsider what exactly it is that you're after.
What are the major bottlenecks of your application? It'll be bandwidth heavy, you'll want to have as much server-side caching of output as possible, strong database interaction, well-written and implemented internal-accounting...
Or what? Seriously, you need to look at this from a much more technical standpoint, or I cannot take you remotely seriously.
Python + Django is a pretty fucking stupid choice.
Name:
Anonymous2007-11-25 8:53
Most frameworks consist of, a templating engine (which did not originate within that framework), an ORM (which did not originate within that framework, and a lot of wheel reinventing, overhead, and bullshit.
So why don't you just go with python, ZPT (or another template engine), and SQLAlchemy.
I don't know what exactly to recommend for sessions these days. Maybe someone else has strong opinions.
Name:
Anonymous2007-11-25 9:04
>>19
So instead of using a reinvented wheel, you suggest reinventing the wheel once again?
Name:
Anonymous2007-11-25 10:00
>>20
Real men re-invent the wheel every morning after re-reading SICP.
OH GOD WHEN I LOOKED AT THE SPOILER I WSA LIKE "HAHAHAHAHAHAHAHAH" REALLY FUNNY U MAED MY DAY
Name:
Anonymous2007-11-25 11:00
I'm interested in abusing LISP to "hack" someone's (will go unnamed) computer, for reasons I'll keep to myself. I've done a little research on it, but I haven't yet found any solid evidence that you can use LISP to "hack" someone's computer.
If you have a large cock, you can program it in C. Of course, in reality you can't have a web app crash every few days with segfaults.
You should write program your web interface in php and use shell executions to call your custom command. By doing so, you have the reliability and stability you need
php is the best web dev tool out there. If you don't think so you haven't programed enough web applications