Tag: nosql
Create 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 MoreUsing Couchbase Server In A Golang Web Application
Not too long ago I wrote an article regarding how to create a RESTful API using the Go programming language, but in it I only used mock data rather than an actual database. What happens if we want to use a database with Golang? What database, or more importantly, what kind of database should be used? Most APIs transfer data in JSON format, so it might make sense to store data in the same format. This means that a relational database might not make sense. Instead, NoSQL databases fit quite well when it comes to RESTful APIs. A popular NoSQL database that stores data in JSON format is the open source Couchbase Server.
We’re going to take a look at how to include Couchbase Server into our RESTful web application written in the Go programming language.
Read MoreBuild An RSS Reader Mobile App With NativeScript And Angular
Rich site summary (RSS) feeds are very common on blogs or sites that have a publication type feed. These feeds are in XML format and have information such as the publication title, a summary, or other bits of information that is rather useful. There are plenty of mobile applications on Google Play and iTunes that support the aggregation of RSS feeds, but have you ever wanted to build your own? Maybe you want to create your own news application based on your own algorithms, or maybe your company has a mobile application and you’d like to include a blog section to the mobile app. Whatever the need may be, doing so is not difficult.
We’re going to see how to use Angular, Yahoo’s YQL language, and NativeScript to build a fully native RSS feed reader for Android and iOS.
Read MoreTPDP Episode #6: PouchDB and its Usefulness in Development
As a web and mobile application developer, you may come to a point where you need to worry about data and how to synchronize it between devices in platforms. PouchDB is one of a few good solutions that makes this task significantly easier. In this episode of The Polyglot Developer Podcast, guest speaker Nolan Lawson and I discuss PouchDB and how it is being used in a lot of modern applications, both web and mobile.
Nolan Lawson is a Program Manager at Microsoft, but also one of the core contributors to the PouchDB open source project. In Episode #6: PouchDB and its Usefulness in Browser Based Development, we’re going to cover a lot of ground without actually showing how to use the database in your application. After all, this is an audio only podcast. You will however, be educated on a lot of the technical concepts and popular use cases behind the tool.
Read MoreUsing Couchbase NoSQL In A NativeScript Angular Mobile App
Not too long ago I created a Couchbase NoSQL plugin with Mehfuz Hossain from Telerik for the NativeScript framework. Since developing the plugin it has received a lot of positive feedback and great developer adoption. Shortly after its release I published a blog post on how to use the Couchbase plugin in a NativeScript app. The blog post I had written focused on using NativeScript’s proprietary vanilla framework. Since then, Angular has been released for NativeScript, so it makes sense to make an Angular version of the tutorial.
We’re going to see how to create a cross platform NativeScript application that syncs, using Angular and Couchbase.
Read MoreBacking Up And Restoring Data In Couchbase Server
Recently I found myself needing to copy data from one Couchbase Server cluster to another. More specifically I needed to copy production data to my local instance so I could play around with it. This could be accomplished by backing up and restoring remote data in my local instance.
The problem is that I had never done this before.
Now I know what you’re thinking, doesn’t this guy work for Couchbase? The answer is yes, but I very rarely work with production data or find myself in this scenario.
We’re going to take a look at backing up and restoring Couchbase bucket data.
Read MoreWebinar Series: Building A CEA2N And NativeScript Application
Today I have finished the final episode of a five-part webinar series on the subject of Couchbase, Express Framework, Angular, and Node.js (CEA2N) application development. This webinar series has been going on for the past five weeks where each week I covered a new topic relative to the stack leading up to a NativeScript mobile application.
Each episode of this webinar was recorded and can be viewed for free here. This is some premium content!
An episode breakdown and project source code can be seen below.
Read More