News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Build Web Apps From Scratch With Laravel Filters, Validations, and Files
August 01, 2012 @ 13:55:10

NetTuts.com has posted the latest in their series about the Laravel framework with this new post, a look at creating filters, validators and working with files.

In this Nettuts+ mini-series, we'll build a web application from scratch, while diving into a great new PHP framework that's rapidly picking up steam, called Laravel. In this lesson, we'll be learning about some very useful Laravel features: filters, and both the validation and files libraries.

They continue improving their sample application ("Instapics") and show you how to:

  • Create a filter to run before or after the request is handled
  • Apply a set of validation rules to a given dataset
  • Handle custom error messaging
  • Work with local files and uploads

They then take all of this and apply it to their application, creating an "auth" filter and login form, creating a form and doing some validation on its results and letting the user upload an image file.

0 comments voice your opinion now!
laravel framework tutorial filter validation files


blog comments powered by Disqus

Similar Posts

Norbert Mocsnik's Blog: Setting Up DokuWiki with Simple Authentication

Francois Zaninotto's Blog: Validating a YAML file against a schema in PHP

Sebastian Bergmann's Blog: Getting Started with Hamcrest

IBM developerWorks: Cook up Web sites fast w/CakePHP, Part 1: Adding related information & services

Felix Geisendörfer's Blog: Learning from the CakePHP Source Code (Part 1)


Community Events





Don't see your event here?
Let us know!


tips library framework community language laravel bugfix list introduction voicesoftheelephpant symfony interview opinion install api deployment release series podcast package

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework