Name: learn-php
Owner: PHP Santa Catarina
Description: :elephant: Learn modern PHP
Created: 2018-03-04 21:20:57.0
Updated: 2018-03-04 21:17:51.0
Pushed: 2018-03-04 12:58:05.0
Size: 225
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The LAMP stack:
Most frameworks in PHP follow some sort of MVC structure. The theory is simple:
The user interfaces with the view, which passes information to a controller. The controller then passes that information to a model (layer), and the model passes information back to the controller. The controller effectively stands between the view and the model. (Brandon James Savage)
“Write shy code -
modules that don't reveal anything unnecessary to other
modules and that don't rely on other modules' implementations.”
Simplicity is prerequisite for reliability.
? Edsger W. Dijkstra
“DRY ? Don't Repeat Yourself
Every piece of knowledge must have a single,
unambiguous, athoritative representation within a system.”
Bad programmers worry about the code. Good programmers worry about data structures and their relationships.
Follow common PHP conventions for object-oriented code, and established industry best practices: PSR-1, PSR-2, PSR-4.
?Software testers do not make software; they only make them better.? ? Anonymous
Code never lies, comments sometimes do.
A good programmer looks both ways before crossing a one-way street.