Professional Documents
Culture Documents
PHP Programming Test: Salesmart 2021
PHP Programming Test: Salesmart 2021
Salesmart
2021
Prerequisites
- Docker
- Framework CI v3+
- Database mysql:5.7+ (support type json format)
- Web Service php:5.6-apache+ *
Deployment
- Using docker-compose
- Prepare env php:5.6-apache, mysql:5.7, CI and initial created table
Must Include
- Include CSRF
- Prevert Sql Injection
- Validation user input & Controller validation (the more detailed validation and make more
secure is added value)
List Module
- Login View(Default main view)
o Email
o Password
o DOB
o Gender
o Submit
o link to redirect Registration View
- Registration View
o Email
o Password
o DOB
o Gender
o Submit
o link to redirect Login View
- Home
o View User Info
Email
DOB
Gender
o Action Change Password
Old Password
New Passord
Reconfirm Password
Submit
o Action Edit
Email (disable)
DOB
Gender
Submit
- Create Action CRUD Master Product Tag
o Action Add Button
o List View (Only Show Active Data)
o Table List include pagging
Product Tag Id
Product Tag name
Description
Action (Edit, Delete)
o Action Add/Edit
Product Tag Id (Only Editable if Add function)
Product Tag name
Description
Submit
o Action Delete (update field stsrc into D)
- Create Action CURD Master Product
o List View (Only Show Active Data)
o Filter
Product tag id (multi select) filter data must contain/or selected item if more
than 1
Search
o Action Add Button
o Table List include pagging
Product Id (text)
Product Name (text)
Product Tag (design like flow label)
Description (text)
Image (show image)
Action (Edit, Delete)
o Action Add/Edit
Product Id (Only Editable if Add function)
Product Name
Product Tag (multi select)
Image (pick gallery)
Submit
o Action Delete (update field stsrc into D)