Select Page

Category: Web Development

Creating a Sense of 3D With the Perspective Property of CSS3

What You’ll Be Creating In this tutorial, we will create an interactive element with the CSS3 perspective property in order to give a sense of three dimensions. This tutorial will also teach you how to use jQuery with mouse events in order to obtain element positions in JavaScript and how to manipulate the CSS properties. The HTML Structure for the Perspective Property We need a parent-child relation for the perspective property to work properly. Let’s first create the HTML structure and then continue with the CSS styling. Mountain 5 Days Island 2 Days Here we are wrapping two card elements into...

Read More

How to Code a Settings Screen in an Android App

What You’ll Be Creating The material design team at Google gives a clear definition of what settings in your Android app should do: App settings let users indicate preferences for how an app should behave. They at Google also state that your users should navigate to the app settings either from the side navigation or toolbar menu—with an item labeled Settings.  Including settings in your app gives your users the power to control some of the functionality of your app. This makes your users happy instead of angry—because they are now in control of how the app behaves.  It’s highly recommended to give access to...

Read More

Understanding Recursion With JavaScript

Introduction Some problems are more naturally solved using recursion. For example, a sequence like the Fibonacci sequence has a recursive definition. Each number in the sequence is the sum of the previous two numbers in the sequence. Problems that require you to build or traverse a tree-like data structure can also be solved with recursion. Training yourself to think recursively will give you a powerful skill to attack such problems.  In this tutorial, I will go through several recursive functions step by step to see how they work and show you techniques you can use to systematically define recursive...

Read More

Firebase Remote Config for Android Apps

Firebase Remote Config is a unique service designed to give you fine-grained control over instances of your apps while they are installed on user devices. By using it, you can reliably modify the looks and behaviors of your apps across your entire user base without publishing updates on Google Play. If you’re thinking that this could be a security risk, let me assure you that Remote Config doesn’t let you remotely inject new code into your apps. It only lets you modify, through the Firebase console, the values of certain pre-decided variables that are already present in the code....

Read More

JSON Serialization With Golang

Overview JSON is one of the most popular serialization formats. It is human readable, reasonably concise, and can be parsed easily by any web application using JavaScript. Go as a modern programming language has first-class support for JSON serialization in its standard library.  But there are some nooks and crannies. In this tutorial you’ll learn how to effectively serialize and deserialize arbitrary as well as structured data to/from JSON. You will also learn how to deal with advanced scenarios such as serialization enums. The json Package Go supports several serialization formats in the encoding package of its standard library....

Read More