This is a ZF2 application.
Bootstrap 3 framework Object oriented Javascript for rich Ajax (inline Javascript within html only for easy display, it should be in a separate file for production) i. Ajax Zend form ii. Bootstrap modal iii. Collapsible toggle box
Object oriented patterns:
-
Entity with hydration
-
Service
-
Factory
-
Strategy
-
Dependency injection
-
Interface
-
Inheritance
-
Trait(PHP >=5.4 only)
-
Single responsibility principle
- Entities/Hydrator
- Filters
- Services (Sample csv and json data are provided and automatically picked up for tests)
- Controllers
========================================================================================================
-
Upload either or both csv and json(specific file extensions required for upload) as you like. Click long buttons if available to review the content of uploaded files.
-
Click the top right button to delete both uploaded files.
-
If both files are uploaded, the 'Tell me what is cooking tonight' button will be enabled and clickable to get the result of cooking suggestion on a pop up modal.