GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

PHP/Laravel

Ahmed Salem Computer Studies Englisch 5,0Durchschnittliche Bewertung 5,0 von 5 (1 Bewertung)

Inhalt der Mindmap

PHP/Laravel

  1. Classes

    • Inheritance
      • extends
        • override
      • abstract
        • An abstract class can't be instantiated.
        • abstract methods
          • The child classes MUST implement the abstract method.
      • interface
        • Programming over interface not implementation. If we're struggling between different types when using some class, an interface is a good choice.
        • contract
    • Encapsulation
      • public
      • private
      • protected
  2. Routes

  3. Models

  4. Controllers

  5. DI

    • Passing arguments to a function, in a "classy" way
  6. IoC Container

  7. Eloquent

    • QueryScopes
      • public function scopeNombre($query){ return $query->method(bla, bla bla)->get(); }
  8. SOLID

  9. 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?
  10. Service Container

    • Where services are binded, functions as a Singleton instance of a class.
  11. Service Provider

Informationen

Beschreibung
Mind map about laravel and php wrapping all the important concepts that need to be known.
Erstellt von
Ahmed Salem
Aufrufe
34
Verlauf
  • Erstellt von Luis Rojas · 3 Mai 2017
  • Kopiert von Ahmed Salem · 2 Jan 2019
  • Kopiert von Ahmed Salem · 6 Jan 2019
Bewertung
Durchschnittliche Bewertung 5,0 von 5 (1 Bewertung)

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck