HiBit



Create Laravel 12 project from scratch

  • avatar
  • 3.5K Views
  • 3 Likes
  • 6 mins read
Preview post image

Laravel is a PHP framework built to make web development cleaner and faster by following the Model-View-Controller (MVC) pattern. Since its first release in 2011, it has grown into one of the most popular choices for PHP developers. Laravel brings powerful tools like expressive routing, simple database migrations, a built-in authentication system, and Blade templating, making it easier to build full-featured applications without getting buried in repetitive code.

Repository cache in Laravel

  • avatar
  • 2.0K Views
  • 1 Like
  • 11 mins read
Preview post image

In modern web applications, optimizing data retrieval is crucial to improving performance and user experience. One common practice is caching database queries to reduce redundant calls to the database. While Laravel offers built-in caching features, in some cases, you may want to implement custom repository caching manually to better control your caching mechanism. This article will walk you through implementing repository caching in Laravel 12, explaining the steps involved and how to achieve better performance in your application.

Controlling fan speed with Arduino using a potentiometer

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

Adjusting a fan's speed using an Arduino is a great way to learn about PWM (Pulse Width Modulation) and motor control. With just a potentiometer and some simple wiring, you can create a smooth, manual speed adjustment system. This setup is useful for cooling electronics, ventilation projects, or any application where adjustable airflow is needed.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

We never send SPAM nor unsolicited emails

Understanding HMAC signatures and how they work

Available to registered members only
  • avatar
  • 1.8K Views
  • 4 mins read
Preview post image

HMAC, short for Hash-based Message Authentication Code, is a method used to check that a message is both authentic and unmodified. It's a common tool in webhooks, APIs, and any place where secure communication between systems matters. The idea behind HMAC is to use a shared secret key along with a hashing algorithm to create a unique signature for a message. This signature acts like a stamp of trust, if anything changes in the message or if the wrong key is used, the signature won't match.

Implementing Commands and Queries in Laravel 12

  • avatar
  • 1.7K Views
  • 3 Likes
  • 8 mins read
Preview post image

CQRS, short for Command Query Responsibility Segregation, is a simple yet powerful way to split the responsibility for writing and reading data in an application. Instead of having a single service or model method that both changes and retrieves data, you give commands the job of making changes and queries the job of fetching information. This split can make large projects much easier to follow, especially as business rules grow and read and write requirements start to differ.