Lahug, Cebu City - The Department of Science and Technology initiated a YII2 training hosted by DOST Region VII last November 6-13, 2017 and was participated by 16 representatives of DOST nationwide. The training was conducted by John Rey Goh of Core 360 IT Services this is in lieu with the DOST Training program. An upgrading from Yii1 to Yii2 a PHP Framework used by DOST-OneLab Projects. The 7-day training held at Department of Science and Technology Region VII, Lahug, Cebu City, is a successful one, it is a tool for fastest development using the PHP framework, The YII stands for (Yes It Is) founded by 1Qiang Xue is an Open-Source, Object Oriented, Component-Based, MVC PHP Web Application Framework. YII is an MVC (Model View Controller) support design pattern for fastest and secured web application.
The Training covered 10 modules:
- Module 1 - Setting up Composer, Configuration, Classes and Path Aliases
- Module 2 - Console Commands and Applications
- Module 3 - Migrations, DAO and Query Building
- Module 4 - Active Record, Models and Forms
- Module 5 - Modules, Widgets and Helpers
- Module 6 - Asset Management
- Module 7 - Authenticating and Authorizing Users
- Module 8 - Configuring Role-Based Access Control (RBAC)
- Module 9 - Routing, Responses and Events
- Module 10 - RESTful APIs
DOST IT Participants
During the 7-day training, IT participants from selected regional offices were able to understand the importance of a framework in web development as this lessen the need to redo specific modules as they can reuse the code in an entire Software Development Cycle (SDLC). The current ongoing project of DOST are as follows: ULIMS (Unified Laboratory Information and Management System) uses the PHP Framework YII 1.1 as due to the vulnerabilities issues as this version of YII will no longer be supported for the coming year, this is the main reasons why we need to upgrade to the newer version of YII framework. The new versions offered new features and more secured core framework. In the coming year, ULIMS and all other web applications developed by DOST Onelab will be migrated to YII2 framework next year 2018.
1Background of the Framework
Yii is a free, open-source Web application development framework written in 1PHP5 that promotes clean, DRY design and encourages rapid development. It works to streamline your application development and helps to ensure an extremely efficient, extensible, and maintainable end product.
Yii is the brainchild of its founder, 2Qiang Xue, who started the Yii project on January 1, 2008. Qiang previously developed and maintained the Prado framework. The years of experience gained and developer feedback gathered from that project solidified the need for an extremely fast, secure and professional framework that is tailor-made to meet the expectations of Web 2.0 application development. On December 3, 2008, after nearly one year's development, Yii 1.0 was formally released to the public.
Its extremely impressive performance metrics when compared to other PHP-based frameworks immediately drew very positive attention and its popularity and adoption continues to grow at an ever increasing rate.
On October 2014 Yii 2.0.0 was released which is a complete rewrite over the previous version that was made in order to build a state-of-the-art PHP framework by keeping the original simplicity and extensibility of Yii while adopting the latest technologies and features to make it even better.
As 1Department of Science and Technology (DOST) is an ISO Certified Entity, during its basic phase of development it does encourage in-house developer to use PHP Framework to built website application like YII2 to ensure that secured system can be deploy.