Software Developer. Building digital products.
Image for post
Image for post

I read on a book that said “When you desperately want something, the universe conspires to make it happen”. This sentence is about perseverance, not desire. Focusing on something for a long time is a reflection of perseverance.

Focused work gives better return

The difference of results between continuous attention and fragmented attention over a period of time is significant. With fragmented attention you will only get a superficial idea of the subject. It takes time for a mind to be submerged into something.

Some works are not doable without attention

It’s true you can a lot of work without much attention. Logistical tasks such as filling up a form or making…

We will be going through this article with the assumption that you already know how to use Redux. If you don’t, go ahead and learn to use it first. We have to know what Redux does to better understand how it does that.

Let’s first create our reducer function.

Then we are going to create the createStore function which takes the reducer function as an argument and returns three methods. Namely, getState , dispatch , andsubscribe. We will also have the unsubscribe feature which is a function returned by the subscribe method.

Now when you call store =…

Image for post
Image for post

The most important benefit unit testing gave me is being able to make changes without fearing things might blow up due to even a small change. The whole process of Software development is dealing with complexity where each new step creates a brand new tangle in the already existing fuck sandwich of a stack.

For smaller projects, you may get away okay without writing unit tests. But in a decent sized project with more than one developer involved, it’s a must if you want to keep your sanity intact.

As engineers, all we do is making things that reduce human…

Image for post
Image for post

JavaScript has experienced a revolution in recent years. The demand for JavaScript powered client-side rendered single page applications is more than ever. WordPress was traditionally used for serving static HTML pages rendered by the server. However, its adaptation of the REST API has made it a suitable candidate as the data source of your client-side app. There are very few developers who don’t know their way around WordPress and it has a very modern, easy-to-use dashboard. I’m going to show in simple steps how to use WordPress as your data source.

The posts and the custom posts of your WP…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store