Sie sind auf Seite 1von 7

WordPress

Nice to see you! You're almost in Codeline team.

This is a test assignment, which covers basic functionality of WordPress. If you


know that, you can do almost everything in WordPress.

Each point has help links. It will help you to refresh your knowledge about some
parts of Wordpress functionality.

Please, start timer at the top right corner of that task (clock icon) when you're
ready to read and go with task.

We're looking forward to see your results!

Good luck!

==========================================================

1. Inside admin

1.1) install clean Wordpress:

1.2) install theme Unite. It has Bootstrap 3 inside.

1.3) create child theme from Unite

1.4) add new type of post "Films". We need possibility to add new films.

1.5) Add following taxonimies to films: Genre, Country, Year and Actors

1.6) Add custom text fields "Ticket Price" and "Release Date". You can use
extension or do it on your own

1.7) Add 3 films with test data just to prove that it works
2. Public view

2.1) add values "Country", "Genre", "Ticket Price", "Release Date" at film page
under description. We must use custom page in child theme in that particular
case

2.2) add values "Country", "Genre", "Ticket Price", "Release Date" at list of films.
We must use hook here.

2.3) create shortcode to show last 5 films. We need to add shortcode at right
sidebar under search field.

3. Result

3.1)
A new git repository should be created for the project and all changes should be
committed progressively. We should be able to easily see the parts you coded and
differentiate it from framework code. Also include SQL DB dump. Please use
Github or Bitbucket private repository to deploy your code, provide a read
permission to our account ( username is gitesoftcom for both platforms) and add
the repository url to your reply.

3.2) In comment to that task provide summary of your work in English. Please,
write it in formal way as if you're talking with client

3.3) Stop timer when you finish your work

LARVEL

This is a test assignment which covers RESTful API, DB, auth and form
functionality in Laravel. Also you have good possibility to show your skills in
JavaScript!

We need to create simple web application for films.

1) BACKEND
1.1) Implement RESTful API to manage films

Films should have fields:

Name
Description
Realease Date
Rating
Ticket Price
Country
Genre
Photo

1.2) All fields are required, rating is on scale from 1 to 5, 1 film can have several
genres.

2) FRONTEND

2.1) create frontend page /films/ to show all films through API. 1 film per 1 page.

2.2) add redirect from / to /films/

2.3) implement frontend page /films/film-slug-name to show specific film. URL


should have film's slug.

2.4) implement frontend page /films/create with form to create new film.

2.5) add registration and authentication

2.6) add possibility to post comments for each films. Fields "Name" and
"Comment" are required.

2.7) only registered users can post comments


3) RESULT

3.1) A new git repository should be created for the project and all changes should
be committed progressively. We should be able to easily see the parts you coded
and differentiate it from framework code.
Please use Github or Bitbucket private repository to deploy your code, provide a
read permission to our account ( username is gitesoftcom for both platforms) and
add the repository url to your reply.

3.2) in comment to that task provide summary of your work in English. Please,
write it in formal way as if you're talking with client

3.3) stop timer when you finish your work

NOTES:

- Create DB seeder with 3 films and 1 comment for every film

FRONTEND
Weather App Using Js Framework
You can use your preferred new generation Js Framework, like VueJs, Aurelia,
AngularJS

Use weather.php as your data source. This script mirrors data from
MetaWether.com. It has two commands. Inspect the script to understand what it
does. Then scan MW website for necessary documentation regarding the icons,
the response format. Do not use any other weather API or a pre-existing weather
package.

You should be making http requests against MetaWeather and displaying the
results in your app. The app will have 3 routes:
Home:
/#/
This is the default page and we should see this when we first load the app.
The home page should display the weather for today in these 6 cities:

Istanbul, Berlin, London, Helsinki, Dublin, Vancouver

The “weather” custom component:


When displaying the weather, use a custom component called
<weather></weather> and pass in necessary data using bindings. You are free to
choose in what form you will pass data. You can also make additional data loading
using component’s lifecycle hooks as well, but this is entirely optional. Reuse this
custom component across the entire application.

This component should display:


* the city name
* the temperature
* the maximum temperature
* the minimum temperature
* and the corresponding weather icon (it’s also provided by metaweather.)

When we click the weather component, we should go to /#/weather/:woeid to


see more details about the weather in that location.

Search:
/#/search/:keyword
On home page, there should also be a search field and a search button.
When the search is run, the user should be sent to this URI.
For instance, if one searches for “Dublin,” they go to /#/search/dublin

If the search yields results, display the weather for today in matching cities (using
the <weather> custom component). If there are no results, say “No results were
found. Try changing the keyword!”

We should be able to change our keyword (and see the current keyword) and
search again without having to go back to the home page.

Weather Details Page:


/#/weather/:woeid

This page loads the weather for the given “woeid” parameter, and displays the
same information as the weather custom component, but displays all of the days
inside consolidated_weather instead of just today.

Bonus points: display the day name for the applicable date, like, Monday,
Tuesday, etc.

RESULT

A new git repository should be created for the project and all changes should be
committed progressively. We should be able to easily see the parts you coded and
differentiate it from framework code. Please use Github or Bitbucket private
repository to deploy your code, provide a read permission to our account (
username is gitesoftcom for both platforms) and add the repository url to your
reply.
In comment to that task provide summary of your work in English. Please, write it
in formal way as if you're talking with client