ỨNG DỤNG WEBSITE BẰNG LARAVEL
Mục lục
1. Cài đặt web server Ampps
-
Download: />
1.1.Thiết lập biến môi trường cho PHP
1
ỨNG DỤNG WEBSITE BẰNG LARAVEL
1.2.Thiết lập biến môi trường cho MySQL
1.3.Bật module chế độ mod_rewrite
2. Cài đặt Zend Opcache
-
Download: />Xem: Make your Laravel App Fly with PHP OPcache
Sửa tập tin php.ini:
o zend_exension = php_opcache.dll
o opcache.enable=1
o opcache.memory_consumption=512
o opcache.interned_strings_buffer=64
o opcache.max_accelerated_files=32531
2
ỨNG DỤNG WEBSITE BẰNG LARAVEL
o opcache.validate_timestamps=0
o opcache.save_comments=1
o opcache.fast_shutdown=0
2.1.Cài đặt Opcache UI:
-
Download: />
3. Cài đặt Composer
-
Download: />
-
Đường dẫn composer.phar: C:\ProgramData\ComposerSetup\bin\composer.phar
3
ỨNG DỤNG WEBSITE BẰNG LARAVEL
4. Cài đặt Git SCM
-
Download: />
5. Cài đặt Redis
-
-
Xem:
o />o Make your Laravel site 6x faster using Redis as caching server
Download Redis cho Windows: />
4
ỨNG DỤNG WEBSITE BẰNG LARAVEL
6. Cài đặt Laravel
-
Xem: />Chạy: http://localhost/laravel/vcms/public/
7. Trình soạn thảo
7.1.Cài đặt Laravel IDE Helper
-
Link: />
7.2.Cài đặt PHPStorm Laravel Live Templates
-
Link: />
8. Cơ sở dữ liệu
8.1.Tạo mới
-
Download HeidiSQL: />
5
ỨNG DỤNG WEBSITE BẰNG LARAVEL
8.2.Cấu hình
-
Xem: />
8.3.Cài đặt Laravel Migrate Refresh
-
Link: />
8.4.Cài đặt Laravel Crudkit
-
Link: />
8.5.Thiết kế schema
-
Xem: />
-
8.5.1. Cài đặt Schema Builder
Link: />
-
8.5.2. Cài đặt Schema View
Link: />
8.6.Insert dữ liệu (Seed)
-
Xem: />
-
8.6.1. Cài đặt iSeed
Link: />
9. ORM
9.1.Model
9.1.1. Chức năng
-
9.1.1.1.Cài đặt Eloquence
Link: />
-
9.1.1.2.Cài đặt Laravel Nestable – Cha con
Link: />
-
9.1.1.3.Cài đặt Rinvex Category
Link: />
-
9.1.1.4.Cài đặt Single Table Inheritance
Link: />
-
9.1.1.5.Cài đặt Rinvex Sparse (EAV)
Link: />
-
9.1.1.6.Cài đặt Eloquent Sortable
Link: />6
ỨNG DỤNG WEBSITE BẰNG LARAVEL
9.1.1.7.Cài đặt Eloquent Filter
- Link: />-
9.1.1.8.Cài đặt VentureCraft Revisionable
Link: />
-
9.1.1.9.Cài đặt Rinvex Cacheable
Link: />
-
9.1.1.10. Cài đặt Query Builder Parser
Link: />
-
9.1.1.11. Cài đặt belongsToThrough
Link: />
-
9.1.1.12. Cài đặt Laravel Relatable
Link: />9.1.2. Module
-
9.1.2.1.Cài đặt Rinvex Tag
Link: />
-
9.1.2.2.Cài đặt Laravel Meta
Link: />
-
9.1.2.3.Cài đặt Laravel Settingable
Link: />
-
9.1.2.4.Cài đặt Addressable Trait
Link: />
-
9.1.2.5.Cài đặt Laravel Taxonomies
Link: />
-
9.1.2.6.Cài đặt Laravel Poll
Link: />
-
9.1.2.7.Cài đặt Laravel Favorite
Link: />
9.2.Repository
-
9.2.1. Cài đặt Rinvex Repository
Link: />
7
ỨNG DỤNG WEBSITE BẰNG LARAVEL
10.
Giao thức Http
10.1.
Rest API
-
10.1.1. Cài đặt API Guard
Link: />
-
10.1.2. Cài đặt October API Generator
Link: />
10.2.
-
Validation
10.2.1. Cài đặt Laravel Javascript Validation
Link: />8
ỨNG DỤNG WEBSITE BẰNG LARAVEL
11.
Bảo mật
11.1.
-
Link: />
11.2.
-
12.
Cài đặt October Captcha
Link: />
Frontend
12.1.
-
Cài đặt Laravel Firewall
Cài đặt Laravel Widgets
Link: />
9
ỨNG DỤNG WEBSITE BẰNG LARAVEL
12.2.
-
Link: />
12.3.
-
13.
Cài đặt Nayjest Grids
Link: />
12.5.
-
Cài đặt Laravel Breadcrumbs
Link: />
12.4.
-
Cài đặt Laravel Menus
Cài đặt Laravel Datatables
Link: />
Backend
13.1.
Debug
-
13.1.1. Cài đặt Laravel Debugbar
Link: />
-
13.1.2. Cài đặt SQL Doctor
Link: />
-
13.1.3. Cài đặt October Debugbar Plugin
Link: />
13.2.
Cache
-
13.2.1. Cài đặt Laravel ResponseCache
Link: />
-
13.2.2. Cài đặt Laravel Opcache
Link: />
13.3.
Log
-
13.3.1. Cài đặt Laravel Log Viewer
Link: />
-
13.3.2. Cài đặt Laravel Tail
Link: />
13.4.
Email
-
13.4.1. Cài đặt Laravel Mail Preview
Link: />
-
13.4.2. Cài đặt Laravel Mailable Test
Link: />10
ỨNG DỤNG WEBSITE BẰNG LARAVEL
13.4.3. Cài đặt Laravel Mail Tracker
- Link: />-
13.4.4. Cài đặt October Mail stats & logger
Link: />
13.5.
Hình ảnh
-
13.5.1. Cài đặt Laravel ImageCache
Link: />
-
13.5.2. Cài đặt October Image Resizer
Link: />
11
ỨNG DỤNG WEBSITE BẰNG LARAVEL
13.6.
Generator
13.6.1. GUI
-
13.6.1.1. Cài đặt Scaffold Interface
Link: ; Document
-
13.6.1.2. Cài đặt Laravel Generator
Link: ; Document
-
13.6.1.3. Cài đặt October Builder
Link: />Video: />
12
ỨNG DỤNG WEBSITE BẰNG LARAVEL
13.6.2. Dòng lệnh
-
13.6.2.1. Cài đặt Scaffold Generator
Link: />
-
13.6.2.2. Cài đặt Laravel File Generator
Link: />Wiki
13.7.
-
Đa ngôn ngữ
13.7.1. Cài đặt Translate
Link: />
13
ỨNG DỤNG WEBSITE BẰNG LARAVEL
-
14.
13.7.2. Cài đặt Translate Extended
Link: />
Quản trị Admin
14.1.
-
Link: />
14.2.
-
15.
Quản trị Người dùng
Cài đặt October User
Link: />
15.3.
-
Cài đặt Laravel User Verification
Link: />
15.2.
-
Cài đặt Laravel-Admin
Link: />
15.1.
-
Cài đặt LaraAdmin
Cài đặt October User Import/Export
Import and export feature for User plugin.
Link: />
14
ỨNG DỤNG WEBSITE BẰNG LARAVEL
15.4.
-
Link: />
15.5.
-
Cài đặt October User Plus (Rainlab)
Cài đặt October User Plus (Indikator)
Link: />
15
ỨNG DỤNG WEBSITE BẰNG LARAVEL
15.6.
-
Cài đặt October User Profile
Link: />
16
ỨNG DỤNG WEBSITE BẰNG LARAVEL
15.7.
-
Cài đặt Social Login
Link: />
17
ỨNG DỤNG WEBSITE BẰNG LARAVEL
15.8.
-
Cài đặt User Access Log
Link: />
18
ỨNG DỤNG WEBSITE BẰNG LARAVEL
15.9.
-
16.
Link: />
Quản trị Trang
16.1.
-
Cài đặt Frontend Roles Manager
Cài đặt October Static Pages
Link: />Bài viết: Getting started with Static Pages
19
ỨNG DỤNG WEBSITE BẰNG LARAVEL
- Video: Building client-friendly websites
- Layout:
-
Page:
20
ỨNG DỤNG WEBSITE BẰNG LARAVEL
-
Menu:
21
ỨNG DỤNG WEBSITE BẰNG LARAVEL
-
Snippet:
16.2.
-
Cài đặt October Content Type
Assign custom content type to data generated with CMS pages.
Link: />
22
ỨNG DỤNG WEBSITE BẰNG LARAVEL
17.
Quản trị Tin tức/Blog
17.1.
-
Link: />Video: Building a Blog & Forum Website
17.2.
-
Cài đặt October Blog Stats & Graphs
Statistics and Graphs for RainLab Blog.
Link: />
17.3.
-
Cài đặt October Blog
Cài đặt October Blog Tag
Link: />
23
ỨNG DỤNG WEBSITE BẰNG LARAVEL
17.4.
Cài đặt October News & Newsletter
-
Link: />Posts:
-
Subscriber:
24
ỨNG DỤNG WEBSITE BẰNG LARAVEL
-
Stats:
-
Frontend:
25