PHP/Laravel

Beschreibung

Mind map about laravel and php wrapping all the important concepts that need to be known.
Luis Rojas
Mindmap von Luis Rojas, aktualisiert more than 1 year ago
Luis Rojas
Erstellt von Luis Rojas vor etwa 7 Jahre
1459
1

Zusammenfassung der Ressource

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

          Anmerkungen:

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

            Anmerkungen:

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

            Anmerkungen:

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

            Anlagen:

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

                  Anlagen:

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

                            Anmerkungen:

                            • 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.
                                                      Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                      ähnlicher Inhalt

                                                      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
                                                      DESARROLLO WEB CON PHP II
                                                      Jorge Hernández
                                                      DESARROLLO WEB CON PHP I
                                                      Jorge Hernández
                                                      Evaluacion Final 5to Bachillerato
                                                      Miguel Arias