I’ve been keeping up with Angular since the beta releases and if you have too you’ll know that navigation has changed about one hundred times between then and the now stable release. Navigation with the Angular Router component is a tricky subject, but understanding it is necessary for pretty much every quality Angular web application.
I wrote a now obsolete tutorial on how to navigate between Angular routes back when Angular was in beta. Since Angular is now stable, I thought it would be a good idea to share how to navigate between pages with the stable Angular Router component.
Read MoreWhen building a NativeScript application with Angular, there are certain scenarios where you might want to share functions and variables across the pages of the application. There are other scenarios where you might want to pull similar functions into a class for code cleanliness. Both of these scenarios would find value in using Angular shared providers.
Shared providers can be injected into the constructor methods of each page that you wish to use them. The providers can act as a singleton where the data and functions are global to the application rather than local to any specific page.
We’re going to see how to create a provider for managing interactions with a database in an Angular NativeScript application.
Read MoreI don’t typically write product reviews, but since I’m a huge advocate for the Internet of Things (IoT) and smart home technologies, I think it makes sense to share some opinions. I own an Amazon Echo and a second generation Amazon Echo Dot. Today (November 4th), I received my Google Home that started shipping to everyone this week.
The following is my opinion between the two brands, where each succeeds and where each falls short.
Read MoreContinuous integration (CI) and continuous deployment (CD) are terms that I hear thrown around quite frequently. I’ve been a software developer for a long time, but it is only recently that I’ve welcomed these terms into my life. CI and CD is the automated process of running various tasks such as unit testing or building a version controlled project. In this episode of The Polyglot Developer Podcast, I have guest speaker Ivan Nemytchenko, from GitLab, helping me explain what continuous integration is all about and why GitLab has gone ahead and made a completely free set of tools around it.
Read MoreI recently wrote about how to use a SQLite database within a NativeScript Android and iOS application that was built with Angular. This was more or less a revisit to the vanilla NativeScript tutorial on the same subject I had written earlier in the year. What happens when you have a massive amount of data that you’d like to save your user from needing to download before using your application? Can a SQLite database be pre-populated and included within an application?
To keep the flow going, I figured it would be a good idea to demonstrate how to ship a NativeScript Angular application with a pre-filled SQLite database rather than populating it on-the-fly.
Read MoreQuite a bit of time ago when I first started using NativeScript, I wrote a tutorial around using a SQLite database with it. Now just to be clear, this was with vanilla NativeScript, before Angular was available. Heck, the previous article was using JavaScript and not even TypeScript.
Well, times have changed and I figured it would be a good idea to revisit this NativeScript SQLite tutorial, but this time give it some TypeScript and Angular flair.
Read MoreI recently wrote a tutorial for navigating a NativeScript Angular application using the Angular Router. In this tutorial I demonstrated how to create a multiple page application, navigate between pages, and even pass simple string parameters between the pages during navigation. However, what happens when the data you need to pass isn’t so simple?
We’re going to take a look at some of the ways to pass data between routes in a NativeScript application that makes use of Angular.
Read More