万本电子书0元读

万本电子书0元读

顶部广告

Laravel 5.x Cookbook电子书

售       价:¥

7人正在读 | 0人评论 9.8

作       者:Alfred Nutile

出  版  社:Packt Publishing

出版时间:2016-09-01

字       数:118.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
A recipe-based book to help you efficiently create amazing PHP-based applications with Laravel 5.x About This Book Leverage the amazing new features of Laravel 5.x to create cutting-edge responsive PHP applications. Create apps with interoperability features and extend these features to your existing applications as well. Over 60 recipes that combine tried and tested Laravel tips for getting your app working. Who This Book Is For The ideal target audience for this book is PHP developers who have some basic PHP programming knowledge. No previous experience with Laravel is required for this book. What You Will Learn Optimize Your Gulp and Elixir Workflow Use Travis to run tests with every push Build and test your view-based route in PHPUnit Explore workflows for migrations and seeding Implement Angular in your Laravel applications Set up a user authentication system Integrate the new Billing library and Stripe in your Laravel application Use the Artisan command-line tool Test your App in Production with Behat In Detail Laravel is a prominent member of a new generation of web frameworks. It is one of the most popular PHP frameworks and is also free and an open source. Laravel 5 is a substantial upgrade with a lot of new toys, at the same time retaining the features that made Laravel wildly successful. It comes with plenty of architectural as well as design-based changes. The book is a blend of numerous recipes that will give you all the necessary tips you need to build an application. It starts with basic installation and configuration tasks and will get you up-and-running in no time. You will learn to create and customize your PHP app and tweak and re-design your existing apps for better performance. You will learn to implement practical recipes to utilize Laravel’s modular structure, the latest method injection, route caching, and interfacing techniques to create responsive modern-day PHP apps that stand on their own against other apps. Efficient testing and deploying techniques will make you more confident with your Laravel skills as you move ahead with this book. Towards the end of the book, you will understand a number of add-ons and new features essential to finalize your application to make it ready for sub*ions. You will be empowered to get your application out to the world. Style and approach This book will have a practical recipe-based approach with dedicated recipes on your daily Laravel tasks (as well as on more advanced issues) that will help you become a pro with Laravel 5.x
目录展开

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

累计评论(0条) 1个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部