In this post I’ll show how to build a Rating component using Laravel Livewire. Laravel Livewire is a framework on top of Laravel to build dynamic applications without leaving the “comfort” of Laravel. The framework takes care of updating the web page by making AJAX requests behind the scenes.
For testing purposes, I’m building a simple book catalogue in Laravel that uses the Rating component. This is a preview of the complete application:
In the red box I’ve highlighted the Rating component:
In the past few weeks I had an opportunity to have a look at InertiaJS. Inertia was created to be the glue between your backend (Laravel or Rails) and frontend frameworks (Vue, React or Svelte), without having to manually create an API for each interaction. In my opinion, InertiaJS can seriously shorten the development time of your Vue/React applications, especially if you are a full-stack developer and your application has a lot of interactions with the backend, i.e. it’s a classic CRUD application. …
In that post, I used the Stackery custom runtime to deploy the PHP application. In this new post, I’m creating a similar application, but with the following differences:
In this post, I’m comparing Laravel and Lumen performances for building a serverless function running on AWS Lambda.
Lumen is a slimmed-down version of Laravel, with fewer package requirements, so it’s smaller, faster and leaner than the full framework. Lumen is built for microservices, rather than user-facing applications.
In my previous post, I explained how to run Lumen Laravel serverless on AWS with a custom PHP runtime. In this post I’ll show how to build a serverless, RESTful API in Lumen Laravel to add, delete, update, and retrieve sample movie data stored in Dynamodb.
This article is not meant to be an accurate step-by-step tutorial: I have only included the main steps to reach the goal. In case you think I’m missing some fundamental details, please comment below.
In this post I’ll go through the process of setting up a Lumen-powered API running as an AWS Lambda function. I’ll use the latest Lambda extension to support custom runtimes, so that the Lambda is pure PHP without the need of a NodeJS proxy.
Lumen is a “micro-framework”, meaning it’s a smaller, faster, leaner version of Laravel, which is the full web application framework. Lumen has the same foundation as Laravel, but it is built for microservices.
AWS Lambda is a service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed…