PHP/Laravel

Description

Mind map about laravel and php wrapping all the important concepts that need to be known.
Ahmed Salem
Mind Map by Ahmed Salem, updated more than 1 year ago More Less
Luis Rojas
Created by Luis Rojas about 7 years ago
Ahmed Salem
Copied by Ahmed Salem over 5 years ago
25
0

Resource summary

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

          Annotations:

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

            Annotations:

            • The child classes MUST implement the abstract method.
          2. 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:

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

                  Attachments:

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

                            Annotations:

                            • 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.
                                                      2. Service Provider
                                                        1. TDD
                                                          1. Unit Test
                                                            1. Fail
                                                              1. Success
                                                              2. Integration Test
                                                              Show full summary Hide full summary

                                                              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ņš