Author: Nic Raboy
Create A Real Time Chat App With Golang, Angular, And Websockets
I’ve been hearing a lot about websockets lately and how they can accomplish real time communication between applications and servers. They act as a compliment and possible alternative to RESTful APIs that have been around for significantly longer. With websockets you can do real time messaging for things like chat, communication with IoT, gaming, and a whole lot of other things that need instant communication between clients and the server.
A while back I had played around with websockets and Node.js using a library called Socket.io, but since I’ve been really getting into Golang I wanted to explore websockets using the Go programming language.
We’re going to check out how to create a chat application where the client is an Angular application and the server is a Golang application.
Read MoreCreate A URL Shortener With Golang And Couchbase NoSQL
Continuing down the road of Golang development I thought it would be a cool learning example to develop a URL shortener application similar to that of TinyURL or Bitly. I think these are great examples because not only does it teach you how to develop a RESTful API that uses a datasource, but it also challenges you to think critically when it comes to the algorithms.
Previously I had written about creating a URL shortener using my other favorite server-side technology, Node.js, but the languages are so different that it makes sense to try the same with the Go programming language. In this example we’re going to create an application that makes use of Golang, Couchbase, and a few other project dependencies.
Read MoreDetermine If A Number Is Prime Using The Go Programming Language
Almost two years ago I wrote an article explaining how to determine if a number is prime or not using JavaScript. It turns out this article became more popular than I thought it would, and if I had to guess, it might be because it is a good computer science and overall interview question for new career developers.
I thought it would make sense to revisit the post, but this time focus on accomplishing the task with the Go programming language instead of JavaScript.
Read MoreThe Fibonacci Sequence Printed With Golang
I figured I would change it up a bit and get into the basics of Golang and common Computer Science study material taught in school, but often used in software engineering type positions. We’re going to revisit a post I wrote back in 2015 regarding the Fibonacci number and generating the sequence in JavaScript. This time I figured it would be useful to walk through how to accomplish the same using the Go programming language.
Why do I want to talk about Fibonacci related material?
Well, it is a good way to learn about a development language such as Golang and like I said previously, it would benefit you as a refresher when it comes to interviewing for a job.
Read MoreChanging A NativeScript CSS Skin At Runtime
CSS is usually a subject I avoid due to me being artistically illiterate, but recently a student of mine asked me an interesting question regarding theming an Angular NativeScript application with dynamic CSS files loaded at runtime. Given the nature of Angular, it becomes difficult to load files at runtime because of how Angular compiles and builds projects. NativeScript Angular projects are no exception when it comes to switching a CSS skin.
So what if we want to apply a set of CSS styles on demand, but keep them separated in their own files?
We’re going to see how to switch between files to apply a CSS skin to a NativeScript Angular application on demand at runtime.
Read MoreUsing Google Admob In Your NativeScript Angular Mobile App
I recently received a request from one of my followers for a tutorial on using Google Admob in a NativeScript Angular application. Not too long ago I had demonstrated Google Admob in a vanilla NativeScript project, but I hadn’t yet given it a shot with Angular.
In case you’re unfamiliar with Admob, it is an excellent way to monetize your mobile applications with advertisements. You’ll earn revenue not only from people clicking your in-app advertisements, but also from the advertisements appearing on the screen.
We’re going to see how to use Admob in a NativeScript Android and iOS application that was built with Angular.
Read MoreNativeScript For The Angular Developer
After months of receiving requests, I am finally pleased to announce that my course, NativeScript for the Angular Developer, is now available on Udemy. This Angular and NativeScript course is similar to the previous course I released titled, NativeScript 101, with the exception that this time we’re using Angular instead of vanilla JavaScript. If you’re unfamiliar with NativeScript, it is a cross platform framework for developing native mobile applications. There needs to be emphasis on the native part because you’re not building hybrid web applications, you’re building native mobile applications.
So what can you hope to accomplish in this particular course?
Read MoreSearch
Recent Posts
- Test Password Strength and Password History with TypeScript and MongoDB
- Extract Text from Your PDF and Image Files with Apache Tika
- How to Install MongoDB on Ubuntu: A Step-by-Step Guide for Beginners
- Running MongoDB in Docker - A Complete Guide with Examples
- How to Design Nested Documents for a Blogging App