Yiinitializr: The Library

Introduction For those who have created a project boilerplate with Yiinitializr site, you will find that is not just a project boilerplate what you just downloaded. Within the boilerplate comes a library named: Yiinitializr (not very original I know). The classes within this tiny library are simple, yet powerful, and will help you build your own
Continue reading…

YiiBooster: How to implement files and images upload on TbRedactor Widget

Introduction I have been requested to provide a tutorial on how to use the file upload feature of the TbRedactor widget, and even though I am no longer supporting the library due that the work belongs to Clevertech, I feel that I owe that to the Yii developers. So, here is the  tutorial. How to
Continue reading…

YiiBackboneBoilerplate – Project Setup for your Yii+BackboneJS applications

YiiBackboneBoilerplate We at Clevertech use this folder structure setup for our own projects when developing BackboneJS applications. Overview YiiBackboneBoilerplate, aims to provide Yii Backbone developers with an application folder to ease the startup of their projects. It uses the flexibility of our YiiBoilerplate with a twist for BackboneJS applications. What is BackboneJS? Backbone.js gives structure to web applications by providing models with key-value binding and
Continue reading…

ENexmo Yii Extension Library

Introduction ENexmo Library allows Yii programmers to use the Restful API offered by Mobile Messaging provider Nexmo. ENexmo is a cloud-based SMS API that lets you send and receive high volume of messages at wholesale rates. Requires Nexmo API credentials EHttpClient Extension Yii Framework Quick Start Once you have created your Nexmo account and include ENexmo
Continue reading…

Ei18n Translation Module

Ei18n-editor

Introduction Ei18 is a translation module to allow Yii’ers to easily manage missing translations on application pages. It is heavily inspired by yii.translatedeveloped by Gustavo Salomé Silva gusnips. The reason I developed a new one is because Gustavo’s approach wasn’t suitable for my needs, I wanted the translation to be specific to the languages I was editing
Continue reading…

EScriptBoost Extension for Yii

Introduction Probably a lot of you would wonder why, having so many good extensions related to minifying/compressing/packing your javascript code and your css files at the Yii Extensions Repository, here comes this guy offering us another solution. I did check out all the extension in our repository, just to name some of them: clientscriptpacker dynamicres
Continue reading…

Using events with CAction classes

Introduction There are some good guides out there explaining how to work with events and the ways to attach them to your components, but none (that I know) explain the following way to configure your events with CAction classes on your controllers. As you know, events are used by: Declaring an event in your component
Continue reading…