News for hackers. Stuff that matters.
Re:Ask HN: Bet the farm. Python or PHP? by thorax on Saturday June 07, 2008 @10:14PM (#211847)
I loooove Python. But if asked to "bet the farm" on a web app, I'd go with PHP because it's been successfully demonstrated again in again in every form of web app you can imagine. In a year, I'd recommend Python, but I still find Django and the other web frameworks a bit too immature and clunky to do things that PHP has been hacking with for years and years. As much as I hate to say it, for the Python community the web server has been an afterthought until the past two years. PHP was bred there.

I probably would say it's a closer call if we hadn't found a great MVC framework for PHP called Code Igniter that just makes PHP (of all things) much more pleasurable to hack in than it used to be.

All this being said, you're not risking much by going with Python/Django. But if the farm is on the line, I'd personally have to go with LAMPhp.

Re:Ask HN: Bet the farm. Python or PHP? by markbao on Sunday June 08, 2008 @04:10PM (#212264)
CodeIgniter seconded. Makes PHP programming a lot easier. Also check out CodeIgniter fork Kohana. I use it to run an advertising network, works really well - ORM and tons of libraries (and of course, being open-source) makes it great.
Re:Ask HN: Bet the farm. Python or PHP? by jamongkad on Sunday June 08, 2008 @09:45PM (#212429)
Yup I have to admit CodeIgniter rocks. Made hacking in PHP worthwhile again.
Re:Ask HN: Bet the farm. Python or PHP? by t0pj on Saturday June 07, 2008 @11:16PM (#211866)
Code Igniter framework for PHP.

Thanks. I'll take a look at that.

Re:Ask HN: Bet the farm. Python or PHP? by MikeW on Sunday June 08, 2008 @06:13PM (#212318)
My personal gripe with Code Igniter is that it doesn't have a built-in templating language (this is by design).

I absolutely love Smarty (smarty.net) and highly recommend it and have used it in many projects so far.

There have been attempts to integrate Smarty into CI but I saw a benchmark that showed that combination was unacceptably slow and won't scale well.

Re:Ask HN: Bet the farm. Python or PHP? by t0pj on Sunday June 08, 2008 @10:09PM (#212443)
Thanks for the link to Smarty. I'm checking it out now.