The Frustration that is KeNIC and its brilliant API

kenic_article_fullWorking with APIs is something that every developer gets used to over time. Be it PayPal, eNom, Namecheap, infobip or even PesaPal – there are a few things we expect when working with an API mainly a sandbox environment, proper documentation and possibly sample code.

The Sandbox environment is a developers playground – where one can refine their code for every scenario that the API or its users might bring up. Usually, it is based on a subdomain, sample keys, or something of the sort. The switch between Sandbox and Live is normally a simple switch of a url or change of API keys – and more often than not, once everything works in the sandbox, there is little or no reason for the application not to work in live.

Of late, I have a new appreciation of Sandbox environments – especially ones that work like they should. This new found appreciation is all thanks to KeNIC API.

Continue reading

Share

Atomic Operations in MySQL–How to wrap Inserts or Updates into a Transaction

innodb-vs-myisam-300x225As a developer, it is normally quite un-nerving to get a call from the people using your beautifully designed software with the message – things have gone wrong and your code or system has gone fritzzz… I normally just blame the operators cum users of the system for either not using the system right or for putting in wrong inputs. I know – as developers, we are supposed to code as if the users are total and absolute idiots but from time to time, the crazy things that users put as inputs on systems just catches us off guard as anybody in their right mind would never have put ‘that’ as an input.

You would be surprised how many times people call, and when the customer care clerk asks the user for their usernames so that their account can be located and looked into – the person needing help on the other side of the line says “Let me text you my username”. The reason as to why some one would use the term bi*** as their username on a public site is beyond me. I digress, back to the topic.

Continue reading

Share

How to get Photos / Images of a Facebook Page Album(s) via Graph API

This may not be a problem that many people have – but it sure was a problem for me – for a while – mainly because in as good as Facebook’s documentation on the use of their APIs is, the lack of many examples makes finding solutions not that easy sometimes. So find herein details on how to get the images of an album of a Facebook page.

Continue reading

Share

Can you base a website on a Facebook Page? FBCMS?

Facebook-Business-PageFacebook as a Content Management System

I know this my sound weird but is it? There are quite a number of businesses – granted – small businesses that depend a great deal on their Facebook pages as their online representatives. The idea of that is not something I really like mainly because people on Facebook are normally looking for gossip or basically not looking to work. When we want to work, we normally resort back to our favorite search engine(s) and when looking to buy, our favorite classifieds, auction and ecommerce sites take center stage. Putting merchandise on Facebook leads to visibility by people who are not particularly interested in your product(s) but got to view it because for some reason your page happened to be within their second of third level of friendship zones or some other complicated yet not so complicated link.

Continue reading

Share

Diamond Trust Bank(DTB)…Please make online banking for consumers…we don’t all use Internet Explorer

It has been a while since I ranted about something that just pissed me off, especially when people who know better and have the capability to do better are simply NOT doing better. Bare with me and read on – and zusha if you can (in the comments or on twitter/Facebook) – and maybe we could get the relevant authorities to react accordingly.

Continue reading

Share