When do I use View Models, Partials, Templates and handle child bindings with MVC 3

When should I use View Models? Is it not recommended to use the domain? I find that my view models are copies of my domain objects, and don’t see the value… View models should always be used. You should not use your domain models in the view. View models are not exact copies of the … Read more

Is it possible to import a whole directory in sass using @import?

If you are using Sass in a Rails project, the sass-rails gem, https://github.com/rails/sass-rails, features glob importing. @import “foo/*” // import all the files in the foo folder @import “bar/**/*” // import all the files in the bar tree To answer the concern in another answer “If you import a directory, how can you determine import … Read more