Welcome to the technical test at Kodify! :)
We tried to keep the test/exercise as simple as we could trying to be able to determine whether we will work fine together or not.
- The Code
The test is based in symfony and we used a basic instalation without much plugins, feel free to add as much plugins/bundles as you require.
Everything you see is open to comments/valorations from your part, we will be glad to hear your comments!!
There will be two small user stories we'll like you to implement on the test. If you had any doubt make the assumptions you need, and just comment them as a comment on your pull request.
What to deliver
We ask you to deliver a pull request to this same repository with your solution to the specified user stories.
Installation
We tried to include all the tools necessary to do the test here, that's why we have composer.phar into the repo for example, so the installation is quite simple. The only external thing you will need is a Mysql server somewhere, as you can use symfony's bundled server if needed, but feel free to use the stack you prefer. The steps to start with the test are:
-
Clone this repository
-
Execute composer to install the required dependencies. (You will be required with some information, mainly about the mysql configuration)
php composer.phar install
-
Do an empty commit with the message "I'm ready to start" for us to know the timing.
-
Ready to go!!
-
The Test
NOTE: We encourage you to make as much commits as possible with meaningul messages instead of one big bang commit at the end.
- Our frontend girl wanted to check also your capabilities in her terrain, so we included this part on the test. On the Home page, the blog posts (or similar) are shown in a single column, one on top of the other. We require you to do the required changes to have that list on two columns.
On the file feature-two-columns.txt at the root of the project you will find the definition of the story.
- This blog is that simple that we forgot to include the ability do comment on the posts. We want to add the ability to create comments on the post page, and show the previous comments on that same post page. Every comment should be related to an author (the same way as the post is related to an author, we don't need anything more complicated).
In the file feature-comments.txt at the root of the project you will find the definition of the story.
Extra: If you need help creating the database schema, to create the empty database you can use:
php app/console doctrine:database:create
php app/console doctrine:schema:update
Extra 2: We use a slightly modified version of the Symfony2 Coding standards, feel free to use the coding standards you want, but try to be consistent with the ones you choose. For reference: http://symfony.com/doc/current/contributing/code/standards.html