Django start from scratch - django

I am a PHP developer and know about all the major frameworks like Joomla!, CI, zend etc.
Now I got a project in Python based CMS ( DJango ).
I am studying python now a days and I had some doubts.
Can I set wamp ( I mean apache ) for running platform of DJango ?
If yes please suggest me any doc / tutorial for setting up wamp
Is Django a MVC architecture frame word ?
Like in Joomla! is it having any authentication system ?
Where to start Django from scratch ?

There is no need to setup apache since django comes with built-in server for development. But still if you want to setup apache, you can try bitnami django-stack.
Yes. Django is a MVC architecture based framework. I found this django-faq-question useful.
Yes. Django is having its built-in authentication system in the module named auth. More information about this can be found in django documentation here.
To start writing your first django app, refer the clear documentation given here.

Related

Integrating Cachely add-on with Django on Heroku

I have installed the Cachely addon on the app, and received my CACHELY_URL. The devcenter article gives instructions about how to integrate the addon in a rails environment.
My app uses a Django environment. Is there any documentation on how to integrate the app in a Django environment? Is there a better way to have caching in a Django environment on Heroku?
I had a chat with their support team, and they communicated to me that they are being shut down by the end of the year. So, looks like I should move on to some other add-on.

Django, django-socketio and mongodb backend

I have a running django-nonrel application and I would like to add a real time module using web sockets.
I would like to use django-socketio but it seems that gevent (which is used to serve the site) does not work properly with mongodb (link) which is the backend of the Django application.
Does anyone already try to set up django-socketio with mongodb as a backend ?
Dry
I found that using Tornado/Tornadio2 with Django is much easier than the gevent-based alternatives. If you need help setting that up I'd be happy to share my runserver_socketio.py script.

is tornado is the same as django?

is tornado is the same as django ?
can I upload tornado project to normal host providers
No. Tornado is a full web server. Django is a web framework that happens to have a web server included that can be used for testing. You will need more than just basic shared hosting to run it, preferably a full VPS.
Probably you will find this article interesting. Note that you cannot really compare Django to Tornado. Like #Ignacio said above they are not the same thing.
The article:
http://5cience.net/blog/tornado-vs-django,4258/
And yes if you can upload tornado project to normal host providers.

webapp or django, which framework to opt for on google app engine?

Im currently learning about Google App Engine and how it can be used to develop web apps. I have some knowledge of Django too.
What is the best way to go for building an app on Google App Engine,should i use the default webapp framework or use Django ?
Please Help
Thank You
it depends on your project
you can use both , but i prefer webapp cause its simple for me
Google App Engine SDK used to ship with Django 0.96 not the latest version
but there is a project called http://www.allbuttonspressed.com/projects/django-nonrel forked of the latest version of Django
here is an article to run native django apps on GAE
http://www.allbuttonspressed.com/blog/django/2010/01/Native-Django-on-App-Engine

XULRunner , Python and Django : How to?

How to add Python and Django with XULRunner !?
Found this tutorial useful , but somehow i was not able to add django !
Any idea ?!
Having a custom build of XULRunner with Python XPCOM bindings is one thing. But running a Django app on top of XULRunner is next to impossible. Django does not have helpers to create XUL layouts, Django is built around an HTTP architecture. How would you even imagine that Django will help you with a desktop app? What would be the desktop equivalent of the URLs? Events like onclick?