Archive for Roman Khadka

Timely Backups Of Mongo Database 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 1 Min. Read Dec 14, 2020

This is a basic backup method that i followed to create timely backups of mongo database in production.
Read More..

Timely Backups Of Pg Database 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 2 Min. Read Jun 17, 2020

This is a basic backup method that i followed to create timely backups of postgres database in production.
Read More..

Delegate Method 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 2 Min. Read Jan 12, 2020

How to delegate methods in ruby and rails
Read More..

Async And Defer 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 3 Min. Read Dec 8, 2019

How Javascript loading techniques with modern attributes of async and defer work
Read More..

Rails Asset Pipeline 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 1 Min. Read Dec 8, 2019

Understanding the rails asset pipeline
Read More..

Singleton Pattern In Ruby 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 2 Min. Read Oct 14, 2019

What is singleton pattern, a singleton class, and how do we realise that in Ruby language.
Read More..

High Level Iterators 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 4 Min. Read Oct 14, 2019

Command Query separation and high level iterators that replaces the tradition iteration method.
Read More..

Context Api React 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 3 Min. Read Sep 22, 2019

Context api as an alternative to Redux to manage the state in a React application.
Read More..

Spread Operator In Js 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 3 Min. Read Sep 16, 2019

Spread operator is a very handy operator in Javascript that not many people use.
Read More..

Jquery On Method 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 3 Min. Read Sep 2, 2019

In this post we'll learn to bind event handlers using jquery's on method.
Read More..

Caching In Rails 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 2 Min. Read Aug 21, 2019

We'll learn about caching in rails with the help of an example in which we cache the query result of a method in controller, so that subsequent request to the method need not have to re-run the query and process the results.
Read More..

Highlight Provinces Of Nepal In Google Map 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 2 Min. Read Aug 20, 2019

This article shows how to highlight geopolitical regions in google map, specifically of Nepal. Here, in an example, we've highlighted seven provinces of Nepal in two ways- first, overlays of different colors and second, highlighting just the boundaries with different colors.
Read More..

Refactoring 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 2 Min. Read Aug 18, 2019

What is Refactoring and what are some of the things that need to be avoided that make a code dirty.
Read More..

Import All Icons To Your Website 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 2 Min. Read Aug 14, 2019

Let users choose from all the fonts provided by fontawesome right on your website.
Read More..

Introduction To Visual Design Principles 

RomanRoman Khadka (Team Lead (Ruby on Rails)) 5 Min. Read Aug 12, 2019

Fundamental elements and basic principles of design.
Read More..