Articles : Page 1 of 1

  • The BackboneJS and Knockout Danceoff

    The BackboneJS and Knockout Danceoff

    Aug 11
    09

    I just rolled out Tekpub’s latest drop for the MVC 3 series: BackboneJS with MVC 3, and a lot of people are curious why I didn’t use Knockout. So here ya go - my thoughts on the two. http://www.pimpartworks.com/artwork/gmayhew/dance-off They Don’t Do The Same Thing It’s important to realize straight away that Knockout’s focus is different than Backbone. You can do the same things with Knockout that you can with Backbone - and vise-versa - but all they definitely are not two of the same f...


  • Referencing Routes in ASP.NET MVC The Rails Way

    Referencing Routes in ASP.NET MVC The Rails Way

    May 11
    30

    Routing is probably the most confusing aspect of working with ASP.NET MVC. It’s hard to craft a groovy URL - even harder to link properly off to that groovy URL. Rails leans on Ruby’s forgiving and friendly nature to make this a bit more simple - C#4 allows to get close to this as well. With Rails 3  you define a route in your config/routes.rb like this: match "order/receipt/:id" => "orders#receipt", :as => :receipt # receipt_url You can access this route anywhere in your application ...



  • 1