Lwin Maung Maung
My Notes and Blogs
Rolling back from NextJS to Drupal is never easy, but I have done it this month. I have set up a website in Drupal backend and NextJS frontend. That means Drupal serves the content, and NextJS display it. I have to roll back from NextJS to Drupal for the main reason. Why Decoupled CMS than WordPress...
Laravel has a set of tools for database connectivity, database query or Eloquent ORM. We use nested relationships, especially the database queries specific to logged-in users. Laravel Relationships - avoid nested Relationships What is the user? The user may be a student or a ...
Laravel packages are enormous because packages are vital to Laravel functionality. Here is the list of packages to install after your new Laravel project is up. Laravel umbrella - The tech stack you will see Laravel IDE Helper Laravel is now on the next level. I developed wit...
Laravel is a framework which Taylor Otwell developed in June 2011. It is now one of the most famous PHP frameworks and has 76.1K stars. Many people are using it, and even enterprises also use it. In this post, I will show the umbrella of tech stacks under Laravel and what you will get when you maste...
Laravel relationship is a powerful connection between the tables of your database. Laravel has such simplicity, but we also need a good enough database structure. I will explain the connection between databases and eloquent relationships in this post. - Laravel Eloquent Relationship (external)- Gene...
Tech debt is a task piling when you procrastinate the software upgrade on time. When you have the task to fix the bugs, upgrades, and vulnerability assessments, you delay it. Time passed by, and other tasks are coming. You will get a lot of jobs from earlier and current ones. Why do people create te...
Date handling in Laravel is never much easier than before. You can now cast in Eloquent using the $cast variable. The date handling is one of the trickiest things in the programming world. Date Time Problems Date and time are vital! We always wake up with the clock, do business and go to bed by look...
An end-user who does not know how an application works is the person we target for our products. They are using our applications for some reason, and our apps will make their business faster or more revenue. Who is an end-user? An end-user is a person who consumes our product. He can be any person o...
LTS, short for Long Term Support, is widely used in software development and IT industries. In this post, I will explain LTS and how it functions. Laravel Blades Introduction Every software needs system support. Support varies from Software developments, bug fixes, security fixes, and so...
It will be a second episode of Laravel Herd and Vagrant. Laravel Herd releases a premium version of Laravel Herd named Herd Pro. We discussed whether we should buy Laravel Herd or stick to the Vagrant. The discussions will give more details about choosing Laravel Herd Pro over Laravel Herd and Vagra...
I am creating a set of Laravel tests for my old project, which has been up since 2017. I started writing the Laravel tests since the system has been running long with manual testing. With the help of Pest, I can now write multiple Laravel tests fast by sacrificing some pros of PHPUnit. ...
I have used many Linux boxes and set up many servers. When a new Linux box is up, I install some necessary apps. The detailed installation on Linux is up to your flavour, but I will list some apps that will tell you how your system is up and running and manage some configuration files. Htop I am a b...
The error occured when there is two migration files between old Laravel and new Laravel codes. Laravel Herd vs Vagrant I do it especially on Laravel 5 and it is migrated into laravel 10, and the debt is I didn't change the column length. So, when I do reference table. The problem occur. The ...
Laravel Herd was announced this year by LaraconUS. It is an opt-in replacement for Laravel Valet. However, other competitors with fully virtualized development platforms, like Vagrant, will join the race.
Blade is one built-in feature of Laravel, known as Laravel Blade. It is known as the template engine of the framework. Due to the massive release of JS frameworks, Laravel works with VueJS and ReactJS. I am familiar with Laravel Blade and a fan of simple monolith architecture. I have a belief. I like decoupling Frontend and Backend completely rather than mixing them all. Why Decoupled CMS than WordPress or Drupal?
In API development, the best response time for API response is less than 150ms, according to Hubspot. That means your API response or the programming language you use for your API should be faster than 150ms. There is one question, will you use Laravel vs Lumen?
Blue-Green Development is an application release model to avoid bugs and seamless migration. Laravel Pennant is one of the features for Laravel applications to test features on specific persons. When Laravel Pennant is released, it acts as A-B testing among developers. This post mainly focuses on how we use Laravel Pennant on Blue-Green Development.
Laravel Folio is the newest package announced in LaraconUS. I am interested in it for two reasons. It already works in NextJS and now arrives in Laravel. We are PHP, and PHP has built-in file routing. In a typical PHP project, we can create index.php, web.php, and profile.php files, which can easily be accessed using the file path. So, why Laravel Folio?
Network Interface renames automatically in some cases. In the worst case, your web server will say 502 "Bad Gateway" or just 504 "Gateway Timeout", which means "Bye, I'm gone".
When I looked for the decoupled Drupal, it does have the documentation of decoupled CMS. REST export also plays well for decoupled Drupal, and I love it. Then I proudly chose decoupled Drupal.