Web Dev Trends
21 subscribers
697 photos
6 videos
690 links
Полезные статьи и новости веб разработки
Download Telegram
#webdev #backend #laravel #env #php #tips

Ensuring Environment Variables Are Set in Laravel

I was recently browsing through X and saw an awesome code tip from Oussama Mater about a method I didn't know existed in Laravel. So I wanted to put together a quick article to share it with you all so you can benefit from it too!

👉 Read article

@webdev_trends
#webdev #backend #php #tips

PHP 8.4 at least

When I open sourced tempest/highlight, people asked me why PHP 8.3 was the minimum required version. I tend to be pretty strict in only supporting the latest PHP versions, and I'm gonna do it again for Tempest itself: I've published the framework's roadmap yesterday, and made it clear that Tempest will require PHP 8.4 at the minimum.

I'm anticipating some questions about that decision, so I wanted to write down my thoughts. I've got three reasons for setting such a strict version requirement.

👉 Read article

@webdev_trends
#webdev #backend #php #laravel

Variable by Reference & Variable by Value in PHP

In PHP, variables can be passed in two primary ways: by value and by reference. Understanding the difference between these two concepts is crucial for effective PHP programming.

👉 Read article

@webdev_trends
#webdev #backend #php #laravel #livewire #inertiajs

How I Made My Laravel Project More Efficient!

Welcome back, friends! If you’re a web developer, you’re in the right place. Today, I’m going to share how I made developing with Laravel more enjoyable and less complicated. 🚀

So, if you’re looking for ways to make your workflow smoother and set up Laravel more efficiently, stick around! I promise there will be lots of cool tips for you to try out. 💻✨ Let’s dive in and make coding fun together! 😎

👉 Read article

@webdev_trends
#webdev #backend #php #laravel

Why use declare(strict_types=1) in PHP – Fast tips

In this tutorial, we'll explore what declare(strict_types=1) means, why PHP developers should use it and why not, and provide examples to illustrate its importance.

This setting comes because of the loosely typed nature of PHP and the increasing demand of strictly typed features led by other popular languages like Java.

Both typing strategies (loose vs strict) have pros and cons, first of all let's understand their meaning.

👉 Read article

@webdev_trends
#webdev #backend #php #laravel #tutorial

Getting Started with Laravel: Your First Application

Laravel is one of the most popular PHP frameworks out there, loved by developers for its elegant syntax, rich feature set, and ease of use. If you’re new to Laravel or even new to web development, building your first Laravel application is a great way to dive into the world of modern PHP development. This guide will walk you through the basics of setting up your first Laravel application, from installation to deployment, so you can start developing powerful and maintainable web applications.

👉 Read article

@webdev_trends
#webdev #backend #php #laravel #apache #htaccess #tutorial #beginners

The Essential Guide to Laravel’s .htaccess: Why, How, and What It Can Do for Your Application

When it comes to building robust web applications with Laravel, the .htaccess file often plays an unsung but critical role, especially if you're hosting your project on an Apache server. While it might seem like just another configuration file, understanding and leveraging the .htaccess file can greatly enhance your application’s security, performance, and overall functionality.

In this blog post, we'll dive deep into why the .htaccess file is so important, what it does, how it works, and even provide you with a sample .htaccess file, complete with explanations to help you master this powerful tool.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #beginners

How I Upped My Frontend Game with Generative UI

In this tutorial, you'll learn what Generative UI is and how to use it to provide a dynamic user experience within your apps.

You'll also learn how to build an interactive sales dashboard that allows you to add, update, and delete data using an AI copilot.

This practical guide will bring up to date to the cutting edge of frontend & AI-enabled application development. Your users will be grateful you honed these skills.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #beginners

Understanding the PubSub (Publish-Subscribe) Design Pattern in JavaScript

The Publish-Subscribe (PubSub) pattern is a popular design pattern used to facilitate communication between different parts of an application without them needing to know about each other directly. This pattern is especially useful for decoupling components in large-scale applications, where events can be published and subscribers can react to these events.

In this article, we'll explore how to implement the PubSub pattern in JavaScript using both an object-based approach and a class-based approach. By the end, you'll have a solid understanding of how to use this pattern in your own projects.

👉 Read article

@webdev_trends
#webdev #javascript #testing #tutorial #beginners

What is Functional Testing? A Comprehensive Guide

In software development, ensuring that an application works as intended is paramount. Functional testing plays a critical role in achieving this goal by verifying that each feature of the software functions correctly according to the specified requirements. This article provides an in-depth look at functional testing, its importance, types, best practices, tools, and frequently asked questions to help you understand how it contributes to delivering reliable and high-quality software.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #beginners

Common JavaScript Mistakes Developers Make

Have you ever been in a situation where you are creating a functional web application using JavaScript, and suddenly, your perfect build becomes a nightmare embedded amid thick red lines (errors)? Frustration sets in, and you get worried, questioning your skills and asking yourself, “What went wrong?”

Funnily, in most scenarios, the cause of the break in the code and errors isn’t some complex bugs but rather a common mistake hidden in the fundamentals of your code. This guide will be the compass that navigates your coding journey in such situations.

In this article, you’ll learn how to navigate these common mistakes. This guide will provide engaging explanations and practical solutions where you see the mistakes and how to fix them.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #beginners #api #PublicAPI

10 Free APIs to Power Your Next Project: Unlocking Potential for Developers 🚀

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #react #expo

Expo vs. React Native: Pros, Cons, and Key Differences

In the world of mobile app development, React Native has emerged as a popular choice for building cross-platform mobile applications. However, within the React Native ecosystem, Expo is another tool that has gained popularity which provides a robust, managed workflow to accelerate the development process. In this Expo vs React Native comparison guide, we'll explore the differences between the two platforms and help you decide which one is best suited for your project.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #angular #internalization

Internationalization (i18n) in Angular

In today’s expansive digital world, web developers aim to connect with a global audience. A key strategy to achieve this is to transform your Angular application into a multilingual experience. Welcome to Internationalization (i18n), where your app can communicate with users in their native languages, no matter where they are. In this blog, we’ll delve into integrating i18n into your Angular project, ensuring your app is accessible and user-friendly for people across the globe.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #tdd

Introduction to Test-Driven Development (TDD) in JavaScript

Test-Driven Development (TDD) is a software development approach where tests are written before the actual code. The process involves writing a test for a specific functionality, implementing the minimal amount of code needed to pass that test, and then refactoring the code while ensuring that the tests continue to pass. TDD encourages writing simple, modular, and maintainable code that is thoroughly tested.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial #frontend

Top 5 JavaScript Frameworks for 2024

JavaScript frameworks are evolving at lightning speed, and staying ahead of the curve is crucial for any web developer. Curious about which frameworks are making waves in 2024? We’ve got you covered! Here are the top 5 JavaScript frameworks that are redefining web development this year

👉 Read article

@webdev_trends
#webdev #javascript #tutorial

🚀Mastering JavaScript: Top 10 Concepts Every Developer Should Know!

JavaScript is the backbone of modern web development, and mastering its core concepts is key to becoming a proficient developer. Whether you're just starting out or brushing up on your skills, these essential concepts will elevate your code to the next level. Let's dive in! 💻✨

👉 Read article

@webdev_trends
#webdev #javascript #html #css #tutorial

Build a Countdown Timer Website

Hello, fellow developers! Today, I'm excited to share a project I recently completed: a Countdown Timer. This project is a great way to learn and practice JavaScript, particularly in the areas of time manipulation and DOM updates. Whether you're looking to build a countdown for an event, a product launch, or just a fun timer, this project is a perfect start.

👉 Read article

@webdev_trends
#webdev #javascript #react #eslint #tutorial

How To Add ESLint In A React Project

Adding Linting rules to a React project is must when it comes to improving code quality, making code more consistent and avoiding bugs.

There is a popular open-source JavaScript linting tool called ESLint, which is used for automatically detecting incorrect patterns found in JavaScript code.

Here’s a step-by-step method to add linting rules to React projects

👉 Read article

@webdev_trends
#webdev #javascript #html #css #tutorial

Build a Analog Clock Website

Hello, fellow developers! Today, I'm thrilled to share a project I recently completed: an Analog Clock. This project is a visually appealing and interactive way to display time using a traditional analog clock face. It's an excellent project for honing your JavaScript, CSS, and HTML skills, particularly in working with animations, DOM manipulation, and time-based functions. Whether you're a beginner looking to practice or an experienced developer wanting to create a classic clock interface, this project is a great choice.

👉 Read article

@webdev_trends
#webdev #javascript #tutorial

15 JavaScript Array Functions You Should Master as a Senior Dev

JavaScript arrays are a fundamental part of the language, and mastering the array functions it offers is essential for any senior developer. These functions allow you to handle data efficiently, write cleaner code, and implement advanced functionality with ease. In this post, we'll dive into 15 array functions that every senior developer should be well-versed in.

👉 Read article

@webdev_trends