Easy Laravel 5 Год: 2015 Автор: W. Jason Gilmore Жанр: Учебное пособие Издательство: Leanpub Язык: Английский Формат: PDF, EPUB, MOBI Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 224 Описание: Easy Laravel 5 is a fast-paced, fun, hands-on guide to the powerful Laravel 5 framework. You'll learn how to quickly implement your own project idea by following along with the creation of a real-world project covering concepts such as models, views, RESTful controllers and forms integration. You'll also learn all about Laravel 5 features, including among others form requests, Elixir, the Command Scheduler.
Примеры страниц
Оглавление
Introduction
What's New in Laravel 5?
About this Book
Introducing the TODOParrot Project
About the Author
Errata and Suggestions
Chapter 1. Introducing Laravel
Installing Laravel
Creating the TODOParrot Application
Configuring Your Laravel Application
Useful Development and Debugging Tools
Testing Your Laravel Application with PHPUnit
Conclusion
Chapter 2. Managing Your Project Controllers, Layout, Views, and Other Assets
Creating Your First View
Creating Your First Controller
Managing Your Application Routes
Introducing the Blade Template Engine
Integrating Images, CSS and JavaScript
Introducing Elixir
Testing Your Views
Conclusion
Chapter 3. Introducing Laravel Models
Configuring Your Project Database
Introducing the Eloquent ORM
Creating Your First Model
Introducing Migrations
Defining Accessors, Mutators, and Methods
Validating Your Models
Creating a RESTful Controller
Seeding the Database
Finding Data
Inserting New Records
Updating Existing Records
Deleting Records
Introducing Query Builder
Creating Sluggable URLs
Testing Your Models
Summary
Chapter 4. Model Relations, Scopes, and Other Advanced Features
Introducing Relations
Introducing One-to-One Relations
Introducing the Belongs To Relation
Introducing One-to-Many Relations
Introducing Many-to-Many Relations
Introducing Has Many Through Relations
Introducing Polymorphic Relations
Eager Loading
Introducing Scopes
Summary
Chapter 5. Integrating Web Forms
Web Form Fundamentals
Creating a User Feedback Form
Creating New TODO Lists
Updating a TODO List
Deleting TODO Lists
Associating Tasks with Categories
Uploading Files
Summary
Chapter 6. Introducing Middleware
Introducing Laravel's Default Middleware
Creating Your Own Middleware Solution
Using Middleware Parameters
Summary
Chapter 7. Authenticating and Managing Your Users
Configuration Laravel Authentication
Registering Users
Retrieving the Authenticated User
Restricting Access to Authenticated Users
Restricting Forms to Authenticated Users
Creating Route Aliases
Chapter 8. Deploying, Optimizing and Maintaining Your Application
Introducing the Laravel 5 Command Scheduler
Optimizing Your Application
Deploying Your Application
Placing Your Application in Maintenance Mode
Summary
Chapter 9. Creating a Restricted Administration Console
Identifying Administrators
Creating the Administration Controllers
Restricting Access to the Administration Console
Summary
Chapter 10. Introducing Lumen
Creating Your First Lumen Application
Creating a Status API
Integrating the Lumen Application Into TODOParrot.com
Summary
Chapter 11. Introducing Events
Creating an Event
Broadcasting Events
Summary
История изменений (последнее 2015-07-21)2015-07-01
Добавлена глава 11 "Introducing Events".
Readers, I'm very excited to announce availability of a brand new chapter introducing Laravel Events, including an introduction to Laravel 5.1's really sweet event broadcasting feature! The chapter includes several complete examples showing you how to create and integrate events into your application logic, and additionally shows you how to begin broadcasting events to users using the Pusher API in less than five minutes.
2015-07-21
Добавлен материал, связанный с версией 5.1.
Just wanted to let you know I've updated Easy Laravel 5 to reflect various additional 5.1-related matters, such as authentication throttling (chapter 7), changes to how migrations are created along with models, minor adjustments pertaining to how the packages are configured, and general improvements. If you haven't updated the book in a while I suggest having a look at the changelog at http://www.easylaravelbook.com/changelog/.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum