Skip to main content
🎄 Early Access Discount 🎄 Feature FlagsTransform Your Product Development Workflow

bemson

Member since Jul 30, 2011

Recent Blog Comments By bemson

  • Using State Change To Bind And Unbind Event Handlers vs. Handler Branching

    Posted on Aug 5, 2011 at 5:19 PM

    @Rasmus, If you're managing interactions with JavaScript, JavaScript is the controller. If you're updating the DOM... JavaScript is the view. Model? Yep, that too. You can't separate what's already tied together. Client-side state is and must be managed by JavaScript. Even if your stra... read more »

  • Using State Change To Bind And Unbind Event Handlers vs. Handler Branching

    Posted on Aug 3, 2011 at 12:49 PM

    @Rasmus, Should a function fire just because an element is accessible? This, instead of checking whether the function can execute (via an AOP or state-machine approach)? Which sounds more foolproof? Including CSS as a part of your controller logic (i.e., what the user can and can not do) is ask... read more »

  • Using State Change To Bind And Unbind Event Handlers vs. Handler Branching

    Posted on Jul 30, 2011 at 12:05 AM

    I think what you call a state-machine is actually Aspect-Oriented-Programming. Your example focuses on the power of before and after advice (or, your setup and teardown methods). From what I"ve read - and believe me, I'm no scholar - Finite-State-Machines (fsm's) have related states, wherein... 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