Skip to main content

Steve Gentile

Member since May 9, 2012

Recent Blog Comments By Steve Gentile

  • Using ngController With ngRepeat In AngularJS

    Posted on Feb 27, 2013 at 3:16 PM

    I realized something else with this sample - what I originally thought was happening was that for each item in the repeater it would have it only controller AND partial view loaded. This was what I was thinking reminded me of Backbone, but I think it's not the same. ie. in Backbone, you would have... read more »

  • Using ngController With ngRepeat In AngularJS

    Posted on Feb 18, 2013 at 8:31 AM

    Reminds me of backbone where a list is often times is a view + model - even if just a smaller set of code. It does give it much more of a OO approach... read more »

  • Exploring Directives, $scope, DOM Rendering, And Timing In AngularJS

    Posted on Jan 20, 2013 at 10:26 PM

    Loving your posts on AngularJS Ben. These videos/blog posts are great! I have a favor to ask though... can you please please please use a friendlier video component - html5, so i can watch without flash :) Thanks! Steve... read more »

  • Creating A Custom Show / Hide Directive In AngularJS

    Posted on Jan 7, 2013 at 9:47 AM

    Thanks, and don't get me wrong, not 'promoting' KnockoutJs, but in a large SPA project I worked on when using KnockoutJs, one of our principles was to make sure we weren't using DOM accessors without being wrapped in a bindingHandler. Testing becomes soooo much easier. I really like to see this sa... read more »

  • Creating A Custom Show / Hide Directive In AngularJS

    Posted on Jan 7, 2013 at 8:42 AM

    Meant to add - I love that you include the video walkthrough in your post :)... read more »

  • Creating A Custom Show / Hide Directive In AngularJS

    Posted on Jan 7, 2013 at 8:36 AM

    KnockoutJS has a similiar concept of a 'bindingHandler' - where you have DOM specific code. The key here is that testing the DOM is hard. By wrapping up DOM access in Directives, one can more easily test the application. By creating 'widgets' or wrapping 3rd party widgets (ie jQuery) it will crea... read more »

  • Object Calisthenics In JavaScript - An Introduction

    Posted on May 9, 2012 at 7:33 AM

    Good stuff as always! Here is a helpful link for the if else refactor - using polymorphism: http://sourcemaking.com/refactoring/replace-conditional-with-polymorphism... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel