News for hackers. Stuff that matters.
Re:PHP Built-in web server by radius on Monday September 10, 2012 @03:59PM (#4501888)
Yeah, but setting up a rails or django server/hosting environment for development is a lot more difficult than a comparable php setup; tools like MAMP, XAMP, et al make it fairly trivial to get going quickly.
Re:PHP Built-in web server by Joeboy on Monday September 10, 2012 @04:23PM (#4502024)
> pip install django

> django-admin.py startproject myproject

Is that really so hard?

Re:PHP Built-in web server by ceejayoz on Monday September 10, 2012 @05:24PM (#4502342)
You need pip first, especially if you're on Windows, which I'd imagine is a little more difficult than just installing XAMPP with an .exe.
Re:PHP Built-in web server by wilmoore on Monday September 10, 2012 @06:06PM (#4502535)
XAMPP/MAMP and others like it seem like they make life easier until you hit a point where you realize that they are seriously leaky implementations. I wish I had time to write in detail about this (because I also hate when people make claims like this without showing examples); however, I have a feeling that the people that would benefit the most won't care anyway.

Don't these distros still put php.ini in c:\windows?

Re:PHP Built-in web server by est on Monday September 10, 2012 @08:37PM (#4503093)
nope.avi

You need mysql-python, which depends on some header from mysql-client-dev, which requires some compiling or package, then there's PIL, virtualenv, uwsgi and shit.

Oh wait, you don't have pip on most distros by default. You need to apt-get or wget that.

Re:PHP Built-in web server by encoderer on Monday September 10, 2012 @10:52PM (#4503509)
If you follow defaults you'll be using SQLite in Django and won't have any of the MySQL headache.

But you're right about needing PIP.

Re:PHP Built-in web server by est on Monday September 10, 2012 @10:58PM (#4503526)
If you are working on a serious project you are likely to write some db specific code, sqlite3 is only suitable for general ORM-only tasks.