News Feed
Sections




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

Shameer Chamal's Blog:
Tutorial Simple ajax validation for Kohana
May 24, 2011 @ 11:53:17

Shameer Chamal has a quick tutorial posted to his blog today showing how you can create a basic ajax validation feature for your Kohana-based web application.

If you are new to Kohana framework, implementing validation will be an adventure, especially if you are looking for ajax validation. In this article I will present a simple way to implement some necessary validations using ajax in a sign up form.

He starts with a simple view containing the login form and including a few extra files (like the Javascript helper for the validation). Next he creates the user model that will do the backend check to see if the user already exists. Finally the controller and Javascript are created to bring all the pieces together. The Javascript uses the jQuery framework to make things a bit more convenient and runs a check against the backend for the given username with the response returned as a JSON message.

0 comments voice your opinion now!
tutorail ajax validation kohana framework jquery


blog comments powered by Disqus

Similar Posts

OReilly: Managing Sessions and State with PHP

Sebastian Bergmann's Blog: AJAX-Based Test Runner for PHPUnit

SomeCoders.com: Member Managment System Using PHP, AJAX and script.aculo.us (Part 1)

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 2)

Joshua Eichorn's Blog: Jquery at AZPhp Tomorrow (11/28/2006)


Community Events





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


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

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