Use Social Media Sharing Prompts In A NativeScript Angular Application

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.

(more…)

Solar Flare for Cloudflare

Solar Flare For Cloudflare Released On Android And iOS

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.

(more…)

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

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.

Unit Testing A Golang Application That Includes HTTP

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.

(more…)

Use The Native Device Clipboard In A NativeScript Angular Application

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.

(more…)

Use Visually Appealing Fancy Alerts In A NativeScript Angular Application

In pretty much every mobile application that I’ve ever made, I’ve had a need to use some form of alert dialog.  The problem with this is that standard alert dialogs are boring and can actually make your application less attractive.  This is where Fancy Alerts come in.

In NativeScript, there is a plugin called Fancy Alerts that can display visually appealing alerts with nice animations.  These alerts have smooth color schemes and can make your application that much more important.  We’re going to see how to include such alerts in our NativeScript Angular application.

(more…)

Using A Raspberry Pi For Distributed Object Storage With Minio

So I was researching object storage and I came across the open source distributed object storage software, Minio.  This lightweight software was written with Golang and accomplishes similar things to that of Amazon S3.  After all they are both object storage solutions.  The difference here is that Minio can be deployed on your own hardware.

Being that Minio was written with Golang, it is cross platform for different computing architectures, ARM included.  This means that the server software can be installed on Raspberry Pi micro computing devices.  Object storage is great for data backups so it gave me the idea to turn my Raspberry Pi into an object storage backup solution.

(more…)

TPDP Episode #12: Getting the Developer Help You Need, Online

I am pleased to announce that the latest episode of The Polyglot Developer Podcast has been released to popular podcasting networks such as, but not limited to, iTunes and Pocket Casts.  In this episode titled, Getting the Help You Need on Stack Overflow, Blogs, and Forum Boards, I revisit something I had discussed on this blog a few years back.  The subject is on getting developer help, online.

Back in 2015 I wrote about the best ways to seek help on The Polyglot Developer.  Both the podcast episode and blog post were inspired by a common set of questions that I would receive in the comments section of the blog.  The common set of questions lack important information required to give a quality response.

(more…)

Connect To A Raspberry Pi And Pi Zero With A USB To TTL Serial Cable

When it comes to configuring a Raspberry Pi for the first time, there are a few options, many of which can be a pain.  This includes configuration of a Raspberry Pi and the smaller Pi Zero.  Previously I had written about using a Raspberry Pi as a headless unit, but in that tutorial there was an ethernet requirement.  Recently I had written about connecting to a Pi Zero through a standard micro USB cable and SSH, which wasn’t difficult, but it required a few potentially time consuming steps.

Is there a better way to connect to and configure these Internet of Things (IoT) devices?

I wouldn’t necessarily call it a better way, but more of another option towards Raspberry Pi configuration.  You can actually connect to the Raspberry Pi and Pi Zero through the available GPIO pins with a USB to TTL serial cable.  We’re going to see how to do that.

(more…)

Build A Full Stack Movie Database With Golang, Angular, And NoSQL

With all the technologies and platforms available, it opens the door to infinite possibilities for development and further validates the need of being a full stack developer.  There are many stacks in existence, but one of my personal favorites includes Golang, Angular, and NoSQL.

So how do you apply all these stack technologies towards a fully functional application?  Let's look at a possible usage scenario before we explore the technologies.

A problem I've found myself having recently is keeping track of all my movies.  Can you believe I've purchased the same film multiple times by accident?  From this spawned my need to keep a database of every movie I purchased.  Using NoSQL, Angular, and the Go programming language, we can create such an application to keep track of what films we own and for what platforms.