#BBC Coin Algorithm Test
Hours 1 + 2
created basic Silex application, added behat features, implemented Form and validation rules
Hours 3 + 4
implemented business logic
5th hour
added twitter bootstrap, deployed to AWS
##Application requirements
-
PHP 5.4 (tested on 5.5)
-
intlextension (+curlif you want to run the feature suite) -
Composer
-
Rake (optional)
##Installation instructions
-
composer installto install dependancies -
raketo install vhost and configure /etc/hosts
(Nginx vhost can be installed manually replacing APP_PATH, APP_NAME with appropriate values)
##Running tests
-
bin/behatto run feature suite -
bin/phpspec run -f prettyto run unit tests
##Given more time
-
Wrap form validation into a custom validator - I'd then be able to unit test it
-
The application's understanding of
£.andpisnt very DRY - would consider reworking how these symbols are fed into validation + thetoPenceConverter -
Tidy up theme - use twig's
form_rowmethod to output the form elements, this way twitter bootstrap will be completely implemented