admin, Author at Tutorial Rays - Page 48 of 50

admin

Servlet

Building a Secure Login and Dashboard System with JSP, Servlets, and MySQL

Overview In this blog, we will create a complete authentication system using JSP, Jakarta Servlets, JSTL (latest version), and MySQL in a Maven project. The application will include a registration

Read More
Laravel

How to Build a Laravel 12 REST API for Product Management

Laravel 12 REST API for Product Management with Full CRUD Support Laravel is a powerful PHP framework that simplifies modern web development. In this tutorial, we’ll guide you through building

Read More
PHP PHP OOPS - Classs Object

PHP Iterables

What is an Iterable? In PHP, an iterable is any value that can be looped through using the foreach() loop. This includes arrays and objects that implement the Iterator interface.

Read More
Uncategorized

PHP – Static Methods

In PHP, static methods belong to the class rather than an instance of the class. This means you can call a static method directly using the class name, without creating

Read More
PHP PHP OOPS - Classs Object

PHP OOP – Abstract Classes

Abstract Class: Declared with the abstract keyword. Cannot be instantiated directly. Can include both abstract methods (without implementation) and concrete methods (with implementation). Abstract Method: Declared in an abstract class

Read More
PHP PHP OOPS - Classs Object

PHP – Inheritance in Action

What is Inheritance? Inheritance allows a class (child class) to inherit the properties and methods of another class (parent class). The child class can also define its own properties and

Read More
PHP PHP OOPS - Classs Object

PHP – Access Modifiers

Access modifiers control the visibility and accessibility of class properties and methods in PHP. There are three types of access modifiers: public: The property or method can be accessed from

Read More
PHP PHP OOPS - Classs Object

PHP – The __destruct Function

A destructor is a special method in PHP that is automatically called when: An object is no longer in use (e.g., at the end of the script). The script terminates

Read More
PHP PHP OOPS - Classs Object

Understanding the __construct Method in PHP (Introduction)

Understanding the __construct Method in PHP (Introduction) The __construct method in PHP is a fundamental feature of object-oriented programming (OOP). It allows developers to automate the initialization of objects, making

Read More
PHP OOPS - Classs Object

1. PHP OOPS Concept – PHP Class Object

Class A class is a group of objects with common behavior (Functionality) and properties( Attributes). Class is the blueprint of the object. Class is virtual Car Class, Human Class, Byke

Read More