Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Instant Yii 1.1 Application Development Starter
Instant Yii 1.1 Application Development Starter
Instant Yii 1.1 Application Development Starter
Ebook120 pages27 minutes

Instant Yii 1.1 Application Development Starter

Rating: 5 out of 5 stars

5/5

()

Read preview

About this ebook

In Detail

PHP is one of the most popular languages for building web sites and applications. While the Yii framework came a little bit later to the PHP scene, it has taken a lot of the best practices from around the Web and put it all into a single, awesome framework for making custom web apps.

Yii 1.1 Application Development Starter is a straightforward, hands-on look at what is rapidly becoming one of the most revered frameworks for custom web application development. The Yii framework follows a tried and true object-oriented software development pattern called Model-View-Controller, making it quick and easy to build database driven applications.

This book takes you through everything you need to know to get set up and rolling with the Yii framework. You will learn how to plan and start your application and how to take it where you want to go with the tools and extensions available with the Yii framework.

This book will teach you how to build an application from the ground up, how to make sure you have everything you need in your hosting environment and get the Yii framework installed, how to create a strong relational database design, and how to set up model classes for your tables. You will also learn how to generate CRUD code to add/remove, view, and list records from your tables, then add custom routes, widgets, and extensions to make a robust application. Additionally, you will learn how to integrate authentication and role-based access permissions throughout your site.

With this book, you will learn everything you need to get started with web application development using the Yii PHP framework.

Approach

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. A concise guide that delivers immediate results with practical recipes that give you useful hints and tips on avoiding the pitfalls in Eclipse 4 development.

Who this book is for

This book is aimed at developers with some basic programming experience and a general understanding of relational databases, or anyone who is ready to take their development to the next level with framework-driven development. A basic understanding of MySQL, PHP, HTML, and HTTP is expected.

LanguageEnglish
Release dateJun 5, 2013
ISBN9781782161691
Instant Yii 1.1 Application Development Starter
Author

Jacob Mumm

Jacob Mumm is a web developer from Upstate New York specializing in PHP and JavaScript web applications. He has worked for non-profit organizations, advertising companies, and schools using tools such as Drupal, jQuery (including UI and Mobile), AngularJS, and the Yii Framework. His interests range from outdoor activities such as hiking, camping, and kayaking, to organic food and gardening as part of a holistic, sustainable lifestyle, all the while staying up to date with the latest gadgets, gizmos, and web application technologies.One of the things he deeply enjoys is talking to people about the things for which he has the most passion. He likes to share his knowledge and experience with others. Even when incomplete, Jacob finds the act of consolidating his thoughts on a subject a great way to solidify his own understanding or to discover places where he needs to investigate further.

Related to Instant Yii 1.1 Application Development Starter

Related ebooks

Programming For You

View More

Related articles

Reviews for Instant Yii 1.1 Application Development Starter

Rating: 5 out of 5 stars
5/5

1 rating1 review

What did you think?

Tap to rate

Review must be at least 10 words

  • Rating: 5 out of 5 stars
    5/5
    Very clear and good written. A really good starter if You already heared something about Yii. 5 stars from me!

Book preview

Instant Yii 1.1 Application Development Starter - Jacob Mumm

Table of Contents

Instant Yii 1.1 Application Development Starter

Credits

About the Authors

About the Reviewer

www.packtpub.com

Support files, eBooks, discount offers and more

packtlib.packtpub.com

Why Subscribe?

Free Access for Packt account holders

1. Instant Yii 1.1 Application Development Starter

So, what is Yii?

Installation

Server requirements

Step 1 – Setting up Yii

Step 2 – Creating your project

And that's it!!

Quick start – creating an application

Step 1 – planning the workflow

Step 2 – linking to the database from your app

Step 3 – generating code automatically

The console way

Gii

Step 4 – looking at the components of Yii

Models

Controllers

Views

Recap

User authentication

Top 5 features you need to know about

Basic security considerations

Form components – CHtml, CActiveForm, and Zii

Adding custom views

Extensions

TinyMCE

MbMenu

Yii-User and Yii-User-Management

Yii-Shop

Cal

Fancybox

Other great extensions

Role-based access control

SRBAC

People and places you should get to know

Yii website

API

Tutorials and guides

IRC

Twitter

Facebook

Instant Yii 1.1 Application Development Starter


Instant Yii 1.1 Application Development Starter

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 authors, 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: June 2013

Production Reference: 1300513

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78216-168-4

www.packtpub.com

Credits

Authors

Jacob Mumm

Mark Safronov

Reviewer

Sergey Malyshev

Acquisition Editor

Andrew Duckworth

Kunal Parikh

Commissioning Editor

Harsha Bharwani

Technical Editor

Varun Pius Rodrigues

Project Coordinator

Deenar Satam

Proofreader

Paul Hindle

Graphics

Abhinash Sahu

Production Coordinator

Prachali Bhiwandkar

Cover Work

Prachali Bhiwandkar

Cover Image

Conidon Miranda

About the Authors

Jacob Mumm is a web developer from Upstate New York specializing in PHP and JavaScript web applications. He has worked for non-profit organizations, advertising companies, and schools using tools such as Drupal, jQuery (including UI and Mobile), AngularJS, and the Yii Framework. His interests range from outdoor activities such as hiking, camping, and kayaking, to organic food and gardening as part of a holistic, sustainable lifestyle, all the while staying up to date with the latest gadgets, gizmos, and web application technologies.

One of the things he deeply enjoys is talking to people about the things for which he has the most passion. He likes to share his knowledge and experience with others. Even when incomplete, Jacob finds the act of consolidating his thoughts on a subject a great way to solidify his own understanding or to discover places where he needs to investigate further.

This book is dedicated to Joseph Fitzsimmons, because he has heard me explain quite a lot of things in recent years. Joe is a good friend who I have had the pleasure of watching and helping grow from someone fiddling with HTML to a degree-holding, up-and-coming web programmer. Joe embodies the target audience for this book, as he has the basis for technical understanding and is ready to take the next step into framework-driven development. This book was written largely by me pretending to be explaining things to Joe.

Mark Safronov is a professional web application developer from the Russian Federation with experience and interest in a wide range of programming languages and technologies. He has built and participated in building different types of web applications, from purely computational ones to full-blown e-commerce sites. He is also a proponent of following the current best practices for test-first development and clean and maintainable code.

He is currently employed at Clevertech, and is working on Yii-based PHP web applications and maintaining a quite popular

Enjoying the preview?
Page 1 of 1