Category

Programming Tutorials and Coding Guides

Explore programming tutorials with practical examples across multiple languages, scripting, and development concepts for beginners and advanced users.

Welcome to the Programming tutorials section, where you will learn coding concepts with real-world examples across multiple languages and platforms.

This category includes beginner to advanced guides covering scripting, automation, and application development in Java, JavaScript, Python, Go, TypeScript, and related stacks.

Whether you are learning programming for system administration or building applications, browse the articles below for practical examples and language-specific references.

Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore DevOps and Linux to see how code integrates with system-level operations.

956 articles

Programming category illustration with code editor, automation, and debugging graphics
programming

Stack Vs Queue Explained in Java [In-Depth Tutorial]

In the world of computer science and software development, data structures play a crucial role in organizing, processing, and managing data efficiently. Among

Bashir Alam9 min read
programming

Implement Design Patterns in Java [In-Depth Tutorial]

Implementing design patterns in Java requires an understanding of the patterns themselves, as well as a familiarity with Java syntax and programming concepts.

Bashir Alam18 min read
programming

How to use Java Lambda Expressions?

Lambda expressions are a powerful feature introduced in Java 8 that allows you to write more concise and expressive code. A lambda expression is essentially

Bashir Alam9 min read
programming

Laravel upgrade to 8 or above

Here is how to Laravel upgrade to 8 or above.

Steve Alila6 min read
programming

Laravel Breeze [In-Depth Tutorial]

Laravel Breeze is a lightweight and minimalist authentication system that comes pre-installed with Laravel 8. Its purpose is to simplify the process of adding

Steve Alila6 min read
programming

Laravel Jetstream [In-Depth Tutorial]

This tutorial takes you through an overview of Laravel Jetstream. By the end of the tutorial, you will know how to install and configure the package to

Steve Alila8 min read
programming

How to get Base URL in Laravel?

In the world of web development, Laravel has established itself as one of the most popular PHP frameworks due to its elegant syntax, robust features, and

Steve Alila5 min read
programming

How to show new line in Laravel Blade?

Laravel Blade is a powerful templating engine that comes bundled with the Laravel framework, which is widely used for web application development. It provides

Steve Alila6 min read
programming

Laravel sort by Pivot Table

Laravel is a popular PHP framework widely used by developers for building scalable and robust web applications. One of the essential features that Laravel

Steve Alila10 min read
programming

Hashtable Vs Hashmap in Java [In-Depth Tutorial]

In Hashtable vs hashmap, the hashtable is synchronized and thread-safe, making it suitable for multi-threaded applications, while Hashmap is not synchronized and faster than Hashtable, making it a better choice for …

Bashir Alam6 min read
programming

How to change Timezone in Laravel?

In this tutorial, we discussed different methods to change timezone in Laravel, an essential aspect of developing applications that cater to users worldwide.

Steve Alila5 min read
programming

How to Use Gates and Policy in Laravel?

In this tutorial, we will explore the concepts of Gates and Policies in Laravel, two powerful features designed to simplify the process of implementing

Steve Alila8 min read
programming

How to make Laravel Eloquent IN Query?

In this tutorial, we will explore how to construct "IN" queries in Laravel using the Eloquent ORM. Eloquent, Laravel's built-in ORM, simplifies the process of

Steve Alila5 min read
programming

How to create timesince feature in Laravel?

There is no built-in method called timesince in Laravel 8. However, you can create a custom function or use Carbon class' diffForHumans() method to achieve

Steve Alila6 min read
programming

Serialization and Deserialization in Java [Explained]

Serialization and deserialization are common techniques used in software development for data persistence and communication between applications. In Java,

Bashir Alam11 min read
programming

Private Vs Protected in Java [In-Depth Tutorial]

In Java, methods are the building blocks of classes, which allow us to encapsulate functionality within an object-oriented paradigm. Java provides several

Bashir Alam9 min read
programming

Java RegEx Explained [In-Depth Tutorial]

Regular expressions are a powerful tool used to match and manipulate text. They are a sequence of characters that define a search pattern, which can be used

Bashir Alam11 min read
programming

Polymorphism in Java Explained [In-Depth Tutorial]

There are two types of polymorphism in Java: compile-time polymorphism and runtime polymorphism.

Bashir Alam9 min read
programming

How to Recursively Search Arrays in Laravel?

Sometimes you want to add custom methods to a Laravel collection, especially if you lack a predefined method for a goal. For example, when doing a Laravel

Steve Alila6 min read
programming

How to Unlink File in Laravel?

Now let's see how to unlink file in Laravel.

Steve Alila6 min read
programming

Spatie Permission: The Ultimate Laravel Security Toolkit

The role:admin middleware from 'role' => SpatiePermissionMiddlewaresRoleMiddleware::class permits only users with Admin role to access the

Steve Alila8 min read
programming

Encapsulation in Java [In-Depth Tutorial]

Encapsulation is one of the fundamental concepts of object-oriented programming (OOP) and is considered essential for building robust and scalable

Bashir Alam11 min read
programming

How to use Generics in Java? [In-Depth Tutorial]

The guide will begin by introducing the basics of generics, including the syntax and its advantages. Then, it will delve deeper into the various ways in which

Bashir Alam10 min read
programming

Difference between Interface and Abstract class

In Java, both abstract classes and interfaces are used to define abstract types. However, there are some differences between these two concepts.

Bashir Alam6 min read
programming

Check User Online or Offline on Laravel

Here is a screenshot which shows the status of the user online or offline on Laravel, let's explore how this can be achieved using Session Tracking.

Steve Alila8 min read
programming

How to implement inheritance in Java?

Java Inheritance

Bashir Alam8 min read
programming

Java instanceof [In-Depth Tutorial]

instanceof in Java is an operator that is used to check if an object belongs to a particular class or a subclass of that class. It returns a boolean value of

Bashir Alam5 min read
programming

Java String Indexing [In-Depth Tutorial]

Java String indexing refers to the process of accessing individual characters within a string by their position or index. Each character in a string is

Bashir Alam5 min read
programming

How to throw exception in Java?

Java is a popular programming language that provides a range of operators and tools to help developers write robust and error-free code. One such operator is

Bashir Alam7 min read
programming

How to PROPERLY add sleep in Java?

Java sleep is a method used to pause the execution of a thread for a specified amount of time. It is used when you want to introduce a delay in your program

Bashir Alam7 min read