Abstraction is simple and beautiful while writing abstract code is an art. While writing web apps apart from writing business logic most of the time we end up writing CRUD operations (Create, Read, Update Delete). There are a bunch of methods available to generate boilerplate code i.e. scaffolding, custom generators, etc. which have their own [ ]
Last week I pushed a new feature on production which involve file upload on AWS S3. When you are uploading file to S3 from frontend there is always a risk of exposing your AWS secrets to user, so you have following options to avoid this risk Involve server as middleware and upload via server API, you [ ]
Note: This tutorial is intended to newbies only who want to kick-start web development with Ruby on Rails. I will just share links to different resources and give tips based on my experience which may help you starting development with Ruby on Rails. Installation and Prerequisites Just like any other framework ruby on rails framework has [ ]
I am a big advocate of pair programming as I always feel more productive doing tasks in a pair because it tends to be a Get Things Done kind of attitude. Followings are reasons why I believe pair programming can help you more productive at certain stages The purpose of two programmers sitting on a single workstation [ ]
Data is the core of SaaS and having shipped two SaaS products on production in last four years I feel developing SaaS application requires extra safety measures on data security as compared to developing a general purpose application such as Chatting apps, client based solution, etc. Since in SaaS application resources are shared among clients [ ]
Recently Mike Perham creator of SideKiq gem tweeted about support of Arabic and Farsi language in Sidekiq dashboard and call for Urdu language support. We’ve now got Arabic and Farsi support. Urdu, Hebrew, or any other RTL language welcome too! https://t.co/w57H2DaWry Mike Perham (@mperham) March 16, 2017 I being a native Urdu speaker and open [ ]
Ever since I am working in open source I always have had wished to contribute towards open source community and thank GOD today I have submitted my first ever pull request to Faker gem. I have added customised locale for Pakistani names, provinces, telephone numbers, postal codes etc. It is successfully merged to the original [ ]
Today I am going to share most commonly used terminal commands for Backend Developers. I am a Backend developer and has been using these commands on a daily basis during development. I hope you will find some of them handy grep grep is one of the most commonly used terminal command, grep can be used [ ]
This tutorial is particularly intended for nginx, unicorn and rails environment. But you can replace unicorn with any Rake web server i.e. puma, thin, passenger etc. which runs behind nginx since they all communicate with nginx through sock files and these sock files most of the time become root cause of errors. Hold a mug of coffee/tea and let s debug [ ]