Category: Uncategorized
-
Angular Testability: Dealing with Selenium or Protractor timeouts
Running automated integration tests is a crucial element for any serious CI/CD pipeline and within our company, our QA uses Selenium for that purpose. Angular offers Protractor for that purpose, but to each artisan his tool, our Angular apps are just part of a suite that include non Angular apps and it’s easier for the…
-
A day in the life: how a frontend developer solves a “simple” bug
I have been working lately with junior front end developers, as well as mentoring aspiring developers and one of the questions that they ask me is how to become a better/senior developer. That’s a question that is hard for me to answer quantitatively but the one quality that I know about senior developers is their…
-
A story of ngUpgrade: Bringing an AngularJS application from 1.6 to Angular 4
After reviewing an existing AngularJS application that was to be used as the basis for an enterprise dashboard application, i quickly determined that the best way forward would be to move the existing application to Angular before implementing the required new features in the more modern versions of the framework. AngularJS in Typescript Understanding ngUpgrade…
-
Reverse Proxying an angular-cli SPA with Apache and Tomcat
It’s always beneficial to have your development environment closely mirror your production one, and thanks to tools like Docker it’s quite easy to set it up nowadays. In this post we will learn how to set up a dev environment for an Angular 4 application, backed by an api served with Tomcat fronted by Apache.…
-
Going Mobile: Wrapping an existing web application in Cordova/Phonegap
Going Mobile: Wrapping an existing web application in Cordova/Phonegap There are many choices to build mobile applications, from native to the growing popularity of hybrid development, with everything in between. In all of these cases, as a developer you would be writing a brand new mobile application from scratch with the ultimate goal of deploying…
-
Dragons when upgrading from Angular 2.1.x to 2.4.x
The reason why I decided to upgrade to 2.4.x was simple enough. On trying to redirect to a new URL I was getting a rather obscure error message, and no amount of URL fiddling worked to get a redirect to work or get me a sensical error message: error_handler.js:47 EXCEPTION: Uncaught (in promise): TypeError: Cannot…
-
Angular2 Routing Error
One of the better things about Angular2 which had already present in Angular1 was the outputting of meaningful errors whenever they happened within the framework. Unfortunately with the new angular-cli webpack based build, it’s not always easy to understand what is happening with certain errors. Consider this error I recently ran into: error_handler.js:47 EXCEPTION: Uncaught (in…
-
Angular2 Router Basics
In the learning curve of Angular2 router features, I ran into a bug that left my head scratching. Trying to render a routerLink would not create the necessary href url. As in: <a routerLink=”app/people-search” routerLinkActive=”active”><i class=”fa fa-search fa-fw” aria-hidden=”true”></i>People Search</a> would render to: <a _ngcontent-rxo-12=”” routerlink=”app/people-search” routerlinkactive=”active”><i _ngcontent-rxo-12=”” aria-hidden=”true” class=”fa fa-search fa-fw”></i>People Search</a> As you…
-
Use AngularJS to Build Your Own Secure Chat App | PubNub
https://www.pubnub.com/developers/angularjs/?utm_content=bufferd8dc6&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer
-
AngularJS Performance Tweaks
http://www.gros-engineering.com/angularjs-performance-tweaks/