This book is written in a simple and easy-to-understand manner, with each chapter contributing as a standalone project that will give you as a reader something to reflect on as you're learning.This book is aimed at amateur PHP developers with a desire to get a firm understanding of the Lavarel 4 framework. Basic knowledge of PHP will be helpful, however in-depth knowledge is not a must.
Intro Learning Laravel 4 Application Development Table of Contents Learning Laravel 4 Application Development Credits About the Author 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. Welcome to the World of Laravel Landing yourself into the MVC world Why Laravel 4 is awesome! And why it must be your next framework Composer Summary 2. Let's Begin the Journey Installing Laravel 4 on Windows Installing Composer Installing Laravel 4 Installing Laravel 4 on Linux/Ubuntu Installing Laravel 4 on Mac Exploring the Laravel 4 structure Configuring Laravel Configuring the Laravel environment Configuring the database Configuring the application Artisan - magic of Laravel 4 Generating a boilerplate controller Managing database with migrations Filling the database with basic data for testing via database seeds Running unit tests Maintenance mode Summary 3. Creating a Simple CRUD Application in Hours Getting familiar with Laravel 4 Controllers versus routes Creating a simple CRUD application with Laravel 4 Listing the users - read users from database Creating new users Editing user information Deleting user information Adding pagination to our list users Summary 4. Building a Real-life Application with Laravel 4 - The Foldagram Preparing the schema Setting up the layout Setting up the inner pages Creating the newsletter section Creating a Foldagram form Summary 5. Creating a Cart Package for Our Application. Introducing IoC container Dependency Injection Service providers Packages in Laravel 4 Package structure Facades Cart functions The Cart class Adding Foldagram to the cart Updating the cart Deleting from cart Viewing the cart contents Viewing the cart total Deleting all items from the cart Integrating the Cart package in Foldagram order process Adding the Foldagram information to the Foldagram table Image resizing in Laravel Adding the recipient information to the Recipients table Adding the Foldagram order details to our Cart package Creating the preview page to preview Foldagram Deleting the recipient's information Editing the Foldagram information Deleting Foldagram from the cart Summary 6. User Management and Payment Gateway Integration Introducing the Sentry package Setting up our user section Register user User login The User dashboard Change password Checkout and payment gateway integration Building the checkout page for credit cards Integrating Stripe payment gateway Creating the checkout order process Building the credits section Building the view orders section Summary 7. The Admin Section Building the foundation for the administration section Creating a login section for the administrator Managing orders Building the view recipients section Building the order details section Updating order status Deleting orders Exporting orders Managing Foldagram pricing Adding credit for the user Managing users Adding users Editing users Deleting users Blocking users Summary 8. Building a RESTful API with Laravel - Store Locator REST basics A store locator's single page web application Creating a REST API in Laravel 4 using Resource Controllers Creating a RESTful backend. Creating an API to view all the stores Building an API method for viewing an individual store Creating an API method for searching the stores Adding a store method to our API Updating the store method of our API Creating an API method for deleting a store client Creating a frontend via a RESTful API Summary 9. Optimizing and Securing Our Applications Handling errors Profiling Laravel applications Logging data with Laravel Security in Laravel SQL injections CSRF XSS (Cross-site scripting) Summary 10. Deploying Laravel Applications Creating production configuration Creating a directory structure based on your web host Uploading your Laravel application directory files Deploying via SSH Uploading files via OpenSSH (Linux, Mac) Uploading files via Putty (Windows) Creating a database in the production site and uploading your local database on the production site Giving proper permissions to your storage files Setting up .htaccess based on your server Deploying via FTP Deploying via SSH from the Git repository Deploying via FTP from the Git repository Summary 11. Creating a Workflow and Useful Laravel Packages and Tools Creating a workflow Introducing JeffreyWay / Laravel-4-Generators Summary Index.
Description based on publisher supplied metadata and other sources.
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2021. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Print version: Dangar, Hardik Learning Laravel 4 Application Development