News Feed
Jobs Feed
Sections




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

PHPMaster.com:
Build a CRUD App with Yii in Minutes
July 03, 2013 @ 10:48:09

On PHPMaster.com there's a new tutorial posted showing you how to create a CRUD app with the Yii framework "in minutes." You might want to have a little familiarity with Yii before you start, but it's not absolutely required.

Yii is a high performance framework that's fast, secure, and well-suited for Web 2.0 applications. It favors convention over configuration, which means that if you follow its guidelines you'll end up writing much less code than you would otherwise (and less code implies fewer bugs). Furthermore, it offers many convenient features out of the box, such as scaffolding, data access objects, theming, access control, caching, and more. In this article I'll cover the basics using Yii to create a CRUD system.

They walk you through a basic installation and jump right in to working with controllers and routing. The rest of the tutorial is broken up into a few different steps:

  • Step 1: Create the database (MySQL in this case)
  • Step 2: Make a model to correspond to the "posts" table
  • Step 3: Click on the CRUD generator for the model

This generates all needed views and functionality to be able to create new records, update current ones, delete records and get the current data.

0 comments voice your opinion now!
crud yii tutorial application model framework

Link: http://phpmaster.com/build-a-crud-app-with-yii-in-minutes

blog comments powered by Disqus

Similar Posts

DeveloperTutorials.com: Create a Facebook Application With PHP

Juhana Rasanen's Blog: Using MongoDB with CodeIgniter

DiGiTSS Blog: CodeIgniter 2 is just here about to release..!

Felix Geisendorfer's Blog: How to oraganize your CakePHP App's Javascript II

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


Community Events











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


application composer hhvm framework introduction unittest language performance symfony2 project facebook podcast component database release package hack security install example

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