Friday, April 26, 2013

Modeling Data and State in Your AngularJS Application - @jhooks

Modeling Data and State in Your AngularJS Application - @jhooks: "As you can see, data and state are intimately related. State is data, data is state.
Models are portable. There are many common sets of data that can easily transport between one application and the next. Think of, as an example, a UserLoginModel or a ShoppingCartModel. Portability takes a bit more thought and energy, but no more than writing the same code over again for each project. Obviously every model isn’t going to qualify for this, but many will so it is something to watch out for."

'via Blog this'