Nested Routing In A NativeScript Angular Application For Android And iOS

March 1, 2017 Nic Raboy

When building mobile applications you’ll often find yourself needing to create child components. What do I mean by child components? Take for example a mobile application with two different screen groupings, one where the user is not signed in and the other where the user is signed in. In each of these groupings you could have multiple screens where the user is signed in and multiple screens where the user is not signed in. Each screen under the parent grouping can be considered a child component and they could possibly share a template from the parent. These child components often require nested routing to occur for a successful navigation.

We’re going to see how to create nested routes in a NativeScript mobile application built with Angular. You’ll see that things aren’t much different from creating standard routes in an Angular application.

Read More

Automatically Apply A WiFi Network Configuration To A Raspberry Pi

February 27, 2017 Nic Raboy

As you probably know, I’m a fan of the Raspberry Pi and Pi Zero Internet of Things (IoT) devices. Well, I recently had a moment where I felt like a total newbie. I go through a lot of installations of Raspbian Linux and during every installation I go through a network configuration process. This process of configuration is either by Ethernet or UART connection. Well, it turns out there is an easier way.

It is actually possible to apply a network configuration through the FAT mountable partition saving the hassle of having to connect over UART or Ethernet first. We’re going to see how this is possible.

Read More

Use Social Media Sharing Prompts In A NativeScript Angular Application

February 24, 2017 Nic Raboy

Social media can be huge towards building your brand and promoting your mobile application. It can also make a difference in the user experience of your application. Allowing users to share text and media on their own social media profiles could be huge, no matter how you look at it. A while back I had demonstrated social media sharing in a vanilla NativeScript application for iOS and Android. While vanilla NativeScript is still a very valid option, I’ve been going the route of Angular lately, so I figured this topic could be revisited.

We’re going to see how to implement social media sharing features in a NativeScript mobile application build with Angular.

Read More

Solar Flare For Cloudflare Released On Android And iOS

February 23, 2017 Nic Raboy

I am pleased to announce that Solar Flare for Cloudflare, my first mobile development project in a long time, has been published to the iTunes App Store and Google Play!

So what is Solar Flare and who is it designed for? This is a free application for managing data stored in Cloudflare on iOS and Android. If you’re unfamiliar, Cloudflare is an amazing service that acts as a content delivery network (CDN), among other things related to web performance and security.

Read More

Build A Full Stack Movie Database With NoSQL, Node.js, And Angular

February 22, 2017 Nic Raboy

Not too long ago you’ll remember I wrote a full stack tutorial on developing a full stack movie database with the Go programming language. In that tutorial we made use of NoSQL as the database, Golang as the backend, and Angular as the client frontend. However, I realize that not everyone is a Go developer.

This time around we’re going to take a look at developing the same full stack movie database application, but using Node.js instead of Golang. It is a good example to show that elements in the stack are modular and each element is replaceable with another technology.

Read More

Unit Testing A Golang Application That Includes HTTP

February 20, 2017 Nic Raboy

When building a great application, it is a good idea to plan for proper testing of each of the components that make the application tick. Through unit testing, we can test each function within the application as a separate entity, to make sure it performs based on our testing criteria.

But how do you do this in a Golang application? What if you need to test endpoints that were created using the Gorilla mux package?

We’re going to see how to develop unit tests for our functions as well as HTTP endpoints in a Golang application using the available Go testing framework.

Read More

Use The Native Device Clipboard In A NativeScript Angular Application

February 17, 2017 Nic Raboy

Back when I had just started to learn NativeScript I had created a tutorial for using the native device clipboard for copying and pasting. The previous tutorial demonstrated this functionality in a vanilla JavaScript application. In an effort to clean up any loose ends, I figured it would be a good idea to convert this tutorial into an Angular equivalent. While nothing has really changed in the clipboard functionality, Angular is a very different animal.

We’re going to see how to copy and paste directly within an application built with Angular, TypeScript, and NativeScript.

Read More