Matt Stauffer - Zitate und Weisheiten

Matt Stauffer wurde(n) 5 mal zitiert.

Laravel now pulled in the majority of its components from Symfony (another framework that released its components for use by others)

Laravel: Up and Running: A Framework for Building Modern PHP Apps

Matt Stauffer

e-Book Location: 200-201

Laravel’s primary focus is on serving the individual developer.

Laravel: Up and Running: A Framework for Building Modern PHP Apps

Matt Stauffer

e-Book Location: 226-227

Closures are PHP’s version of anonymous functions. A closure is a function that you can pass around as an object, assign to a variable, pass as a parameter to other functions and methods, or even serialize.

Laravel: Up and Running: A Framework for Building Modern PHP Apps

Matt Stauffer

e-Book Location: 573-574

In general, I recommend using route names instead of paths to refer to your routes, and therefore using the route() helper instead of the url() helper. Sometimes it can get a bit clumsy — for example, if you’re working with multiple subdomains — but it provides an incredible level of flexibility to later change the application’s routing structure

Laravel: Up and Running: A Framework for Building Modern PHP Apps

Matt Stauffer

e-Book Location: 711-714

Applying middleware in controllers Often it’s clearer and more direct to attach middleware to your routes in the controller instead of at the route definition.

Laravel: Up and Running: A Framework for Building Modern PHP Apps

Matt Stauffer

e-Book Location: 766-771