Jonah
Member since Mar 26, 2013
- Profile: /members/10781-jonah.htm
- Comments: 19
Recent Blog Comments By Jonah
-
What If All User Interface (UI) Data Came In Reports?
Posted on Oct 10, 2013 at 1:29 PM
@Ben, I'm honored that you're honored :) I'd love to help out. I'm sure I'll learn something new and will be good to brush up on the book. I just watched the repo on github, and I have to say I love the example. Looking forward to this!... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on Oct 7, 2013 at 10:44 AM
@Ben, Oh dear, I feel I am 0 for 2 with recommendations for you :( While I agree the streamlined object modeling book can be dry and text-booky, I actually found it to be practical as well. I'd be curious to hear which parts you felt were over your head, as I am certain the underlying concepts a... read more »
-
Object Thinking By David West
Posted on Jun 16, 2013 at 9:45 AM
@Ben, As the one who recommended the book to you, I feel a little bad you didn't find it as revelatory as I did. But I'm glad you got something out of it, and the discussion here is great. I would say that your critiques, especially about the length, and wanting to see more examples worked thro... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on Jun 16, 2013 at 9:12 AM
What seems feasible, to me, is to have some sort of Gateway/Repository that can query the persistence for "subscriptions that should expire." Then, once that collection is in memory, explicitly tell them to expire and explicitly do all the other stuff that would need to be done (such as se... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on Jun 11, 2013 at 3:06 AM
@Ben, Regarding the product question, could you give more details about the problem you're solving and the current solution. I'll see if I can think of any object thinking solutions that might apply on the server. Currently traveling but will be home in 2 days.... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 30, 2013 at 10:11 AM
@Ben, Oh also, here's a talk he gave that I enjoyed: http://www.infoq.com/presentations/transcendence-gate-dave-west... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 30, 2013 at 10:02 AM
@Ben, Yes, that's why I think it's a love it or hate it kind of book. It can feel dense and meandering at times, but I think the price is worth it for his insight. The way I see it is that he has the bird's eye view of the history of OO programming in his head -- its initial motivations, its birt... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 26, 2013 at 7:37 AM
@Ben, No problem. I'm curious to see what you'll think. By the way, I've been delving into angular more and have like half an answer so far to the interesting question you posed here: http://www.bennadel.com/blog/2447-Exploring-Directive-Controllers-Compiling-Linking-And-Priority-In-AngularJS.... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 15, 2013 at 4:15 PM
@Josh, Thanks! @Ben, I definitely recommend the David West book "Object Thinking" I've been quoting from. It goes deeply into the philosophy and history of OO programming. His breadth of knowledge is impressive. It's a strange book though, not your typical hands on how-to book. I th... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 14, 2013 at 12:05 PM
@Ben, First off, I truly appreciate the responses. I am historically a "procedural" programmer, so the transition (aka, multi-year journey) into something that is more object-oriented has been a long and frustrating one, to say the least. My pleasure, I feel like I'm just giving a litt... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 13, 2013 at 11:04 PM
Well, still awake, so here goes with the rest of my answer :) That said, the original basis of this blog post was, I believe, in heavy alignment with the fact that the UI should *not* be tied to the domain model. That the UI is simply a "report" on the state of the application and may by... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 13, 2013 at 9:16 PM
@Ben, Good conversation. I am definitely in the camp that believes that the UI *should* come first, before any coding is done. I think the UI informs the engineering team what functionality is even needed at all (and which is not). Ah, yes. This is not in contradiction with the passage I pos... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 13, 2013 at 10:51 AM
@Ben, But, I think another issue that I have is that I build a lot of prototypes before I really start to think about the code at all. In a way, I think the UI, is parallel to the "database" is that they are on either side of the spectrum. The UI thinks only about what the user will see... read more »
-
Delegating Nested Directive Behavior To Parent Directive In AngularJS
Posted on May 12, 2013 at 10:16 PM
@John, It seems like you've thought about this problem a lot, so I'm sorry to say I can't quite follow your example. A plnkr or jsbin would probably go a long way in clarifying the problem for me. Anyway, it's possible there is a real need for these gymnastics to solve your issue, but my gut is t... read more »
-
What If All User Interface (UI) Data Came In Reports?
Posted on May 11, 2013 at 9:29 PM
Hey Ben, To answer your request in the original article, I think you'll enjoy this: http://martinfowler.com/eaaDev/PresentationModel.html. As someone else mentioned, once it gets complex enough your view should have a domain model of its own, as it were -- that is, the classic ViewModel. To you... read more »
-
Delegating Nested Directive Behavior To Parent Directive In AngularJS
Posted on May 11, 2013 at 7:48 PM
Hey Ben, If you have directives with small differences, why can't you just inject what's different into a single directive using an attribute? This would not require switch logic either, as you could simply implement the differing pieces of code as methods on the parent controller. Am I missing s... read more »
-
Using Controllers In Directives In AngularJS
Posted on Apr 2, 2013 at 5:41 PM
@Ben, Thanks again. Just as a slightly OT addendum, in case you (or anyone reading this) uses d3, you actually have to be a little careful even there to get good performance on drag events. In particular, some of the examples I've come across have you using d3.select(this) within the listener f... read more »
-
Using Controllers In Directives In AngularJS
Posted on Mar 29, 2013 at 3:56 AM
@Ben, If by "ramble" you mean "produce the most thorough response I've seen in all my years replying to blog posts," the yes :) I couldn't have hoped for a better answer, and really appreciate your taking the time to write it up. It sounds like the standard premature optimizat... read more »
-
Using Controllers In Directives In AngularJS
Posted on Mar 26, 2013 at 10:43 PM
Hi Ben, Love these tutorials. Quick question: Did you try a version where all the numbers updated constantly during mouse move, as opposed to only updating on mouse up? You mentioned performance considerations, but, if you think about it, that kind of updating really shouldn't be too resource int... read more »