Le 10/28/2010 06:34 PM, Dinis Lage a écrit :
> Anyhow, the main reason to use PHP is because it just works anywhere, but
> with the resources at hand that's not an issue and so I'd vote for both
> rails or django.
> Since we're starting from scratch, we should definitely consider another
> language. I occasionally work with ruby (and rails) and like it very much.
> As for Python (and django) never used it but would be very happy to get my
> hands on it.
Python, applications are dead simple to host too, and we'll need to
acquire some knowledge on that anyway,if we want to provide a reliable
python hosting service, I guess.
> I'm a fan of python as a language. It's pretty, it's readable, it's almost
> edible. Rails, at least last time I looked, is great for building apps quick
> but when you start doing abnormal things, it gets messy and "hackish".
Python and django propose some really good solutions to develop things
quickly.
Some reasons to choose python:
* There is a huge community, and a lot of interesting projects built on
top of it.
* The existing code is most of the time well documented and tested,
that's not the case with most of the PHP lib for instance
* If you know python well, you can write good code. The learning curve
is really awesome.
But, that's true, Python is not as well known as PHP. It could be a
solution to adopt if the people for the AL team want to try something
else. If those people are doing some php now, they'll probably really
enjoy the possibilities offered by python, as I had done a year ago.
The logical reasons that could be behind the choice of php are: it's
really pleasant to code with, and I'll be in, really more than if the
code is wrote in php, I guess, because I've moved away from it now.
The reasons I've moved away from php are mainly because there is a huge
lack of tests, and of doing things the right way. Lot of people just
hack some code, and doesnt respect the well known patterns that have
proved to be right, and this have lead (again, that's only my own
opinion) to a poor community.
And, Python was a really good learning experience, so if I could make
you discover it too, it could be great.
But I'm not pushing python here. The point is: maybe some people here
want to learn python or django, so it could be a great starting point,
'cause people wanting to discover are more likely to be passionated
about a project, no ?
Alex.
Python, applications are dead simple to host too, and we'll need toacquire some knowledge on that anyway,if we want to provide a reliable
python hosting service, I guess.
Python and django propose some really good solutions to develop thingsquickly.
Some reasons to choose python:
* There is a huge community, and a lot of interesting projects built on
top of it.
* The existing code is most of the time well documented and tested,
that's not the case with most of the PHP lib for instance
* If you know python well, you can write good code. The learning curve
is really awesome.
The reasons I've moved away from php are mainly because there is a huge
lack of tests, and of doing things the right way. Lot of people just
hack some code, and doesnt respect the well known patterns that have
proved to be right, and this have lead (again, that's only my own
opinion) to a poor community.
But I'm not pushing python here. The point is: maybe some people here
want to learn python or django, so it could be a great starting point,
'cause people wanting to discover are more likely to be passionated
about a project, no ?
This project is for a control panel so it only makes sense to host it if you have at least some VPS, so, people wanting to use it can install whatever they want.
It's probably even easier to setup python than ruby.
Another big argument for other languages and frameworks is the IDE integration. Code auto-completion, "one-click" documentation about functions are things that speed the process of programming. With php I always see myself checking and re-checking the manuals etc. I feel this breaks my productivity and interrupts my line of thought many times.
This project is for a control panel so it only makes sense to host it if you have at least some VPS, so, people wanting to use it can install whatever they want.I was talking about third-parties who wanted to use/test it privately, not companies. I'm sorry, that wasn't clear.It's probably even easier to setup python than ruby.That may be true but neither are as easy to setup as php.Another big argument for other languages and frameworks is the IDE integration. Code auto-completion, "one-click" documentation about functions are things that speed the process of programming. With php I always see myself checking and re-checking the manuals etc. I feel this breaks my productivity and interrupts my line of thought many times.
If you use Eclipse there is some support. I don't use an IDE, vim is my best friend, so I don't know how good it is but it does exist. (http://bit.ly/BpBqV) If you're more the NetBeans type, there's support there too. (http://netbeans.org/features/php/) If you're like me and use vim, then there's some great support. (http://www.koch.ro/blog/index.php?/archives/63-VIM-an-a-PHP-IDE.html)
If you use php a lot you memorize the parameter order of the most used functions. This is true for all languages, though php is infamous for not keeping the order consistent. The more you use php, the less your thoughts will be interrupted.
Alan
BTW, Thanks for pointing all that to me, things are really clearer now.
Alex
Le 10/28/2010 07:07 PM, Alan Smith a écrit :
The reasons I've moved away from php are mainly because there is a huge
lack of tests, and of doing things the right way. Lot of people just
hack some code, and doesnt respect the well known patterns that have
proved to be right, and this have lead (again, that's only my own
opinion) to a poor community.
I've become quite fond of NetBeans and been using it for some time. The difference in the support of java/ruby and php is abysmal. Base php works rather well in NB but from the moment you start using frameworks, most of it is lost, unlike what happens in better structured languages. Vim is great for simple stuff but requires too much tweaking and learning for more complex use cases. But well, what ide each person uses is a personal choice.