How to enable Ajax form validation

| Last Updated: | In: Yii framework


yii-framework-200

Form validation ensures that each and every field in the form has been filled in the required way. No further prelude is required to this topic as Developers would be well aware about the purpose and function of form validations. In one of my bygone projects, I had a claim to validate a form with …


The Best MVC Practices and tutorials

| Last Updated: | In: Yii framework


Yii

Although Model-View-Controller (MVC) is known by nearly every Web developer, how to properly use MVC in real application development still eludes many people. The central idea behind MVC is code reusability and separation of concerns. In this section, we describe some general guidelines on how to better follow MVC when developing a Yii application. To …


Core application components available on Yii framework

| Last Updated: | In: Yii framework


yii-framework-200

Yii predefines a set of core application components to provide features common among Web applications. For example, the request component is used to collect information about a user request and provide information such as the requested URL and cookies. By configuring the properties of these core components, we can change the default behavior of nearly …


Learning Yii Relational Active Record

| Last Updated: | In: Yii framework


Yii

One thing I impress of YII is there Active Record feature. Instead of declaring the sql command to query the data of two or more tables. In YII we can just create relation function in the model class to join the tables by assigning the foreign keys. Yii Relational Active Record Approaches In Yii there …


Upgrading your Yii framework Version from 1.0 to 1.1

| Last Updated: | In: Yii framework


yii-framework-200

Changes Related with Model Scenarios Removed CModel::safeAttributes(). Safe attributes are now defined to be those that are being validated by some rules as defined in CModel::rules() for the particular scenario. Changed CModel::validate(), CModel::beforeValidate() and CModel::afterValidate(). CModel::setAttributes(), CModel::getSafeAttributeNames() The ‘scenario’ parameter is removed. You should get and set the model scenario via CModel::scenario. Changed CModel::getValidators() and …


Basic features and installation of Yii Framework

| Last Updated: | In: Yii framework


yii-framework-200

In this post i will explain the Basic features and installation of Yii Framework. A web application framework (WAF) is a software framework that is designed to support the development of dynamic websites, web applications, web services and web resources. The framework aims to alleviate the overhead associated with common activities performed in web development. …


Yii framework Pagination Using CListView and CLinkPager

| Last Updated: | In: Yii framework


default

In this post i explained to implement the Yii framework Pagination Using CListView and CLinkPager. From my limited test, what I found is that by defining a custom pager ourselves, Yii will use the limit and offset when querying, correct me if I am wrong. We can change the pager properties and make new look …


Get Free Access of 450+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Discount Coupons

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW