RSSAmplifier

Blog

Amir Ghaffari's develop notes

Amir Ghaffari's develop notes

amirghaffari.comRSS feed ↗8 posts

Latest posts

Invokable vs Multi-Method Controllers in Laravel: Best Practices and Performance Insights

Invokable vs Multi-Method Controllers in Laravel Overview of Laravel Controllers In Laravel, controllers organize request handling logic into classes, typically found in the app/Http/Controllers directory. These controllers can either be: Multi-method controllers : Handle multiple related actions (e.g., index() , store() , destroy() ). Invokable controllers : Focus on a single action using the…

10 Laravel Tips and Tricks to Boost Your Development Speed in 2024

Laravel is one of the most popular PHP frameworks today, loved by developers for its elegant syntax, powerful tools, and seamless integration with modern web development practices. Whether you’re a seasoned developer or just starting, adopting some time-saving tips and tricks can significantly boost your productivity and streamline your workflow. By mastering these techniques, you can tackle…

Heap vs Stack Memory in Golang: A Comprehensive Comparison

In the realm of Golang, understanding the intricacies of heap and stack memory is paramount. These memory management concepts play a vital role in the performance and safety of your code. In this blog post, we’ll delve into the distinctions between heap and stack memory in Go and explore how they impact your programming endeavors. Heap Memory Heap memory is a crucial component of any…

Dockerizing Your Golang Application for Seamless Deployment and Scaling

Introduction: In the dynamic landscape of software development, Docker has emerged as a powerful tool for packaging, shipping, and deploying applications across various environments. When it comes to Golang applications, Dockerization provides an efficient way to ensure consistent and reliable deployment, making it easier to manage dependencies and scale your application as needed. In this guide,…

How to learn programming from twitter?

As a self-made developer, It is hard to find new relevant technologies to learn, on the other hand you want to make progress and make variety to your skills and get prepared for better job opportunities. A solution is to find technologies which are used in the big companies, but how can you achieve this? It is not simple but you can find out from job opportunities of the company for example find a…

Using Makefile as task runner

In a routine work day life of a programmer there are many tasks that are running repetitively, especially when you deal with multiple programming languages. How about running a magic command like Wubba Lubba Dub-Dub dev to fire a development server without hesitation? This is how I do it in my laravel projects: 1 2 3 dev : @php artisan serve Or This is how I do it in my javascript projects: 1 2 3…

Creating a website with Hugo, Netlify and Forestry.

Having a personal website is a must for almost everyone nowadays especially if you are a software developer or related into computer. In most cases having a simple blog/website will cost money and time, I’ve developed five or more personal websites for myself but always it came up with a problem and they did not last more than a couple of months, so I decided to share my super easy and fast…

How to deploy a NUXT.JS app via NPM and docker?

Since I saw Nuxt.js , I was fascinated by the performance and speed and I always wanted to use it in a project. These days Docker has a mandatory to deploy and ship all kind of apps. So I decided to make a simple template for myself and deploy it via docker, since this post’s title is about dockerizing, I skip the Nuxt part. So let’s begin! Step 1: At first we add a empty Dockerfile to…