Like someone said your names are colliding. If you use Fiddler you'll see what you post looks like FirstName='asdf' LastName='asdf' FirstName='123' LastName='123' , which property goes with which item in the list<t> ? MVC can't figure it out either and will be empty at the break point.
If your html names were indexed something like <input name='collection[0].FirstName.. and name='collection[1].FirstName.. you should actually get the correct values.
Maybe it's too early but I'm having trouble understanding what you're trying to do overall. I'd recommend not sending the whole list<t> back to the controller. Wouldn't it be better to create a separate view for editing the items? Or even putting that edit view in a partial to display in a modal?
AngularJS is considered to be more feature-packed and a more comprehensive solution to the clients’ needs (Upwork, iStockPhoto, Weather, PayPal are built with
Angular), although any Backbone JS developer will tell you that Backbone has a lot of useful features as well. There are some common and a different features. Let’s see them:
Common for Angular and Backbone:
they both support routing and deep linking to interact with the browser URL;
they have a stable public API;
they can work with Asynchronous Module Definition libraries;
they have a dedicated plugin source to show the framework’s living ecosystem;
they both support bower dependency management;
they have a project generator, which lets the developer automatically set up a new project while using built-in tools.
Differences between Angular and Backbone:
Angular has integrated built-in utilities, which help to validate client input before it gets processed or sent to a server;
Angular has dedicated debugging tools;
Angular checks for any changes and updates the corresponding fields;
Angular has a popular plugin which includes facilities to create view animations.
Backbone allows to integrate third party libraries well;
Backbone uses observables for data binding (it observes Models);
Backbone has a possibility to be extended in order to support models and views updating each other;
Backbone might work well with other template engines (more than one).
There are some other differences as well. But if you plan to become a developer, you should learn both anyway, ‘ cause a good developer can’t be good only at a single technology, he/she should be good at all of them in order to choose the proper tools and technologies according to the project’s requirements.
If we talk about the AngularJS, it is a client-side JavaScript framework that allows you to organize large, client-heavy applications into something manageable.
What is Backbone.js?
And the backbone.js is a minimalistic JavaScript framework that gives structure to web applications by pulling your “truth” — your model — out of your DOM and into Backbone’s Model, Collection, and View objects.
These are some similarities between Angular and Backbone:
Angular and Backbone both support routing and deep linking to interact with the browser URL;
Angular and Backbone have a stable public API;
Angular and Backbone can work with Asynchronous Module Definition libraries;
Angular and Backbone have a dedicated plugin source to show the framework’s living ecosystem;
Angular and Backbone both support bower dependency management;
Angular and Backbone have a project generator, which lets the developer automatically set up a new project while using built-in tools.
These are differences between Angular and Backbone:
Ang(Angular) has integrated built-in utilities, which help to validate client input before it gets processed or sent to a server;
Ang(Angular) has dedicated debugging tools;
Ang(Angular) checks for any changes and updates the corresponding fields;
Ang(Angular) has a popular plugin which includes facilities to create view animations.
BB(Backbone) allows to integrate third party libraries well;
BB(Backbone) uses observables for data binding (it observes Models);
BB(Backbone) has a possibility to be extended in order to support models and views updating each other;
BB(Backbone) might work well with other template engines (more than one).
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Like someone said your names are colliding. If you use Fiddler you'll see what you post looks like FirstName='asdf' LastName='asdf' FirstName='123' LastName='123' , which property goes with which item in the list<t> ? MVC can't figure it out either and will be empty at the break point.
If your html names were indexed something like <input name='collection[0].FirstName.. and name='collection[1].FirstName.. you should actually get the correct values.
Maybe it's too early but I'm having trouble understanding what you're trying to do overall. I'd recommend not sending the whole list<t> back to the controller. Wouldn't it be better to create a separate view for editing the items? Or even putting that edit view in a partial to display in a modal?
AngularJS is considered to be more feature-packed and a more comprehensive solution to the clients’ needs (Upwork, iStockPhoto, Weather, PayPal are built with Angular), although any Backbone JS developer will tell you that Backbone has a lot of useful features as well. There are some common and a different features. Let’s see them:
Common for Angular and Backbone:
Differences between Angular and Backbone:
There are some other differences as well. But if you plan to become a developer, you should learn both anyway, ‘ cause a good developer can’t be good only at a single technology, he/she should be good at all of them in order to choose the proper tools and technologies according to the project’s requirements.
Difference between Angular and Backbone.js
What is AngularJS?
If we talk about the AngularJS, it is a client-side JavaScript framework that allows you to organize large, client-heavy applications into something manageable.
What is Backbone.js?
And the backbone.js is a minimalistic JavaScript framework that gives structure to web applications by pulling your “truth” — your model — out of your DOM and into Backbone’s Model, Collection, and View objects.
These are some similarities between Angular and Backbone:
These are differences between Angular and Backbone: