> am new one to django

welcome

> am working in php mysql

I'm sorry ;)

> me whats django and how its defer from php ruby on rails...


Django is frequently describe as "Ruby on Rails, but using Python
instead of Ruby".  That alone is enough for me to like it ;)

There are some other more subtle differences such as

-the model authority:  in RoR, you generally set up your DB, and
then have RoR inspect it; in Django, you generally declare your
models in Python code and then create your DB from those models
(though IIUC, both can go the other direction, but it's not the
"preferred" way)

-templating:  Django's templates are easy to use in most HTML
editors I've used while RoR's templates are very Ruby-esque and
don't seem to play well in HTML editors.  Not a big deal for
those of us who just use vim to edit the templates, but for the
graphic designer folks that can't escape their GUI-rific editor,
Django's are usually easier.  Django's also not roped to its
particular templating engine (or ORM, or what have you)...it's
very flexible.

Just a few thoughts on the differences.

-tim





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to