Community Member Profile
- Profile: /members/8706-bemson.htm
- URL: http://learnings-bemson.blogspot.com
- Comments: 3
- Points: 32
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... 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 an... 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 state... read more »



