To keep my working environment clean, I choose to use the ready-to-use Turnkey Linux Yii Framework VM in VirtualBox instead of creating everything from scratch in OSX. I plan to edit codes locally using Visual Studio Code and sync changes with VM by SFTP Protocol. Here is how I do.
Continue reading “Using VisualStudio Code to Sync Files in Turnkey Linux VM” →
If you follow the instruction in Create a Web Application with yiic in TurnKey Linux to generate a web application, we may customize error messages. How Login is handled in Yii Framework will help you to learn about how authentication works in a generated web application.
Continue reading “Custom Authentication Error Message in Yii” →
If you follow the instruction in Create a Web Application with yiic in TurnKey Linux to generate a web application, the default authentication is text-based. Let’s change to database-based.
Before continue reading, please follow Play Yii Framework with TurnKey Linux to create database table tbl_user and model User which we are going to use for authentication later. If you want to learn more about how authentication works in a generated web application, How Login is handled in Yii Framework will help.
Continue reading “Change the Default Authentication from Text to Database in Yii” →
When you browse http:// IP address /index.php?r=site/login in a web application generated by Gii (a Web-based code generator), what will happen? I am interested in the whole process which should help to learn how Yii works.
Continue reading “How Login is handled in Yii Framework” →
After playing with the default web application in TurnKey Linux: Yii Framework, I try to create my own with yiic. It’s like MFC Application Wizard which helps to create a simple application for you.
Continue reading “Create a Web Application with yiic in TurnKey Linux” →
Because my NetBeans is on the host while the development environment is in the guest, I need to treat Yii Framework in TurnKey Linux in virtual machine as a remote server. Here is how to make them work together.
Continue reading “Use NetBeans to Work with Yii in VM” →
Yii Framework is the base of ZurmoCRM. To learn more about customization, I begin to learn Yii. It is very different from CodeIgniter. More object-oriented features and style.
I test the Yii Framework in TurnKey Linux and add CRUD to the demo application.
Continue reading “Play Yii Framework with TurnKey Linux” →