[EXTENSION] EasyFramework

This topic is about the ‘easyframework’ extension(http://www.yiiframework.com/extension/easyframework).

This extension implements the EasyFramework in your application.

EasyFramework is a client framework that run in your browser, and consists only in javascript and stylesheet files.

You can see the oficial demo here: http://easyframework.com/demo.php

To use this extension is simple, follow the steps:

1 - Download the extension and unpack on ‘extensions’ dir.

2 - Edit your config file(config/main.php) and add the component:




'components'=>array(

...

        'easyframework' => array(

            'class' => 'application.extensions.easyframework.EEasyFramework',

            'cache' => true,      

        ),

...



3 - Add the component to preload array in your config file(config/main.php):




'preload'=>array(..., 'easyframework'),



So simple, no?

I recommend that you remove the blueprint css framework from your layout, because the EasyFramework already reset all for you and add pre-built styles as you can see here: http://easyframework.com/easy1.0/demo.html

To remove the default blueprint css framework from your layout, you can delete the lines:




<!-- blueprint CSS framework -->

<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />

<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />

<!--[if lt IE 8]>

<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />

<![endif]-->



Now you will use the complete EasyFramework that will help you in all your development.

Nice :)

I make the support for EXTENSION DOWNLOAD command.

You can get with console command:

extension install easyframework

You can see how to use this command, here:

http://www.yiiframework.com/forum/index.php?/topic/7129-component-extension/

I have this error on loading my app from ::base.php

Property "CUrlManager.easyframework" is not defined.

I like easyframework but what will append with all the code produce by gii module?

thank you