Well, PHP does have its intended purpose and accomplishes its objectives nicely. If you're building a one-shot, off-the-cuff application with no forethought to design or scalability, then PHP is great. It's not hard for novices to use (object orientation is optional, etc) and uses a much easier to visualize traditional filesystem model. A lot of web developers don't care to deal with exception handling or garbage collection, and it rarely makes a difference to the their task at hand. I understand that this is of course very slippery slope logic that gives rise to real turds like Cold Fusion, but for a good percentage of web applications, PHP is enough like a real programming language to get the job done without too much hassle.
That being said, I prefer Python :-) It's a much more mature language that seems to "fit" a bit better with me. It's also noticeably faster for a lot of the text processing engines I write. On Thu, Feb 3, 2011 at 10:53 AM, Cal Leeming [Simplicity Media Ltd] <cal.leem...@simplicitymedialtd.co.uk> wrote: > You know, even if PHP had a framework like Django, I wouldn't use it. PHP is > clunky, has horrible code syntax, piss poor exception handling, awful > garbage collection, weirdly named functions, and just feels 'wrong'. And > don't even get me started on performance! > On Thu, Feb 3, 2011 at 4:13 PM, Jon J <urbanconfeder...@gmail.com> wrote: >> >> KG, >> >> I've been a PHP developer for years and haven't reached outside of PHP >> pretty much ever. After writing the same code over and over and >> over and over and over again and always dealing with the same issues >> (tweaking the database through a database manager, writing admin >> interfaces, not having a broad enough codebase such as what Python >> offers, solving the same problem over and over again, etc). I'm a very >> disorganized person (it comes with the territory for programmers, I >> imagine) and I don't have time to continually categorize and maintain >> a personal common code base for every app I write. I love Django >> because it cuts out all of the repetitive boring crap from the start >> of a project. I'm sure that frameworks are available in PHP that are >> similar, but to be honest I like Python a lot better than PHP because >> it "feels" like a real programming language, and while PHP has its >> virtues, I find myself using Python as often as possible to solve real >> problems. Django literally forces me to abstract my code from >> templating, which has traditionally been a problem when I've >> collaborated with others on projects; designers assume they can code >> and end up breaking the entire site. Now, I can delegate template >> design entirely to the web designers and they can focus on their job >> and I can do mine. >> >> >> On Wed, Feb 2, 2011 at 10:15 PM, km <srikrishnamo...@gmail.com> wrote: >> > >> > >> > On Thu, Feb 3, 2011 at 8:18 AM, Kenneth Gonsalves >> > <law...@thenilgiris.com> >> > wrote: >> >> >> >> On Wed, 2011-02-02 at 08:56 -0600, Jon J wrote: >> >> > I just stumbled upon django when looking for a good way to use Python >> >> > in web programming, >> >> >> >> welcome to the club - btw, how did you manage to avoid stumbling over >> >> django all these years? >> >> -- >> >> regards >> >> KG >> >> http://lawgon.livejournal.com >> >> Coimbatore LUG rox >> >> http://ilugcbe.techstud.org >> > >> > Hi KG, >> > >> > Pls dont drag the post unnecessarily. This is not your ilugc mailing >> > list. >> > >> > KM >> >> >> >> You received this message because you are subscribed to the Google >> >> Groups >> >> "Django users" group. >> >> To post to this group, send email to django-users@googlegroups.com. >> >> To unsubscribe from this group, send email to >> >> django-users+unsubscr...@googlegroups.com. >> >> For more options, visit this group at >> >> http://groups.google.com/group/django-users?hl=en. >> >> >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Django users" group. >> > To post to this group, send email to django-users@googlegroups.com. >> > To unsubscribe from this group, send email to >> > django-users+unsubscr...@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/django-users?hl=en. >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.