Laravel Database & Eloquent ORM (Beginner Friendly)
π What is Eloquent ORM? Eloquent is Laravelβs built-in Object-Relational Mapping (ORM) system. It allows you to interact with databases using PHP objects , rather than writing raw
Topic
Articles tagged php-framework.
10 articles
Explore #php-framework
π What is Eloquent ORM? Eloquent is Laravelβs built-in Object-Relational Mapping (ORM) system. It allows you to interact with databases using PHP objects , rather than writing raw
π What is CRUD? CRUD stands for: C reate β Add new records R ead β View records U pdate β Edit existing records D elete β Remove records CRUD is the backbone of any web applicatio
π What Are Routes in Laravel? Routes are the entry points for your web application. Every HTTP request is mapped to a route , which tells Laravel which code to execute. Types of R
π What is Middleware in Laravel? Middleware acts as a filter between an HTTP request and the application logic. Flow: Request β Middleware β Controller β Response Middleware is co
π What is an API? API (Application Programming Interface) allows different applications to communicate with each other . In Laravel, APIs are usually JSON-based and follow RESTful
π What is Authentication & Authorization? Authentication β Verifying who the user is (login/register) Authorization β Checking what the user can do (roles/permissions) Laravel pro
π What is Blade? Blade is Laravelβs powerful templating engine that makes it easy to separate PHP logic from HTML . It allows you to write clean, readable, and maintainable code .
π What are Events & Listeners? Events allow you to decouple your application logic . Trigger an event when something happens Handle it later in a listener Use Cases: Sending email
π Why File Upload & Storage is Important Almost every web application requires file uploads : Profile pictures Documents Images or videos for blogs Reports for admin dashboards La
π Why Use Queues & Jobs? In real-world applications, some tasks are time-consuming and should not block HTTP requests: Sending emails or notifications Generating reports Processin
Youβre all caught up.