Code

  • Calculating Distance using MySQL

    While working on project I recently came across very complex SQL query which mainly includes distance calculations. Initially I started off with pretty basic Haversine Formula which worked really fine at first. Then suddenly I walked into very complex situation where I felt the Haversine is not enough so I started looking out for replacement […]

    Read More
  • Laravel – PHP Developers Must Listen To These Podcasts

    Listening to podcasts is very much productive specially for developers. This is the best productive time killer all the time. Being a Laravel developer, I’ve subscribed to few podcasts which I always listen to. • The Changelog The First one is “The Chagnelog”. Changelog is a digital media company focused on telling developer-centric stories that […]

    Read More
  • Web Developer Road Map 2017

    Web Developer Road Map

    Below you find a set of charts demonstrating the paths that you can take and the technologies that you would want to adopt in order to become a frontend, backend or a devops. I made these charts for an old professor of mine who wanted something to share with his college students to give them […]

    Read More
  • How To Setup Two Factor Authentication in Laravel

    Two Factor Authentication

    Introduction Two Factor Authentication Two Factor Authentication (2FA), often referred to as Two-Step-Verification, is a security process in which the user provides two authentication factors to verify they are who they say they are. Two-Factor Authentication provides an additional layer of security that makes it harder for attackers to gain access to person’s device and […]

    Read More
  • Laravel Valet

    Laravel Valet

    App development is big thing but, to make the environment ready is not a simple and steady task. Sometime you can set up your development environment in minutes but, sometimes developers struggle around to make it ready. In PHP, there are few popular developing environment like XAMPP and MAMPP are there which is almost available […]

    Read More
  • What’s New in Laravel 5.3 Release

    Introduction As we all know we’re getting more closer to Laravel 5.3 release and expecting some cool features. So today I thought I should write my own perspective on this release. There are lots of changes including some big changes and some small changes we’re expecting to see in this release. Also there are also […]

    Read More
  • How to write JavaScript Library

    So ever wondered writing own JavaScript library ? yes? so this post is for you. In this article I’ll show you some very simple way to start off writing own javascript library moreover the pattern of modularizing the code. So lets start with some initial boilerplate. var Demo = (function(){ //All codes goes here… function […]

    Read More
  • Detecting Geolocation With JavaScript

    All modern browsers are capable of detecting their own location either by GPS, WiFi or ip addresses. Geolocation is much more accurate for modern devices with GPS, like iPhone and Android. In this post we’re going to see some easy and pure javascript code for detecting geolocation without depending on any third party library or […]

    Read More
  • Vis Js as Vue Js’ Component

    Posts in this seriesVis Js as Vue Js’ ComponentThis blog is all about creating Vis Timeline as Vue‘s component. First of all, Vue.js is a MVVM ( Model View – View Model ) framework which is intuitive, fast and composable for building interactive interfaces. And Vis Timeline is great library to creating timeline and timetable […]

    Read More
  • Scopes and Closures in JavaScript

    Scope Scope controls the visibility and lifetimes of variable and parameters. Most programing languages have block scope that is all variables defined in a block { … } are not visible from outside of the block. The good thing is variables defined in a block can be released when execution of the block finished but […]

    Read More
  • Page 1 of 2