Rebecca Murphey
Member since Dec 29, 2009
- Profile: /members/5057-rebecca-murphey.htm
- URL: http://blog.rebeccamurphey.com
- Comments: 5
Recent Blog Comments By Rebecca Murphey
-
Circumventing Private Variables In Javascript Using Method Reassignment
Posted on Feb 21, 2011 at 10:47 AM
This is a decent abstraction around overriding the definition of an object's method(s), but I'm not sure it should be referred to as circumventing an object's private variables -- while the getGender method now returns a different value than it originally would have, the value of the private gender ... read more »
-
Javascript Patterns By Stoyan Stefanov
Posted on Nov 1, 2010 at 11:28 AM
Glad to hear you got a chance to check out the book -- it sounds like you enjoyed it as much as I did :) Re pubsub ... again, it's important to remember it is a *tool* more than a pattern. In my mind, it could be used to implement some of the patterns discussed in the book, but it doesn't surprise m... read more »
-
Simple Publication And Subscription Functionality (Pub/Sub) With jQuery
Posted on Oct 18, 2010 at 10:42 AM
@Ben, Yeah, I think it's important to understand how this pattern is fundamentally different and more lightweight than the standard event pattern. While it can be implemented using custom events, it shouldn't necessarily bring along all of the concepts of them when creating it from scratch, so I'm ... read more »
-
Simple Publication And Subscription Functionality (Pub/Sub) With jQuery
Posted on Oct 18, 2010 at 10:11 AM
Ben, great to see you this weekend and this is a great writeup of pubsub. However, I'm not sure about the fact that you're having your subscribed functions return a value that is then available to the publisher -- what would happen, for example, if you had more than one subscriber for a published to... read more »
-
Do Complex User Interface Modules Necessitate Complex CSS?
Posted on Dec 29, 2009 at 3:36 PM
The more I work on mobile Webkit applications, the more I realize how much non-compliant browsers hold us back from answering these questions the right way. CSS3 includes a bevy of features that address exactly the issues you're grappling with, as another commenter mentions. As long as we're stuck s... read more »