万本电子书0元读

万本电子书0元读

顶部广告

Laravel Application Development Blueprints电子书

售       价:¥

75人正在读 | 0人评论 9.8

作       者:Arda K?l??da??

出  版  社:Packt Publishing

出版时间:2013-11-14

字       数:53.5万

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

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Follow along as we work together to build 10 different applications using Laravel 4. Since each chapter is devoted to the design of a different application, there is no need to read the book in any particular order. Instead, you can pick and choose the blueprints that are of most interest to you and dive right in.This book is for intermediate to advanced level PHP programmers who want to master Laravel. It’s assumed that you will have some experience with PHP already. This book is also for those who are already using a different PHP framework and are looking for better solutions.
目录展开

Laravel Application Development Blueprints

Table of Contents

Laravel Application Development Blueprints

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers and more

Why Subscribe?

Free Access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Building a URL Shortener Website

Creating a database and migrating our URL shortener's table

Creating our form

Creating our Link model

Saving data to the database

Validating the users' input

Returning the messages to the view

Diving further into controller and processing the form

Getting individual URL from the database and redirecting

Summary

2. Building a To-do List with Ajax

Creating and migrating our to-do list's database

Creating a todos model

Creating the template

Inserting data to the database with Ajax

Retrieving the list from the database

How to allow only Ajax requests

Allowing the request using route filters

Allowing the request using the controller side

Wrapping up

Summary

3. Building an Image Sharing Website

Creating a database and migrating the images table

Creating a photo model

Setting custom configuration values

Installing a third-party library

Creating a secure form for file upload

Validating and processing the form

Showing the image with a user interface

Listing images

Deleting the image from the database and server

Summary

4. Building a Personal Blog

Creating and migrating the posts database

Creating a posts model

Creating and migrating the authors database

Creating a members-only area

Saving a blog post

Assigning blog posts to users

Listing articles

Paginating the content

Summary

5. Building a News Aggregation Website

Creating the database and migrating the feeds table

Creating a feeds model

Creating our form

Validating and processing the form

Extending the core classes

Reading and parsing an external feed

Summary

6. Creating a Photo Gallery System

Creating a table and migrating albums

Creating an Album model

Creating the images database with the migrating class

Creating an Image model

Creating an album

Adding a template for creating albums

Creating a photo upload form

Validating the photo

Assigning a photo to an album

Moving photos between albums

Creating an update form

Summary

7. Creating a Newsletter System

Creating a database and migrating the subscribers table

Creating a subscribers model

Creating our subscription form

Validating and processing the form

Creating a queue system for basic e-mail sending

Using the Email class to process e-mails inside the queue

Testing the system

Sending e-mails with the queue directly

Summary

8. Building a Q&A Web Application

Removing the public segment from Laravel 4

Installing Sentry 2 and an authentication library and setting access rights

Creating custom filters

Creating our registration and login forms

Validating and processing the form

Processing the login and logout requests

Creating our questions table and model

Creating our tags table with a pivot table

Creating and processing our question form

Creating our questions form

Processing our questions form

Creating our questions list page

Adding upvote and downvote functionality

Creating our questions page

Creating our answers table and resources

Processing the answers

Choosing the best answer

Searching questions by the tags

Summary

9. Building a RESTful API – The Movies and Actors Databases

Creating and migrating the users database

Adding sample users

Creating and migrating the movies database

Creating a movie model

Adding sample movies

Creating and migrating the actors database

Creating an actor model

Assigning actors to movies

Understanding the authentication mechanism

Querying the API

Getting movie/actor information from the API

Sending new movies/actors to the API's database

Deleting movies/actors from the API

Summary

10. Building an E-Commerce Website

Building an authorization system

Creating and migrating the members' database

Creating and migrating the authors' database

Adding authors to the database

Creating and migrating the books database

Adding books to the database

Creating and migrating the carts database

Creating and migrating the orders database

Listing books

Creating a template file to list books

Taking orders

Summary

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部