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…
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:
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.
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 🐘.
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.