November 21, 2008
I developed using VIM and konsole using Python and Django. Some time ago Carlos Ble suggest me to use and IDE. The I try Eclipse + PyDev for a time, but never felt comfortable with it. Since Netbeans team decide to include Python in the supported languages Netbeans could work with; I decide to give it a chance.
While Django is not fully supported itself, I feel Netbeans much more fluent than a Eclipse. Netbeans is not perfect but, on my view, fits my needs more than Eclipse do. I’ll try to use this platform for a while before claim to be THE IDE.
Using Django with it is possible using the same trick I used with Eclipse. Set manage.py as the main file and
runserver --noreload as argument. I didn’t success trying to do step-by-step debugging (I didn’t spent more than two minutes trying).
To be the “perfect” platform for Django developing Netbeans needs:
- Be able to create a django project
- Be able to create django apps into a project
- Be able to run manage.py shell
- Be able to manage DB (At les manage.py dbshell
- Manage Django tests (manage.py test)
- Find method usage in templates
- WYSWYG template editor
The last one is not a real need but it would be great.
Even lacking all this features, I think is probably the best IDE for Django I have ever tried.
November 18, 2008
Most develop companies use to choose a development platform for all its projects. While this is probably not a good idea for big ones, I realize than doing so has some advantages for small ones. Get specialized is important in order to achieve the best productivity.
There are several platforms you can choose:
The first two are the ones most companies choose. Probably the most important features for those are they are quite extended, it’s possible to develop for a lot of devices, has great IDEs, etc.
I would like to mention that Python at this level. Since Django became important in the web applications scenario, developers coming from PHP, Java and others has given it a chance, you can develop desktop applications (QT, wxWindows, etc.), web applicatrions (Django, Turbogears, etc.), mobile applications (PyS60, PythonCE, etc.). There are some IDEs such as Eclipse and Netbeans (6.5 or greater).
Python is much more faster to develop than Java (and probably .Net) as you can perform quite complex operation in a really simply manner, while it keep the code clean and readable due to its blocks (not like Perl).
On the other hands it miss namespaces (can be simulated some way using packages) and private variables.
On my view Python is one of the most interesting alternative to the major established develop platform.