Задание заключается в разработке простого каталога товаров с использованием фреймворка Yii 2. Должны быть реализованы основные сущности, связи и CRUD-операции:
-
Сущность «Товар»
- Название
- Описание
- Фотографии
- Стоимость
-
Сущность «Отзыв о товаре»
- Дата
- Имя пользователя
- Email пользователя
- Текст отзыва
-
Сущность «Категория товаров»
- Название
- Описание
Добавление / редактирование / удаление информации осуществляется любым пользователем прямо на сайте, без использования административной панели. Вся вводимая информация должна валидироваться. Отзывы о товаре должны отображаться / редактироваться на странице товара.
Сайт должен работать на двух языках — русском и английском.
Выбор технологий для frontend-а остается на усмотрение разработчика.
Yii 2 Basic Project Template is a skeleton Yii 2 application best for rapidly creating small projects.
The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application.
assets/ contains assets definition
commands/ contains console commands (controllers)
config/ contains application configurations
controllers/ contains Web controller classes
mail/ contains view files for e-mails
models/ contains model classes
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
web/ contains the entry script and Web resources
The minimum requirement by this project template that your Web server supports PHP 5.6.0.