Posts Tagged: blogumentation

Home » blogumentation

Tarun Sharma on the Angular @ViewChildren, @ViewChild, @ContentChildren and @ContentChild Decorators

Some time ago, software developer Tarun Sharma wrote an interesting article explaining the Angular @ViewChildren, @ViewChild, @ContentChildren and @ContentChild decorators and their respective use cases. The article is still relevant and a nice overview of the several ways of accessing different types of child components in Angular applications. Read more

Angular Checklist

Angular Checklist is a useful tool that allows you to compile checklists of best practices, common mistakes and other aspects to consider both before launching a new app and during ongoing development. Although the tool's name and the default checklist suggest Angular-only usage this checklist tool of course is applicable to other frameworks, too. Read more

How to Subscribe to Multiple RxJS Observables in Angular

Cory Rylan, Google Developer Expert and instructor at Angular Boot Camp wrote this article on subscribing to multiple observables in Angular components. In this article, Cory explains how to use the RxJS forkJoin and combineLatest operators in conjunction with Angular's *ngIf directive and the AsyncPipe in order to consume asynchronous data provided by multiple RxJS Observables. Read more

Cloud Design Pattern Library by Microsoft

Microsoft maintains an extensive library of cloud design patterns. Whether you create applications that run on AWS, Microsoft Azure or Google Cloud Platform, use platforms such as Heroku or you develop enterprise applications which run on on-premise cloud networks within a corporate intranet, cloud computing becomes ever more crucial to providing business value through software. Hence, it's not only expedient to know about the classic relatively low-level GoF design patterns or Martin Fowler's Patterns of Enterprise Application Architecture but about design patterns for ... Read more

References to Design Pattern Libraries

When designing and developing software it's always useful to have a reference to common software design patterns handy. Apart from cloud design pattern libraries there are collections of more low-level or more general design patterns, too. These include the classic GoF design patterns and Martin Fowler's Patterns of Enterprise Application Architecture. Read more

Dinero.js: Working With Monetary Values in JavaScript

Working with monetary values can become a problem in any programming language and JavaScript certainly is no different in that respect. The naïve assumption that monetary values can be expressed as floating point numbers almost inevitably leads to rounding errors caused by precision and the fact that in most cases monetary values are represented as decimal numbers with just two (instead of an undefined number of) decimal places. Apart from that, money is not just a number but usually comprises a currency ... Read more

Dependency Management for Angular Unit Tests Using TestModuleMetadata

Since its inception it's always been one of the eminent design goals of Angular (and AngularJS before it) to make JavaScript applications easily testable and bake unit and E2E testing right into the development process. While the Angular team certainly has succeeded at this there's still the occasional snag you hit when writing unit or end-to-end tests. For the most part, the testing experience with Angular is terrific and testing JavaScript codebases has come a long way but of course there's always ... Read more

Blogumentation

I'm not sure if he actually came up with the term 'blogumentation' but software quality engineer Jamie Tanna features quite prominently when searching for it so at the very least he appears to be one of its more avid and deliberate users. Anyway, while the term 'blogumentation' might be somewhat obscure the concept behind this particular portmanteau is a seminal one. Basically, it derives from the insight that often the best way to learn and internalise knowledge is to talk, write and ... Read more

RxJS: Observables, Observers, Subjects …

When developing web applications - or in fact any kind of application that involves interaction via a user interface - we inevitably have to deal with asynchronous events, perhaps even streams of such events, e.g.: mouse clicks asynchronous HTTP calls and subsequent display of data push notifications Because events are such an essential part of both the feature set and the user experience of many, if not even most, user-facing applications frameworks such as Angular treat them as first-class citizens and provide developers with ... Read more