Laravel’s service container is one of the most important pieces of the framework yet it gets so little attention from a lot of developers. Being interviewed a large number of candidates, I’ve realized that there are two main reasons behind this ignorance.
So in this article, I’ll take you through step by step in understanding this magical concept. …
Benjamin Franklin once said —
A place for everything, everything in its place.
This applies to software development as well. Understanding which portion of the code goes where is the key to a maintainable code base.
Don’t get me wrong. It’s a no brainer that controllers go inside the
controllers directory, no confusions whatsoever. The thing people often confuse themselves with is, what to write in a controller and what not to.
Without any doubt, Express is one of the most popular web frameworks out there. After its initial release on November 16, 2010, Express is still going strong with 50k+ stars on GitHub and being the base for a number of new web frameworks including Sails.js, NestJS, Feathers being the most popular ones.
Part of Express’s charm is its simplicity. It’s fast, unopinionated, and minimal. In other words, Express provides you with a powerful middleware system good enough for building great applications and lets you run free. You can make an entire application within a single
app.js file or a robust…
Although Deno is still in a very early phase of its life and not ready for usage in production-grade applications, I decided to try and see if I could deploy a Deno application on AWS using the deployment process I usually use.
In this article, I’ll guide you through the process of setting up a CI/CD pipeline on Travis CI and deploying a Deno application on AWS Elastic Beanstalk. For deploying the database, we’ll be using the Amazon Relational Database Service (RDS). The application we’re going to deploy is an API that I made a few weeks ago:
In this project, my goal was to see how much effort it took to build a simple API with authentication using whatever modules were available for the runtime in the moment. I also wanted to find out if I could Dockerize it with ease.