Category: hosttech

  • Tests

    Test are an important part of programming. Tests ensure that the code you wrote actually works. There are two ways to work with test, one way is to write the code and write the tests for the code or the other way is called Test-Driven Development or TDD for short. In TDD you write the…

    Zum Beitrag

    //

  • Asset Building & Vite

    Here’s a short explanation about asset bundling and Vite in Laravel, which optimize and manage your application’s frontend assets like CSS, JavaScript, and images for production. What is Asset Bundling? Asset bundling combines and optimizes your assets to reduce load times and improve performance. This includes minification, compression, and efficient loading. Using Vite in Laravel Laravel integrates with…

    Zum Beitrag

    //

  • Queues

    Queue Configuration Laravel supports multiple queue drivers: The default queue connection is set in .env via QUEUE_CONNECTION. For example: The database driver uses a jobs table to store queued jobs and a failed_jobs table for failed ones. Dispatching Jobs to the Queue In your JobController, change: to: This queues the email instead of sending it immediately. Running the Queue Worker To process queued…

    Zum Beitrag

    //