Professional Documents
Culture Documents
Work Test For Software Developer - Shopping Cart - : Background
Work Test For Software Developer - Shopping Cart - : Background
Developer
– Shopping Cart –
Before you start with this exercise please read carefully the document completely (2
pages).
Background
A new shopping cart system is to be realized for an online shop. The new feature to
add to the existing system is that discounts can be displayed in the future on the
shopping cart.
The following features are required in addition to mapping the business rules:
Adding products in the shopping cart
Calculating the value of the shopping cart taking into account the defined
discounts
Problem definition
Develop the shopping cart system according to the requirements described
above in the section entitled “Background”
Make your solution elegant and easy to understand using natural terminology
Show that in addition to PHP basics, you also master the PHP standard APIs,
concepts of object-oriented programming, and the principles of Clean Code
development
Demonstrate the correct functionality of your solution through meaningful unit
tests
Make your solution available as a ZIP
For an acceptable solution, at least the following criteria must be met:
Implementation of business rules 1, 2 and 4; the latter without dependency on
the customer group
Simple concepts of object-oriented programming (e.g. class division,
responsibilities, exception handling) were used meaningfully
Conditions
For this work test are max. 4 hours envisaged
If you consider it appropriate (or the task explicitly requires it), you can use
open source libraries
You do not have to implement any user interface, just only the functions to manage
the data and relations.