2. Build With - kostmits83/m102 GitHub Wiki

2) Technologies:

  1. Yii / PHP framework

  2. Bootstrap / Front-end framework

  3. SASS / CSS preprocessor


2.1 Yii

is an open source, object-oriented, component-based MVC web application framework. Yii is originally Chinese framework and the names is pronounced as "Yee" or [ji:], which means "simple and evolutionary".

Yii 1.1 was released in January 2010 adding a form builder, relational Active record queries, a unit testing framework and more. The Yii community continues to follow the 1.1 branch with** PHP7 support **and security fixes. The last release was version 1.1.20 in July 2018. Stable version.

In May 2011 the developers decided to use new PHP versions and fix architectural shortcomings, resulting in version 2.0. In May 2013 the Yii 2.0 code went public, followed by the first stable release in October 2014. PHP7 is supported since version 2.0.9.

Features

  • Model-View-Controller (MVC) design pattern.
  • Generation of complex WSDL service specifications and management of Web service request handling.
  • Internationalization and localization (I18N and L10N), comprising message translation, date and time formatting, number formatting, and interface localization.
  • Layered caching scheme, which supports data caching, page caching, fragment caching and dynamic content. The storage medium of caching can be changed.
  • Error handling and logging. Log messages can be categorized, filtered and routed to different destinations.
  • Security measures include prevention of cross-site scripting (XSS), cross-site request forgery (CSRF) and cookie tampering.
  • Unit and functionality testing based on PHPUnit and Selenium.
  • Automatic code generation for the skeleton application, CRUD applications, through the Gii tool.
  • Code generated by Yii components and command line tools complies to the XHTML standard.
  • Designed to work well with third-party code. For example, it's possible to include code from PEAR or the Zend Framework.

More information at www.yiiframework.com.


2.2) Bootstrap

is a free and open-source front-end framework for designing websites and web applications. It contains HTML and CSS-based design templates for typography, forms, buttons, navigation and other interface components, as well as optional JavaScript extensions. Unlike many earlier web frameworks, it concerns itself with front-end development only.

Features

  • Support for the latest versions of the Google Chrome, Firefox, Internet Explorer, Opera, and Safari (except on Windows).

  • Support for responsive web design (mobile-first design attitude)

  • Layout of web pages adjusts dynamically taking into account the characteristics of the device used (desktop, tablet, mobile phone).

  • Sass and flexbox support.

More information at www.getbootstrap.com.


3. SASS, CSS preprocessor

stands for Syntactically awesome style sheets and it is a style sheet language initially designed by Hampton Catlin and developed by Natalie Weizenbaum.

SASS is interpreted or compiled into Cascading Style Sheets (CSS). SassScript is the scripting language itself. Sass consists of two syntaxes. The original syntax, called "the indented syntax", uses a syntax similar to Haml.[4] It uses indentation to separate code blocks and newline characters to separate rules. The newer syntax, "SCSS" (Sassy CSS), uses block formatting like that of CSS. It uses braces to denote code blocks and semicolons to separate lines within a block. The indented syntax and SCSS files are traditionally given the extensions .sass and .scss, respectively.

Features

  • Logical Nesting of styles
  • Variables with these data types: Numbers, Strings, Colors & Booleans
  • Functions (Mixins),
  • Math

More information at www.sass-lang.com.