© 2015 X2Engine Inc.
Introduction To Development
Fundamentals
X2EngineCRM is built using the following frameworks; see their respective documentation for more information about their use.
Yii Framework
Yii Framework is a PHP framework based on the time-tested MVC (Model-View-Controller) design methodology.
jQuery and jQuery UI
Most of the Javascript in the codebase, including Yii Framework itself, depends on jQuery in some way or another. Thus, for front-end design (especially design that involves asynchronous content loading via AJAX) it is essential to understand the usage of this library. In many cases, Yii Framework provides certain utilities for constructing HTML elements and jQuery-based scripts, and it is thus also important to first search for effort-saving devices available in Yii Framework before writing something from scratch. In particular, CHtml contains methods such as ajaxButton, and the subclasses of CJuiWidget can be used to easily construct most common jQuery UI elements and seamlessly integrate them with Yii as input fields.