Feb 2015

16

Using SQLite in your Android App

In this blog I wanted to cover the fundamentals of using SQLite database within an Android app for a newbie. I am assuming that you already have an activity from which you'd like to invoke the features to get SQLite support.


Click to read more

Dec 2014

23

Scopes in Rails

Recently i was working on a personal Rails project and rediscovered the power of Scopes in Rails and thought of writing a blog about it.Scopes allow you to specify commonly-used queries which can be referenced as methods calls on models.


Click to read more

Nov 2014

15

Organize your front-end with Angular.JS

The first question that comes to mind is why do we need a front-end framework like Angular.JS? jQuery has been a blessing to the front-end world with its rich features to manipulate the DOM (Document Object Model). Where it falls flat is the inability to organize the front-end logic into the different concerns viz. model, view and controller. This is where Angular shines and we will take an in depth look at it.


Click to read more

Sep 2014

30

Regular Expressions in Ruby

Regular Expression can be a simple pattern, such as the string must contain the sequence of letters "cat" or it can be complex. There are many ways of creating a regular expression pattern. By far the most common is to write it between forward slashes. If you want to match one of the special characters literally in a pattern, precede it with a backslash like so /\\*/.


Click to read more