In the second part of this blog, we continue exploring the powerful features of PHP that can significantly enhance your coding experience. To learn about Readonly Properties, Enums, Match Expressions, Constructor Property Promotion and Named Arguments view Part 1. These features focus on improving code readability, maintainability, and overall performance, helping developers write cleaner and […]
This blog will showcase some excellent features of the PHP scripting language that can significantly improve your coding experience. By utilizing these features, you can write cleaner, more readable code. Let’s dive into the top 10 PHP features that can enhance your development process. 1. Readonly Properties Readonly properties, introduced in PHP 8.1, allow you […]
Welcome to Part 4 of our blog-building series! With the backend and admin interface all set up, it’s time to bring your blog to life with a beautiful and responsive frontend. In this part, we’ll focus on displaying blog posts using Astro, React, and Tailwind CSS. You’ll learn how to set up Tailwind, create the […]
Welcome to Part 3 of our blog-building series! Now that we’ve laid down a solid foundation with Supabase and locked it down with functions, triggers, and RLS, it’s time to bring it all together by setting up an admin interface. This is where you’ll manage your content, handle uploads, and control the entire blog from […]
Welcome back! Now that we’ve got our UserProfile and Posts tables set up, it’s time to add some serious firepower to our backend. In this part, we’re going to explore how to use functions, triggers, and Row-Level Security (RLS) policies in Supabase to automate tasks, secure your data, and ensure your blog runs like a […]
Alright, let’s kick things off! We’re diving into the first part of our blog-building journey where we get cozy with Supabase. This is where all the magic starts—your backend. In this part, we’ll spin up a Supabase project, create our essential tables (Posts and UserProfile), and establish the relationships that’ll make everything click together. Ready […]
In this tutorial, we’ll walk through the process of setting up an HTTP 1.1 server using Node.js. This server will serve static files and provide a basic understanding of handling HTTP requests and responses. Prerequisites Step 1: Initialize the Project Start by creating a new directory for your project and initializing it with npm. This […]
In the previous blog, we covered setting up an HTTPS 1.1 server using Node.js. If you haven’t gone through it yet, you can find it here. In this blog, we will take a step further and set up an HTTP/2 server, which offers significant performance improvements over HTTP 1.1. Prerequisites Step 1: Create the HTTP/2 […]
In this blog post, we’ll walk through the process of managing cart updates with payment intents in an e-commerce checkout system. We’ll break down the process into simple steps and provide code examples for both backend (PHP) and frontend (JavaScript) implementations. Our goal is to ensure that payments are authorized and only captured upon seller […]
Laravel Folio, introduced at LaraconUS 2023, is a new automatic file and directory-based routing system for Laravel. This feature allows developers to map a route to a specific file or folder, similar to file-based routing systems in frameworks like NextJS or NuxtJS. How Laravel Folio Works After installing Folio into your Laravel application, you can […]
Laravel 10.x introduces toRawSql(), a new method to print raw SQL queries with bindings, making debugging easier. Paired with ddRawSql() and dumpRawSql(), it enhances the developer experience.
Laravel Livewire, Inertia.js, and Splade are robust Laravel packages for creating dynamic web applications. Livewire focuses on PHP-driven interactive components, Inertia.js blends server-side and client-side rendering for SPAs, and Splade combines Blade’s simplicity with SPA capabilities. The choice between these tools depends on project needs and developer comfort with PHP and JavaScript.