blade



Laravel blade structure for scalable projects

  • avatar
  • 3.7K Views
  • 2 Likes
  • 5 mins read
Preview post image

Projects tend to grow in size and level of complexity resulting in more and more files. A good base structure may help creating developer-friendly, maintainable and scalable product. Blade is a simple and powerful templating engine included with Laravel. Unlike some PHP templating engines, Blade does not restrict you from using plain PHP code in your templates. In fact, all Blade templates are compiled into plain PHP code and cached until they are modified, meaning Blade adds essentially zero overhead to your application. Blade template files use the .blade.php file extension and are typically stored in the resources/views directory.

Creating a custom maintenance page in Laravel

  • avatar
  • 2.5K Views
  • 5 mins read
Preview post image

In Laravel, maintenance mode is a convenient feature that allows developers to display a custom message to visitors while the application is undergoing updates or fixes. It prevents users from encountering unfinished or broken features, giving you the opportunity to make changes without affecting the live experience. By default, Laravel provides a basic maintenance page, but if you want to create a more personalized version, you can easily do so. A well-designed custom page helps to keep users informed and reassured during maintenance.