personal preference, developer lack of skill/experience. I'm neither on php or python's side here but just saying that python is better than php here is plain wrong. someone should create a nice c/c++ library for creating web applications.
I've experienced the maintainability issue before with php, but the fault was on my part. never had worked on such a large project before. The second try was much better. You need the far-sight, and keep maintainability in mind when designing. just like php, python does not have mvc built in. i think they both use external frameworks but i have to admit django looks very nice. both offer oo. i feel php offers more flexibility and possible performance by not enforcing oo. this whole discussion is moot. On Thu, Aug 5, 2010 at 10:59 PM, CL Chow <[email protected]> wrote: > Sahana, a FOSS disaster Management System, > Project homepage: sahanafoundation.org/ > Wikil: en.wikipedia.org/wiki/Sahana_FOSS_Disaster_Management_System > Originally written in PHP(which is now call Agasti) has recently branch a > Python version called Sahana Eden. > Here are some interesting reasons from the Eden developers according to the > wiki. > As quoted from the project's wiki > eden.sahanafoundation.org/wiki/FrequentlyAskedQuestionsPython > == Why replace PHP with Python? == > We believe we can attract more developers if we change from PHP to Python. > PHP is not a good language for building large, maintainable applications: > http://www.ukuug.org/events/linux2002/papers/html/php/index.html > * especially when using it to write out complex Javascript (the syntaxes > are always tripping you up) > * doesn't enforce Object Orientation > * poor separation of Presentation & Code > Python is fully Object Oriented ('everything is an Object') > Python is an interpreted language, similar to PHP & relatively easy for > developers to adapt to. > Java would be a reasonable choice, but the barrier to entry with Java is > much harder - setting up the compiler environment, etc > * this doesn't fit the RAD needs of the project. > * we can still access any useful Java libs via Jython: > http://www.jython.org/ > Ruby-on-Rails might be a good choice, but that's primarily for Web2.0 apps > still & Sahana is more than just that.[[BR]] > Performance is also worse than for Python: > http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=python&lang2=ruby > Python also supports a wide range of libraries for adding extra > functionality, including in the GIS space:[[BR]] > (There are no PHP libraries for GIS) > * http://trac.gispython.org/lab/wiki > * http://featureserver.org > * http://tilecache.org > * http://mapfish.org > Python is also the language in which the support infrastructure is written: > Bzr, Trac > * ESR's take on Python: http://pythonology.org/success&story=esr > * Python as an Agile language: > http://agiletesting.blogspot.com/2005/02/python-as-agile-language.html > * Python is fun!: http://xkcd.com/353/ > ---- > Enjoy ;) > Regards, > CL Chow > > > > _______________________________________________ > general mailing list > [email protected] > http://lists.foss.org.my/mailman/listinfo/general > > _______________________________________________ general mailing list [email protected] http://lists.foss.org.my/mailman/listinfo/general
