PHP/Laravel

Descrição

Mind map about laravel and php wrapping all the important concepts that need to be known.
Luis Rojas
Mapa Mental por Luis Rojas, atualizado more than 1 year ago
Luis Rojas
Criado por Luis Rojas mais de 7 anos atrás
1652
1

Resumo de Recurso

PHP/Laravel
  1. Classes
    1. Inheritance
      1. extends
        1. override
        2. abstract

          Anotações:

          • An abstract class can't be instantiated.
          1. abstract methods

            Anotações:

            • The child classes MUST implement the abstract method.
          2. interface

            Anotações:

            • Programming over interface not implementation. If we're struggling between different types when using some class, an interface is a good choice.

            Anexos:

            1. contract
          3. Encapsulation
            1. public
              1. private
                1. protected
              2. Routes
                1. Route Model Binding

                  Anexos:

                2. Models
                  1. Controllers
                    1. DI
                      1. Passing arguments to a function, in a "classy" way
                      2. IoC Container
                        1. Eloquent
                          1. QueryScopes

                            Anotações:

                            • public function scopeNombre($query){ return $query->method(bla, bla bla)->get(); }
                          2. SOLID
                            1. Simple Rules
                              1. No abbreviation
                                1. Class names
                                  1. Methods
                                    1. Variables
                                      1. Be descriptive
                                        1. No more than 2 words in the descriptive method/class
                                        2. No else condition
                                          1. Many choices = Polymorphism?
                                          2. One leve of indentation per method
                                            1. Limit the Instance Variables
                                              1. Wrap primitive and strings
                                                1. Does it bring clarity?
                                                  1. Is there behavior?
                                                    1. Consistency
                                                      1. Important domain concept?
                                                    2. Service Container
                                                      1. Where services are binded, functions as a Singleton instance of a class.

                                                      Semelhante

                                                      PHP
                                                      Urriel =)
                                                      test php
                                                      Jonathan Vg
                                                      Desarrollo web
                                                      William Valdez
                                                      Programacion en PHP
                                                      alejandro neira
                                                      Lenguajes de programación
                                                      Samantha Gonzalez Lopez
                                                      Funciones PHP
                                                      Diego mancia
                                                      Modelo DOM
                                                      Sahavana Mariscal
                                                      PHP Y SUS CARACTERISTICAS
                                                      Irvin Guadalupe
                                                      Evaluacion Final 5to Bachillerato
                                                      Miguel Arias
                                                      DESARROLLO WEB CON PHP II
                                                      Jorge Hernández
                                                      DESARROLLO WEB CON PHP I
                                                      Jorge Hernández