Angular-Universal (Server Side Rendering)


Angular4-Universal (SSR)   angular-universal (Server Side Rendering) for Angular 2+ Single page application (SPA) frameworks are probably getting the most attention in the JavaScript world in the past years. Handling most of the processing at the client, boiler-plating the content on every page, maintaining the “state”, and omitting the overhead latency on switching pages are… Read More Angular-Universal (Server Side Rendering)

Angular 2 Directive – Show Content Based on the User Role


Show Content Based on the User Role — Imagine that you need to show/hide content based on the user role. Let’s say you have a user stream that will give you the current user and you want to determine if he has permission to see the content based on his role. “` @Directive({selector: ‘[ifRole]’}) export class… Read More Angular 2 Directive – Show Content Based on the User Role

Node.js, Express.js with TypeScript & GULP


Why TypeScript? I believe that TypeScript has been embraced as the choice language for building next generation web application using ECMAScript 6 (ES6) with strong typing. Strong typing doesn’t necessarily improve the JavaScript that your Node.js server will execute, or the JavaScript that your browser might execute. However, it provides the developer more insight into… Read More Node.js, Express.js with TypeScript & GULP

Maintaining a Private NPM registry for your Organization with Sinopia–Private NPM server


In this post, we will take a quick dig at setting up our own private Node Package Registry with Sinopia. “sinopia is a private/caching npm repository server” Maintaining a private NPM for your organization/team is very helpful when you would like to share the code only with them and not the entire universe. You can… Read More Maintaining a Private NPM registry for your Organization with Sinopia–Private NPM server