null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
16380079
PHP/Laravel
Description
Mind map about laravel and php wrapping all the important concepts that need to be known.
No tags specified
php
laravel
computer studies
Mind Map by
Ahmed Salem
, updated more than 1 year ago
More
Less
Created by
Luis Rojas
over 7 years ago
Copied by
Ahmed Salem
almost 6 years ago
25
0
0
Resource summary
PHP/Laravel
Classes
Inheritance
extends
override
abstract
Annotations:
An abstract class can't be instantiated.
abstract methods
Annotations:
The child classes MUST implement the abstract method.
interface
Annotations:
Programming over interface not implementation. If we're struggling between different types when using some class, an interface is a good choice.
Attachments:
Interface_ex_1
contract
Encapsulation
public
private
protected
Routes
Route Model Binding
Attachments:
Route Model Binding
Models
Controllers
DI
Passing arguments to a function, in a "classy" way
IoC Container
Eloquent
QueryScopes
Annotations:
public function scopeNombre($query){ return $query->method(bla, bla bla)->get(); }
SOLID
Simple Rules
No abbreviation
Class names
Methods
Variables
Be descriptive
No more than 2 words in the descriptive method/class
No else condition
Many choices = Polymorphism?
One leve of indentation per method
Limit the Instance Variables
Wrap primitive and strings
Does it bring clarity?
Is there behavior?
Consistency
Important domain concept?
Service Container
Where services are binded, functions as a Singleton instance of a class.
Service Provider
TDD
Unit Test
Fail
Success
Integration Test
Show full summary
Hide full summary
Want to create your own
Mind Maps
for
free
with GoConqr?
Learn more
.
Similar
computer systems and programming quiz
Molly Batch
Test I. Introduction to web technologies
Angel Martínez Rodriguez
Evaluación de Programación (MYSQL y PHP)
Mitchel Romero C
OpenSource Programming
Faheem Ahmed
Fetch-decode-excecute
Brodie McMeowface
Types of systems
Brodie McMeowface
DATA
Haha_fizul
PHP Exam One
tr.badhan
PHP & MySQL
hratg
PHP intro
Māris Ozoliņš
PHP
ifyouforgetmee
Browse Library