Lars Rye Jeppesen
Member since Sep 1, 2013
- Profile: /members/11201-lars-rye-jeppesen.htm
- Comments: 11
Recent Blog Comments By Lars Rye Jeppesen
-
The Node.js MySQL Driver Doesn't .end() As Gracefully With Connection Pooling
Posted on Jun 9, 2016 at 1:38 PM
Great article - I endede up doing precisely the same when implementing a large app a year ago. The approach also has the bonus advantage that you now get to use your database im a promise chain.. I myself was caught with my pants down when our db connection resources kept running out.... read more »
-
Canceling RxJS Observables With ngOnDestroy In Angular 2 Beta 6
Posted on Mar 14, 2016 at 1:04 PM
@Ben, Agree, the async pipe is best for lists of data. The beautiful thing is that you don't have to worry about unsubscribing to streams on component destruction. About the one object data.... I often expose an Observable containg one value ( a BehaviourSubject). For example in my wrapper for t... read more »
-
Canceling RxJS Observables With ngOnDestroy In Angular 2 Beta 6
Posted on Mar 12, 2016 at 10:26 AM
@Lars, Ok I just did some investigation.... turns out the async pipe automatically calls unsubscribe from an observable, when the component is destroyed.. nice!... read more »
-
Canceling RxJS Observables With ngOnDestroy In Angular 2 Beta 6
Posted on Mar 12, 2016 at 10:08 AM
Great article as always. I wonder how the mechanism is when using the "async" pipe in the template. Imho this is a nice construction, so you don't have to do a myObservable.subscribe.. But I'm curious wether it's necessary to unsubscribe when using async.. and if it is, how to do so..... read more »
-
Throwing Errors In The Future Using RxJS In Angular 2 Beta 6
Posted on Feb 21, 2016 at 11:26 AM
Yes, Observables are more complex, but also more efficient and gøactually make your components much simpler The fact that information is pushed to subscribers, rather than components pulling for data is mindblowing at first. But once you 'get' it, it's so much more elegant and fast. If your sub... read more »
-
Rendering Large Datasets With AngularJS And ReactJS
Posted on Feb 14, 2016 at 12:38 PM
@Ben, - gonna be interesting when the Angular team gets template precompilation done (hopefully soon)... read more »
-
EXCEPTION: TypeError: Cannot Read property 'subscribe' Of Undefined In AngularJS 2 Beta 1
Posted on Jan 31, 2016 at 8:02 AM
Yep, stumbled across the same... Thanks for posting, I'm sure it will help quite a few people... read more »
-
Attribute Directive Selectors And Outputs Cannot Have The Same Name In AngularJS 2 Beta 1
Posted on Jan 30, 2016 at 6:36 AM
Great article. I think it's a good practise not to name directive attributes the same as the directive. Component directives _can_ have attributes of same name and I think that makes more sense. Side question: are you planning to use es6 or Typescript? The syntax is so nice :) I am aware that pa... read more »
-
Rendering Large Datasets With AngularJS And ReactJS
Posted on Jul 14, 2015 at 12:21 AM
Thanks Ben It will be interesting to come back in 6 months time and do the same comparison with Angular2. I am following the A2 development quite a bit, and it seems like the Angular team is talking a lot with the React developers.... read more »
-
Creating A Reusable Timer In AngularJS
Posted on Aug 25, 2014 at 1:20 PM
Great stuff. I also love the way you encapsulates the object prototype inside the factory... read more »
-
HashKeyCopier - An AngularJS Utility Class For Merging Cached And Live Data
Posted on Sep 1, 2013 at 4:40 PM
Hi Ben, - thanks for these great posts. We are many relatively new to Angular (aren't we all?) and your posts really help a lot. I'm also on the journey of transforming into "webapps" way of thinking, and Angular is really exciting.... read more »