.
.

Thursday, January 2, 2014

Laravel: Code Bright

DETAIL
Web application development for the Laravel framework
version 4 for beginners

  • Author: Barry Burd
  • Language: English
  • Published: 2014
  • Page: 458
  • Format: pdf

CONTENTS


The Primers 1
Namespaces 1
JSON 7
Composer 13

Architecture 33
The Container 33
Facades35
Flexibility37
Robustness 38

Getting Started 39
Requirements 39
Installation 40
Web Server Configuration 42
Project Structure 46

Basic Routing 51
Route Parameters 56

Responses 59
Views 60
View Data 61
Redirects 63
Custom Responses 64
Response Shortcuts 68

Filters 71
Basic Filters 71
Multiple Filters75
Filter Parameters 76
Filter Classes 80
Global Filters 81
Default Filters 82
Pattern Filters 83

Controllers 84
Creating Controllers 84
Controller Routing 86
RESTful Controllers 88

Blade 90
Creating Templates 90
PHP Output 91
Control Structures 93
Templates 96
Template Inheritance 97
Comments 103

Advanced Routing 105
Named Routes 105
Secure Routes 107
Parameter Constraints  108
Route Groups 109
Route Prefixing 110
Domain Routing 111

URL Generation  114
The current URL 114
Generating Framework URLs 116
Asset URLs 120
Generation Shortcuts 122

Request Data 125
Retrieval 126
Old Input 132
Uploaded Files 138
Cookies  145

Forms 149
Opening Forms 150
Form Fields  155
Form Buttons 166
Form Macros  168
Form Security 170

Validation 173
Simple Validation 175
Validation Rules183
Error Messages 192
Custom Validation Rules 201
Custom Validation Messages 204

Databases 208
Abstraction 208
Configuration 209
Preparing 215

Schema Builder 216
Creating Tables 216
Column Types 218
Special Column Types 229
Column Modifiers 230
Updating Tables 236
Dropping Tables 242
Schema Tricks 243

Migrations 247
Basic Concept 247
Creating Migrations 248
Running Migrations 252
Rolling Back 257
Migration Tricks 258

Eloquent ORM 260
Creating new models. 262
Reading Existing Models 270
Updating Existing Models 271
Deleting Existing Models 274

Eloquent Queries 277
Preperation 277
Eloquent To String 280
Query Structure 285
Fetch Methods 287
Query Constraints 298
Magic Where Queries 316
Query Scopes 318

Eloquent Collections 321
The Collection Class 321
Collection Methods 321
Best Practice 343

Eloquent Relationships 345
Introduction to Relationships346
Implementing Relationships 351
Relating and Querying 356

Build An App 1: Playstation Game Collection 361
Let’s think this through. 361
Time to get hacking! 362
Database 364
Controller 367
Routes 368
Views 369
Application Logic 377
Relax 382
Homework 383

Authentication 384

DOWNLOAD HERE (mightyupload)
or
HERE (mediafire)

No comments:

Post a Comment