I was trying out Backbonejs read through couple of docs. It is an MVC framework for client side. MVC stands for Models, Views and Controllers.
I come from django background, have done more of that. So probably I will best understand by relating to that.
For me the models are something like this:
class Note(models.Model): title = models.CharField() description = models.TextField() date = models.DateField(auto_now_add=True) author = models.ForeignKey(UserProfile)
Now this will create a database for me, where in a notes table I will have four columns, title, description, date and author.
When I write a backbone application, how do I define my models and controllers? What should go to models and what should be the controllers? Please explain thanks!