Learn to create multi-page AJAX enabled forms using Yii
Key Features
Learn something new in an Instant! A short, fast, focused guide delivering immediate results
Quick, easy-to-follow recipes with immediate results
Filled with useful tasks to improve maintainability of web applications
Customize your complex and lengthy forms to create easy-to-follow and concise multi-purpose forms
Book Description
Yii is a high-performance PHP framework for rapid web application development. It is well-designed, well-supported, easy to learn, and easy to maintain. Forms are the basic method used to collect information on the Internet, and in cases like user registration and payment process, there's a lot of data to be presented and the lists can get lengthy.
Instant Building Multi-Page Forms with Yii is a simple and descriptive how-to that provides step-by-step recipes to help you in converting your lengthy forms into short, interactive forms. It will guide you through the inbuilt features of Yii framework to help you with this complex job.
The book starts with the basics of Yii and will guide you through creating simple forms before then converting your simple forms into multi-page forms. It will use the capabilities of Yii to ease the tasks required to do this.
Yii eases your work by providing options like database connectivity. We will also take a look at the automated code generation capabilities of Yii in generating forms and necessary CRUD operations, as well as looking at how to divide a single long form into multiple views with same controller/action, and then add form validations and AJAX support to the forms. We will also cover the upload process and how to customise Yii's looks.
What you will learn
Connect your application to different database servers
Use Gii tool to automate code generation
Create simple forms
Divide lengthy forms into multi-page forms
Add validations to forms
Define your own validation rules
Making your forms AJAX enabled
Who this book is for
This book is great for developers who have a basic understanding of Yii framework and want to learn some of the advanced, inbuilt features of Yii. It assumes that the reader has a basic knowledge of PHP development, how forms work, and AJAX operations.