Instant Building Multi-Page Forms with Yii How-to
eBook - ePub

Instant Building Multi-Page Forms with Yii How-to

  1. 50 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Instant Building Multi-Page Forms with Yii How-to

Book details
Book preview
Table of contents
Citations

About This Book

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.

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 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.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Instant Building Multi-Page Forms with Yii How-to by Uday Sawant in PDF and/or ePUB format, as well as other popular books in Informatique & Programmation en PHP. We have over one million books available in our catalogue for you to explore.

Information

Year
2013
ISBN
9781782166429

Instant Building Multi-Page Forms with Yii How-to


Instant Building Multi-Page Forms with Yii How-to

Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2013
Production Reference: 1160513
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78216-642-9
www.packtpub.com

Credits

Author
Uday Sawant
Reviewer
Sergey Malyshev
Acquisition Editor
Joanne Fitzpatrick
Commissioning Editor
Poonam Jain
Technical Editor
Zafeer Rais
Copy Editor
Aditya Nair
Project Coordinator
Suraj Bist
Proofreader
Maria Gould
Production Coordinator
Melwyn D'sa
Cover Work
Melwyn D'sa
Cover Image
Valentina Dsilva

About the Author

Uday Sawant is a software engineer with a specialization in LAMP stack and cloud computing. He has completed his Master's in Computer Science and has a wealth of experience in infrastructure management and networking. Currently he is working with a startup called Anveshan Technologies as a Sr. Software Engineer.

About the Reviewer

Sergey Malyshev is an IT specialist from Ukraine. He has been working in the IT industry for more than 15 years, eight of which he has devoted to the development of web applications. Out of the conviction that it's impossible to become a great specialist in all areas at the same time, he has chosen for himself PHP, MySQL, and JavaScript as top-priority directions. During his career, Sergey took part in developing dozens of different websites, social networks, CMS, CRM, and ERP systems. He is not only a developer but also an architect, a project manager, and a technical consultant. Apart from his participation in realizing some technical projects, he also organized various advance training courses for IT specialists in the companies where he was employed. As he has a degree in management, Sergey has taken part in the business process automation of companies specializing in software development.
At present, Sergey is working as a software engineer in the company Sugar CRM and deals with the development of one of the most popular customer relationship management systems in the world. Before this he worked on developing applications based on the Yii Framework. Some of them are the search engine for the real estate website LivingThere.com and the corporate CMS system WebModulite for the New York design agency Blue Fountain Media. Participation in these projects and also work on his own extension for debugging the Yii application's Yii Debug Toolbar has helped Sergey get vast experience and expert knowledge of the Yii framework.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
Support files, eBooks, discount offers and more
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.

Why Subscribe?

  • Fully searchable across every book published by Packt
  • Copy and paste, print and bookmark content
  • On demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Preface

Instant Building Multi-Page Forms with Yii How-to is a simple and descriptive how-to that provides step-by-step recipes to help you convert your lengthy forms into short, interactive forms. It will show you the inbuilt features of the Yii framework to help you with this tricky task.

What this book covers

Getting started with Yii (Simple) helps you set the Yii environment and create a skeleton of the Yii application.
Connecting to the database (Simple) shows you how to set up a database connection in the Yii application.
Using the Gii tool (Simple) covers the automated code generation features provided by Yii. We will learn how to enable the Gii tool and create Models, CRUD, forms, and application modules.
Creating basic forms (Simple) helps you to create a basic single page form with Yii.
Building multipage forms (Intermediate) shows you how to split your lengthy single page form into multipage forms by validating the form fields and maintaining page data on each page.
Validating forms (Intermediate) gives you details on the form field validation helpers provided by Yii. We will look at various validation helpers, use validation rules provided by Yii, and set our own validation rules.
AJAX forms (Advanced) helps you enable AJAX support for forms. We will take a look at the AJAX helpers provided...

Table of contents

  1. Instant Building Multi-Page Forms with Yii How-to