Subscribe: Ben Nadel ColdFusion, jQuery, And Web Development Feed @ BenNadel.com
http://www.bennadel.com/index.cfm?dax=blog.rss
Added By: Feedage Forager Feedage Grade A rated
Language: English
Tags:
angular ben  angular  api  ben nadel  ben  demonstrates  express  javascript  module  nadel demonstrates  nadel  node ben  node  promise 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Ben Nadel ColdFusion, jQuery, And Web Development Feed @ BenNadel.com

Ben Nadel's Web Development and User Experience Feed @ BenNadel.com



Recent blog posts covering JavaScript, User Experience (UX), ColdFusion, Node, and other topics



Last Build Date: Thu, 27 Apr 2017 11:18:27 EST

Copyright: Copyright 2017 Ben Nadel
 



Google Chrome Will Automatically Retry Requests On Certain Error Responses

Tue, 25 Apr 2017 06:51:00 EST

Ben Nadel demonstrates that the Google Chrome Browser performs some automatic retries depending on the type of response that it gets back from the Node server. But, that this behavior is disabled if the Dev Tools are opened....



Monkey-Patching The Mango .find() Plugin To Use .allDocs() In PouchDB 6.2.0

Mon, 24 Apr 2017 08:04:00 EST

Ben Nadel demonstrates how to monkey-patch the .find() plugin in PouchDB 6.2.0 in order to route some $in-based queries to the highly performant .allDocs() method....



Experimenting With The Mango .find() API In PouchDB 6.2.0

Sun, 23 Apr 2017 10:31:00 EST

Ben Nadel looks at the recent release of PouchDB 6.2.0 that includes the Mango .find() plugin that simplifies the creation of secondary indices as well as the subsequent consumption of various indices within a query....



Method Binding Is An Implicit Part Of Your API Contract (Whether You Like It Or Not)

Thu, 20 Apr 2017 08:15:00 EST

Ben Nadel looks at the way object structure and method binding affects the way your object API can be consumed; and, concludes that your object structure and method binding becomes an implicit part of your API, whether you like it or not....



As A Node Novice, I Don't Understand Why Uncaught Exceptions Are So Dangerous

Wed, 19 Apr 2017 08:03:00 EST

Ben Nadel - a Node novice / noob - considers "uncaught exceptions" in Node, and wonders why they are considered to be qualitatively so much more dangerous than "caught exceptions."...



The User Experience (UX) Of Waiting And The Affordance Of Lines / Queues

Tue, 18 Apr 2017 07:46:00 EST

Ben Nadel reflects on the user experience (UX) of waiting on line and the affordance of lines (and queues) as granted by implicit social contracts and common mores....



The JavaScript "copy" Event - Fun With InVision Freehand Shapes

Sun, 16 Apr 2017 10:32:00 EST

Ben Nadel hacks the InVision Freehand event system as a way to store and retrieve Shape data in an external storage system....



Defining Functions With Properties Using TypeScript Declaration Merging In Angular 2.4.9

Sat, 15 Apr 2017 09:19:00 EST

Ben Nadel looks at how TypeScript uses "Declaration Merging" to define invocable Functions that also expose an API surface area (ie, an object with properties)....



Wrapping The Zendesk Web Widget In A Promise-Based Zendesk Service In Angular 2.4.9

Fri, 14 Apr 2017 08:02:00 EST

Ben Nadel looks at wrapping the Zendesk zEmbed object inside of a Promise-based Service in Angular 2. Not only does this create a simplified API, it completely hides the complexity of the race condition presented by the .show() and .hide() methods....



The Zendesk Web Widget Appears To Have A Small Hide / Show Race Condition

Thu, 13 Apr 2017 07:33:00 EST

Ben Nadel consistently demonstrates an unknown race condition in the Zendesk web widget API; and, provides a work-around that debounces calls to the zEmbed show() and hide() API methods....



An Express Learning Experiment - Porting FW/1 Ideas Into A Node Application

Wed, 12 Apr 2017 09:33:00 EST

Ben Nadel attempts to learn more about Express middleware by porting FW/1 (framework one) inspired concepts over to Node as middleware that sits on top of Express route management....



Express Middleware Can Be Arbitrarily Nested Within A Route In Node

Fri, 7 Apr 2017 08:11:00 EST

Ben Nadel demonstrates that middleware can be arbitrarily nested within an Express route definition in Node. This is because Express will flatten the middleware arguments before it stores them internally....



Tracking Static Asset Request Duration In Express And Node

Thu, 6 Apr 2017 08:34:00 EST

Ben Nadel looks at how you might track the request duration of static files served-up by an Express app using Node. The trick is to just start the time-recording early and then worry about differentiating the request type at the end....



Non-Module File Paths Are Relative To The "Working Directory" In Node

Tue, 4 Apr 2017 08:07:00 EST

Ben Nadel looks at relative file paths and how they relate to the "working directory" in a Node application. He also demonstrates that the location of the working directory can be programmatically changed in order to help normalize paths within an application....



Using require.resolve() To Calculate Module-Relative File Paths In Node

Mon, 3 Apr 2017 07:44:00 EST

Ben Nadel looks at the require.resolve() method in Node; and, how it can be used to calculate module-relative file paths. With some caveats regarding performance and file existence....



Building JavaScript Demos With TypeScript 2.2.1, Webpack 2, And Angular 2.4.9

Fri, 31 Mar 2017 07:10:00 EST

Ben Nadel continues to evolve his JavaScript demos methodology, bringing in Webpack 2 as the module bundling technology. This allows him to keep all the goodness of TypeScript while, at the same time, reducing file size and network activity....



Relative Template And Style URLs Using System Without moduleId In Angular 2.4.9

Wed, 22 Mar 2017 07:51:00 EST

Ben Nadel demonstrates how to use a System loader to translate relative template and stylesheet paths into absolute paths on-the-fly in an Angular 2 demo....



Building JavaScript Demos With System, TypeScript 2.2.1, And Angular 2.4.9

Mon, 20 Mar 2017 08:32:00 EST

Ben Nadel updates his JavaScript demos methodology to use offline TypeScript compiling with Angular 2 and System....



Logging And Debugging Unhandled Promise Rejections In The Browser

Thu, 16 Mar 2017 08:53:00 EST

Ben Nadel takes a quick look at the "unhandledrejection" Brwoser event that will make it much easier to log, locate, and debug errors that are thrown in a Promise chain that lacks a .catch() handler. And, how to shim this behavior in non-Chrome browsers using Bluebird and Q....



Logging And Debugging Unhandled Promise Rejections In Node v1.4.1 And Later

Wed, 15 Mar 2017 08:35:00 EST

Ben Nadel takes a quick look at the "unhandledRejection" process event that will make it much easier to log, locate, and debug errors that are thrown in a Promise chain that lacks a .catch() handler....



Managing Stream Back-Pressure During Asynchronous Tasks Using READABLE and DATA Events In Node

Mon, 13 Mar 2017 08:30:00 EST

Ben Nadel looks at several ways to manage back-pressure while performing asynchronous operations during Stream consumption in Node. First, he revisits his use of Transform streams; then, compares that to the use of "readable" and "data" event handlers....



Using Transform Streams To Manage Backpressure For Asynchronous Tasks In Node

Sat, 11 Mar 2017 09:57:00 EST

Ben Nadel looks at using Transform streams in Node as a means to manage backpressure when connecting Streams to other asynchronous operations such as MongoDB database insertions....



Creating A Simple Copy-To-Clipboard Directive In Angular 2.4.9

Thu, 9 Mar 2017 08:03:00 EST

Ben Nadel creates a simple "copy to clipboard" Service and Attribute Directive for Angular 2 that makes it easy to copy arbitrary text to the user's clipboard with a single click....



Hello World: Concurrency In Node Using The Cluster Module

Tue, 7 Mar 2017 08:42:00 EST

Ben Nadel explores the Cluster module in Node as a way to provide request-level concurrency in a Node application. The Cluster module allows Node to take advantages of the multi-core processing on modern servers....



Parsing And Serializing Large Datasets Using Newline-Delimited JSON In Node

Fri, 3 Mar 2017 07:44:00 EST

Ben Nadel explores the Newline-delimited JSON (ndjson) specification and the ways in which it makes parsing and serializing large collections very performant in Node. It combines the interoperability of JSON (JavaScript Object Notation) with the performance and simplicity of "append-only" algorithms....



Parsing And Serializing Large Objects Using JSONStream In Node

Thu, 2 Mar 2017 08:00:00 EST

Ben Nadel experiments with JSONStream - an npm module that allows for massive objects to be serialized and deserialized as JavaScript Object Notation (JSON) by using Node streams to incrementally transform the data....



Programming Is Hard: Reconciling Server-Side And Client-Side "Clean" Architectures

Mon, 27 Feb 2017 08:33:00 EST

Ben Nadel vents about the difficulty of programming and his attempt to reconcile the Server-side code with the Client-side code when considering "clean architecture" and functional responsibilities....



Considering BEM - Block Element Modifier - CSS And Bounded Contexts

Sun, 26 Feb 2017 08:24:00 EST

Ben Nadel - a BEM novice - considers adding the concept of "bounded contexts" to the existing Block Element Modifier (BEM) CSS architecture strategy. This would remove some of the uniqueness constraints of Block names....



Thinking About Exception Chaining And Error Reporting In JavaScript

Wed, 22 Feb 2017 08:23:00 EST

Ben Nadel explores the concept of exception chaining in JavaScript; and considers the parallel problems of error logging within the application and reporting actionable errors to the end-user....



Always Throw Errors In Order To Get A Stack Trace In Promise Chains

Mon, 20 Feb 2017 08:04:00 EST

Ben Nadel demonstrates that Internet Explorer (IE) 10 and 11 won't populate the .stack property of an Error until it's thrown. And, reminds himself to always throw Errors in a Promise chain....