开发者

Will learning Django translates well into other applications?

Does anyone have experience using Python in different variaty of applications?

A little background - I am a 3D artist in an animation studio. I do programming in PHP and use Zend framework for my personal project. Python has always been a language I wanted to learn because it can be used within many applications our studio is using (3D MAX, MAYA to name a few) My supervisor knew about my web background and wanted me to create a web base time line manager for the company. From the requirement I'm expecting quite a simple backend ... so it might be a good opportunity to finally learn Python. The bulk of the work will be on AJAX for the interactive front end.

So if I learn Python with web application and Django in mind, will that limit my Python skill from applying it to other applications?

a little curious about Django features as well. How well does the framework cover in terms of web application compare to Zend? Our application is pretty basic in the back end and I would love to know if Django will be able to cover them.

  • authenticate against Windows active directory
  • quick database update via AJAX interaction (drag and drop time line mostly)
  • O开发者_如何学运维ther basic stuff like discussion forum and directory browsing/file manager


So if I learn Python with web application and Django in mind, will that limit my Python skill from applying it to other applications?

No

authenticate against Windows active directory

Yes. You may need to customize an Authentication Backend.

quick database update via AJAX interaction (drag and drop time line mostly)

Django has nothing to do with Ajax. Use piston to create pleasant RESTful API that Ajax can use.

Other basic stuff like discussion forum and directory browsing/file manager

There are many, many canned applications for Django that you can plug in and integrate.


I love python as a language - but it's not the answer to everything. I know this is throwing mud in a python group, but python has one serious limitation - the rigid source code format.

While going through a django tutorial - I noticed that you cannot insert python source code into a template, and that this was presented as a 'feature' for separating programmers and designers.

I later realized that it's a limitation of django - and any other environment where python source code might get accidentally mangled. This also includes HTML WYSIWIG editors and database based 'manglers' (like Drupal).

In my opinion it's a very serious limitation with no easy cure - especially with the need to use other tools to manage the complexity of HTML / CSS / JavaScript.


I found Django a really good way to learn python. There's very little that's quirky, magical or un-pythonic in the framework. A bit of setup and you're away, writing standard python code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜