Blog
A platform for the local community to bounce ideas around!
Got something interesting to share with your local community?
Starfish vs Spider — The Dawn of Blockchain
Originally published on Medium.com - View the original article here. In 1995, Newsweek published the article (picture above) claiming that “No online database will replace your daily newspaper, no CD-ROM can take place of a competent teacher and no computer network will change the way government works.” Keep in mind...
Integrating PayFort — we suffered so you don't have to
Originally published on Medium.com - View the original article here. You think you’ve got a good productive day ahead when your client asks you to integrate an online payment gateway built by Amazon. This is what my lead iOS Dev (Tahir Pasha) told me in response to this ticket “So...
Explaining blockchain to 5th graders
Originally published on Medium.com - View the original article here. A couple of months ago, I was invited by Google’s Startup Grind to give an introductory talk about blockchain at the National Incubation Center (NIC) in Islamabad. The goal was to explain what blockchain is (and its implications and use...
Refactoring a fat Rails Model
Originally published on Medium.com - View the original article here. Models are a core component of the MVC architecture where all the business logic is supposed to go. I say ‘supposed to’ because it’s not always best to put everything in the model.Whoever coined the ‘Skinny Controllers, Fat Models’ convention...
Rails ActiveRecord Callbacks — Cheat-sheet & best practices
Originally published on Medium.com - View the original article here. For the uninitiated, here’s how the rails website introduces and defines callbacks: The following image shows which callbacks are available at different parts of an object’s life cycle and the order in which those callbacks are executed: During the normal...