Instant Building Multi-Page Forms with Yii How-to

Uday Sawant

  • 出版商: Packt Publishing
  • 出版日期: 2013-05-13
  • 售價: $1,160
  • 貴賓價: 9.5$1,102
  • 語言: 英文
  • 頁數: 50
  • 裝訂: Paperback
  • ISBN: 1782166424
  • ISBN-13: 9781782166429
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn to create multi-page AJAX enabled forms using Yii with this book and ebook

Overview

  • 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

In Detail

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 from this book

  • 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

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks.A concise guide that delivers immediate results with practical recipes on customizing your forms.

Who this book is written 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.