Skip to content

Comment on Would you like a Django-like framework for PHP?

Comments

Laravel is somewhat based on Django (at least that is what I recall reading, I can't seem to find the link to it though)

http://laravel.com/

PHP isn't too bad, but then again, I've never written a 100 thousand line app and tried to manage it too.

If you want to, start building it. People will use it, simply because there are millions of PHP "developers" out there.

Thing is though, Python is just so much easier to use (and people are realizing this slowly), so why not just contribute your valuable/limited time to Django itself?

Python is just so much easier to use (and people are realizing this slowly),

Not really. In fact, PHP is growing at a faster rate now than it ever has, precisely because people are realizing how powerful it can be compared to Python and Ruby.

There aren't any features of Python that make large codebases any inherently easier to manage compared to PHP.

Honest question, what exactly is easier "to use"? Most hosting configs have php installed, to write a program you just code and save it as a .php, basically made for Mysql, and you have more documentation online than probably any other server side language.

The spaghetti in PHP is the problem. If you are writing a small script that needs to run on the web, PHP is a good way to do it on some cheap shared host.

The problem people who are PHP devs themselves have mentioned is the sheer difficulty of managing massive amounts of PHP code. It's just hard to read and follow.

Try reading through the code in a Django app, and it will make sense to you.

I came from a PHP background and I can honestly tell you (with no amount of sounding like a fanboi) that I think I finally understand the merits of a well-written language like Python.

That makes sense, admittedly I've only had to work with small applications.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.