Sơn Nguyễn
-
JAVASCRIPT
Ví dụ CRUD với Laravel và Vuejs
#1: Cài đặt Laravel composer create-project --prefer-dist laravel/laravel vuelaravelcrud Tiếp theo bạn vào trong thư mục project và chạy…
Read More » -
Docker
Sử dụng docker-compose để cài đặt laravel – nginx – mysql -php
Giới thiệu Trong những năm qua, Docker trở thành 1 giải pháp thường xuyên được sử dụng để triển khai…
Read More » -
Tip Laravel
Sử dụng Repository trong Laravel
Repository Pattern được sử dụng trong Laravel rất hữu ích, giúp chúng ta dễ dàng maintain code, và giảm thiểu…
Read More » -
100 câu PHP thường được hỏi
1) What is PHP? PHP is a web language based on scripts that allow developers to dynamically create generated web…
Read More » -
PHP OOP
Nguyên tắc SOLID trong PHP
Trong phần này, chúng ta cùng nhau tìm hiểu và triển khai 1 cách đơn giản nguyên lý trong lập…
Read More » -
PHP OOP
PHP OOP Autoloading
Autoloading allows you to automatically include the class files. Why Autoloading? The more clean and clear your code is the…
Read More » -
PHP OOP
PHP OOP Namespaces
Namespaces allow you to have multiple classes with the same name. Explanations Explanation 1 Assume that we have a variable…
Read More » -
PHP OOP
PHP OOP Static
In all the previous chapters, we created objects from classes before accessing methods and properties of it. Static Methods and…
Read More » -
PHP OOP
PHP OOP Constants
Constants are pieces of information stored in the computer’s memory which cannot be changed once assigned. Class Constants are constants…
Read More » -
PHP OOP
PHP OOP Traits
Trong PHP, 1 class chỉ có thể đơn kế thừa (single inheritance), để khắc phục vấn đề này, chúng ta…
Read More » -
PHP OOP Interfaces
Interfaces allow you to specify what methods a class should implement. PHP OOP Interfaces If you know what are abstract…
Read More » -
PHP OOP
PHP OOP Abstract Classes and Methods
When the parent class Knows what to do and Need its child class to do some tasks it can let…
Read More » -
PHP OOP
PHP OOP Inheritance
The Concept of Inheritance In Object-Oriented Programming, when a class derives from another class, it is called inheritance. The derived…
Read More » -
PHP OOP
PHP OOP Visibility
The Definition of Visibility in OOP Visibility of a class member (property, method or constant) is where it can be…
Read More » -
PHP OOP
PHP OOP Constructors and Destructors
Constructors: Constructors are called when an object is created from a class. Destructors: Destructors are called when an object destructs.…
Read More » -
PHP OOP
PHP OOP $this Keyword
$this refers to the current object. $this is a pseudo-variable (also a reserved keyword) which is only available inside methods.…
Read More » -
PHP OOP
Các phương thức trong lập trình hướng đối tượng PHP
Methods are used to perform actions. In Object Oriented Programming in PHP, methods are functions inside classes. Their declaration and…
Read More »