Tag Archive
The following is a list of all entries tagged with MVC:
Using Our Models To Do Basic Queries On The DB
Filed in tutorials, 23/06/2011, 22:37The application has an auto-generated model, Gii kindly provides the model once the database is created. 01<?php02class Product extends CActiveRecord03{04 /**05 * The followings are the available columns in table ‘Product’:06 * @var integer $id07 * @var integer $brandId08 * @var string $name09 * @var string $price10 */11 12 /**13 * Returns the static model of [...]
YiiFramework adding functions to your models
Filed in tutorials, , 22:16MVC has some principals to it, like the fat model principal that I’ll show in this tutorial and which is used in a lot of frameworks. I’m going to show how to add and use functions that can be added to a model. There are a few ways to add to a models that increase [...]
YII framework configuration
Filed in tutorials, 20/12/2009, 23:47I’m toying with the Yii Framework for some time now and even if i cost me a lot of anger and frustration in the beginning I’m starting to like it more and more, alas I do have to say that the documentation isn’t always that clear and for someone who begins or who’ll write some [...]
CodeIgniter the views and .htaccess
Filed in General,tutorials, 14/03/2009, 21:23I must admit that I not a huge fan of Frameworks and Patterns because: A) They make things complicated B) Subject you to some nasty code stuff and rules C) Because templating and Frameworks can be water and fire. Codeigniter on the opposite has some advantage on it side for the templating stuff. This is [...]
MVC again
Filed in General, 09/03/2009, 22:49I’ve grew bored of having to deal with some irritating PHP issues so I’ve turned my back to those and began testing codeIgniter. It seems strait forward but templating already has me intrigued with problems and mod_rewrite needs a look too I think :p . Share on Facebook
Cakephp
Filed in Uncategorized, 01/11/2008, 00:40Begin this week I began to experiment with cakephp but there’s a downside, Cake is something like rails but unfortunately the framework has less good tutorials. Share on Facebook