售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Laravel 5.x Cookbook
Table of Contents
Laravel 5.x Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Setting Up and Installing Laravel
Introduction
Setting up Homestead
Getting ready
How to do it...
How it works...
There's more...
See also
Setting composer and PHP on your local machine for faster Workflows
Getting ready
How to do it...
How it works...
There's more...
See also
Setting up your first application in Homestead
Getting ready
How to do it...
How it works...
See also
Using .env for your local build
Getting ready
How to do it...
How it works...
See also
Using sequel pro and connecting to local and remote databases
How to do it...
How it works...
See also
Setting up Gulp and Elixir
How to do it...
How it works...
See also
2. Using Composer Packages
Introduction
Working with Composer install command and avoiding Composer update
Getting ready
How to do it...
How it works...
There's more...
See also
Making a provider
Getting ready
How to do it...
How it works...
See also
Using the Facade pattern
Getting ready
How to do it...
How it works...
See also
Using private packages
Getting ready
How to do it...
How it works...
See also
3. Routing
Introduction
Building an API / JSON based route for searching
Getting ready
How to do it...
How it works…
See also
Testing your route in PHPUnit
Getting ready
How to do it…
How it works…
See also
Building a view based route
Getting ready
How to do it…
How it works…
Testing your view based route in PHPUnit
Getting ready
How to do it…
How it works…
See also
Creating named routes
Getting ready
How to do it…
How it works…
See also
4. Building Views and Adding Style
Introduction
Organizing your Blade files
Getting ready
How to do it...
How it works...
See also
Installing a WrapBootStrap theme
Getting Started
How to do it…
How it works…
See also
Making your authentication pages
How to do it…
How it works…
Implementing an error message template
Getting started…
How to do it…
How it works…
Building your main search page
Getting started…
How to do it…
How it works…
See also
Adding a static page
Getting started…
How to do it…
How it works…
5. Working with Data
Introduction
Setting up users and running migrations
Getting ready
How to do it...
How it works...
See also
Altering a migration
Getting ready
How to do it....
How it works…
See also
Using factories for migrations and tests
Getting ready
How to do it…
How it works…
See also
Using a generator to scaffold your user wishlist area
Getting ready
How to do it…
How it works…
See also
Seeding so you can see how your app looks
Getting ready
How to do it…
How it works…
See also
Adding a file upload to user profile
Getting ready
How to do it…
How it works…
See also
Validating the file upload
Getting ready
How to do it…
How it works…
See also
Saving files to S3
Getting ready
How to do it…
How it works…
See also
6. Adding Angular to Your App
Introduction
Getting ready
How to do it...
How it works...
See also
Adding Angular search to our search page
Getting ready
How to do it…
How it works…
See also
Handling Angular and Ajax requests
Getting ready
How to do it…
How it works…
See also
Paginating our Angular results
Getting ready
How to do it…
How it works…
See also
Testing an Angular page with Behat
Getting ready
How to do it...
How it works…
See also
Creating a relationship with favorites
Getting ready
How to do it…
How it works…
See also
Building a favorites Ajax widget in Angular
Getting ready
How it works…
How to do it…
See also
Validating incoming input
Getting ready
How to do it…
How it works…
See also
Using the CORS protection
Getting ready
How to do it…
How it works…
See also
Using Elixir and Gulp to set up Angular
Getting ready
How to do it...
How it works...
See also
7. Authentication, Security, and Subscriptions
Introduction
Using policies and guard to protect user pages
Getting ready
How to do it...
How it works...
See also
Adding feature flags to hide features from users
Getting ready
How to do it…
How it works…
See also
Implementing Socialite to allow users to login with Facebook
Getting ready
How to do it…
How it works…
See also
Adding custom middleware to protect user admin area
Getting ready
How to do it…
How it works…
See also
Using Laravel to set up a subscription site
Getting ready
How to do it…
How it works…
See also
Creating an interface for the user to manage subscriptions
Getting ready
How to do it…
How it works…
Creating an admin interface for subscriptions
Getting ready
How to do it…
How it works…
8. Testing and Debugging Your Application
Introduction
Generating tests
Getting ready
How to do it...
How it works...
There's more...
See also
Using tests to think through your code TDT (Test Driven Thinking)
Getting ready
How to do it...
How it works...
See also
Getting your code onto GitHub
Getting ready
How to do it...
How it works...
See also
Using VCR for API testing
Getting ready
How to do it...
How it works...
See also
Using Travis to run tests with every push
Getting ready
How to do it...
How it works...
See also
Launching Gulp watch into your workflow
Getting ready
How to do it...
How it works...
See also
Using mockery to test your controllers
Getting ready
How to do it...
How it works…
See also
Troubleshooting your application
Getting ready
How to do it…
How it works…
9. Adding Advanced Features to Your App
Introduction
Building an Artisan command
Getting ready
How to do it...
How it works...
See also
Creating scheduler to notify users of new comics
Getting ready
How to do it…
How it works…
See also
Setting up e-mail notices
Getting ready
How to do it…
How it works…
See also
Adding clean URLS for the users profile page
Getting ready
How to do it…
How it works…
See also
Using pusher for live notifications
Getting ready
How to do it…
How it works…
See also
Adding a blog area to update users on new features
Getting ready
How to do it…
How it works…
See also
10. Deploying Your App
Introduction
Setting up Forge, AWS, and CodeDeploy
Getting ready
How to do it...
How it works…
See also
Setting up Travis to auto deploy when all is passing
Getting ready
How to do it…
How it works…
See also
Working with your .env file
Getting ready
How to do it…
How it works…
See also
Testing your app on Production with Behat
Getting ready
How to do it…
How it works…
See also
Making a composer package out of our client
Getting ready
How to do it…
How it works…
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜