No matter how hard this country hard reach, God let me see my own do
I will thrive and prosper.

This topic is a very interesting one. I found it on a Facebook status update of a friend and I decided to write about it.

About 9 years ago, it was a question that bothered my mind as a young graduate who was not sure of what to do with his life.

It was apparent that with the socio-economic challenges facing my country and a lack of direction from the political leadership, my best resort was prayer.

I see people…

The error.

Having the error ‘window is not defined’ in Gatsby is not a big deal, but it might jolt newbies especially when wrapping your head around Server-side Rendering.

You might not encounter this error on development, but when you try to build your Gatsby app for production, this error can pop up on your face.

This has been solved before, and the commonest way you can find it on the internet is either through the debugging HTML builds on the Gatsby documentation or simply calling the window object on ComponentDidMount lifecycle.

The problem is clear by now, the window object wants…

Version control makes Software development and teamwork much more productive. But sometimes, it can very challenging especially when learning the ropes. Sometimes, I encounter a problem like working on a branch for a very long time without rebasing with the base branch e.g (master), only to get ready to deploy to production and get into a rebase hell(I am not sure there is anything like that.). It could look like something below:

Other commits on a PR

Definitely, you do not want to merge other people’s commit with yours especially when those commits are already part of the target branch(master) in this case.

Solution 1

Before now…

Most of us know Lumen is more cut out for developing APIs, but we are sometimes greedy 😲😱! We do not want to miss out on some shipped goodies in Laravel!

Using Form Requests is one of the ways we ensure our business logic is not bloated. But there are default behaviors you do not want to accommodate while developing an API using Laravel.

Even when we modify our global Exception handler for JSON responses similar to :

We still don’t get respective error according to the failed validations. We can try to create an extension of the Form…

I decided to write on this obviously simple topic because a lot of people still find it difficult! 😱😳😰 These people include beginners who battle with a lot of difficulties just trying to echo their hello world using PHP, oldies who have years of experience writing PHP but have failed to migrate to modern paradigms in PHP and naysayers who behave as if PHP murdered a member of their family 😂.

At this point let me say, using *AMPs is old school and there are faster and easier way of setting up the lovely blue elephant 🐘.

Actually, it is…

It’s 2017 and you still prefer using XML(Extensible Markup Language) to JSON(JavaScript Object Notation) for data-interchange? Well, that is not the point about this article. Everything you want to say about the trade-offs of either of them has been dealt with here. But there are still a lot of systems using XML today and I can assure you that it would still be the case X years from now.

Validating XML against XSD might be the first step to take especially when building a feed Reader/Ingester. For Starters, any file like the sample below is a well-formed XML file.

One of the fantastic tools announced by Facebook at the 2016 F8 Developer Conference is AccountKit. An ideal alternative to social login. The 21st Century is made of innovations having the word ‘less’ as the suffix to fantastic ways of doing things: from Cardless Withdrawal to Wireless Communication among others, and now to Passwordless Login. It’s simple, just log in to an application with your phone number or email without any password. And it works on Web, Android and iOS appIications. I will illustrate how to make use of Accountkit in a Laravel application.

Surajudeen Akande

Apprentice, T-shaped, Goal-digger and Public Speaker

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