Программирование
- /**
* @author: Revenger
* Date: 2024-03-13
*/
This diagram shows 6 types of database models: Flat Model, Hierarchical Model, Relational Model, Star Schema, Snowflake Model, Network Model
- /**
* @author: Revenger
* Date: 2024-03-11
*/
Here are the 8 most useful CSS generators:
1/ Button CSS generator
100+ buttons you can use in your project.
- /**
* @author: Revenger
* Date: 2024-02-15
*/
I've got a string with dates from date picker and diveded it on two parts: `from` and `to`.
Both parts has been converted into time.
- /**
* @author: Revenger
* Date: 2024-02-12
*/
That is how can we make a custom validation for field `Password` in Yii2. For example, the password must contain at least 1 uppercase letter, 1 lowercase letter, and 1 digit, with a length ranging from 8 to 32 characters.
It's not too hard. Just create method validateCustomPassword() in model.
- /**
* @author: Revenger
* Date: 2024-01-26
*/
Настоящие цифровые часы из цифр в виде классического циферблата с движущимися стрелками.
- /**
* @author: Revenger
* Date: 2024-01-19
*/
Pjax is a technology that facilitates updating part of a page without a full reload. In the context of Yii2, Pjax is commonly used to update data on the page, including pagination navigation.
And i give an example how it works.
- /**
* @author: Revenger
* Date: 2024-01-16
*/
Наверное, есть много людей, которых бесят стандартные таблицы. Особенно, когда на маленьких экранах их содержимое начинает стремительно исчезать за пределами правой части экрана.
- /**
* @author: Revenger
* Date: 2024-01-15
*/
How to change table view in Yii2 component GridView.
First of all, you should override standard files. For this you need to create in /%yii dir%/components your own "GridView", en example "MyGridView".
- /**
* @author: Revenger
* Date: 2023-09-14
*/
Buenos dias, mi amigos.
Today we will add an local extra plugins into CKEditor CDN.
Сегодня я расскажу как добавить недостающие плагины в CKEditor CDN. Плагин будет размещен где-то локально и успешно будет подключен в визуальный редактор.
- /**
* @author: Revenger
* Date: 2023-08-01
*/
По умолчанию в Yii2 ActoveForm <label> идет перед <input>. Но бывают ситуации, когда нужно сделать иначе. В этом нам (не нам, а вам) поможет пользовательский шаблон.
--
By default in Yii2 ActiveForm <label> displays before <input>. But sometimes it needs to display <label> before. In such cases, we can utilize a custom template to achieve this.