Skip to content

Commit 1515085

Browse files
committed
What IS Livewire
1 parent ca36f6c commit 1515085

File tree

2 files changed

+72
-0
lines changed

2 files changed

+72
-0
lines changed

docs/content/what-is/livewire.mdx

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title : What IS Livewire
3+
sidebar_label : What IS Livewire
4+
---
5+
6+
# What IS Livewire
7+
8+
<SubHeading>Short introduction to Livewire, a leading framework powered by PHP.</SubHeading>
9+
10+
Livewire is a full-stack framework for building dynamic web applications in Laravel using only PHP, without requiring extensive JavaScript code.
11+
It enables developers to create interactive, real-time user interfaces by combining the power of Laravel's server-side processing with the convenience of front-end components.
12+
13+
![What IS Livewire, tutorial provided by AppSeed.](https://github-production-user-asset-6210df.s3.amazonaws.com/51070104/271509527-827234f8-6c30-4413-bc13-5f1f6a0c1002.jpg)
14+
15+
> **Key Concepts and Features**:
16+
17+
## ✅ Component-Based Pattern
18+
19+
Livewire revolves around the concept of components. A component is a self-contained, reusable piece of a web interface that consists of both PHP logic and Blade templates.
20+
21+
## ✅ Real-Time Updates
22+
23+
Livewire allows you to make real-time updates to web pages without writing JavaScript. When a user interacts with a Livewire component, it sends requests to the server and updates the page with the response.
24+
25+
## ✅ Server-Side Rendering (SSR)
26+
27+
Most of the logic runs on the server, reducing the complexity of client-side scripting. This is beneficial for SEO and maintaining a consistent user experience.
28+
29+
## ✅ Declarative Syntax
30+
31+
Livewire uses a declarative syntax similar to Vue.js or React, making it easier to understand and work with.
32+
33+
## ✅ Form Handling and Validation
34+
35+
Livewire simplifies form handling and validation, making it easy to create interactive forms.
36+
37+
## ✅ Hooks and Actions
38+
39+
You can define "hooks" to respond to events like page load or form submission, and "actions" to handle specific tasks asynchronously.
40+
41+
## ✅ Data Binding
42+
43+
Livewire supports two-way data binding, allowing you to easily bind form fields to component properties.
44+
45+
## ✅ Error Handling & Validation
46+
47+
Livewire handles form validation and error messages gracefully, providing a smooth user experience.
48+
49+
## ✅ In Summary
50+
51+
Laravel is a powerful PHP web framework that provides the foundation for building web applications, while Livewire is a library that enhances Laravel by enabling the creation of interactive,
52+
real-time web interfaces using PHP and Blade templates.
53+
54+
Together, they offer a robust and efficient solution for developing modern web applications with minimal reliance on JavaScript.
55+
56+
## ✅ Resources
57+
58+
- 👉 Access [AppSeed](https://appseed.us/) and start your next project
59+
- 👉 [Deploy Projects on Aws, Azure, and DO](https://www.docs.deploypro.dev/) via **DeployPRO**
60+
- 👉 Create landing pages with [Simpllo, an open-source site builder](https://www.simpllo.com/)
61+
- 👉 [Django App Generator](https://app-generator.dev/django/) - A 2nd generation App Builder

docs/glossary.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ sidebar_label : Glossary
7676
HTMX is a JavaScript library that allows you to build web applications with modern, dynamic user interfaces while keeping the server-side rendering and simplicity of traditional web development.
7777
It's often used in conjunction with HTML, Python, and other server-side technologies.
7878

79+
## L
80+
81+
**[Laravel](/content/what-is/laravel/)**
82+
83+
Laravel is an open-source PHP web application framework that provides a robust set of tools and libraries for building web applications. It was created by Taylor Otwell and was first released in 2011.
84+
85+
**[Livewire](/content/what-is/livewire/)**
86+
87+
Livewire is a full-stack framework for building dynamic web applications in Laravel using only PHP, without requiring extensive JavaScript code.
88+
It enables developers to create interactive, real-time user interfaces by combining the power of Laravel's server-side processing with the convenience of front-end components.
89+
7990
## M
8091

8192
**[Multitenancy](/content/what-is/multitenancy/)**

0 commit comments

Comments
 (0)