Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask PHP Expert

Introduction

Welcome! At MotorK we believe that one of the best way to evaluate your capabilities and generate a discussion about software is to give you a small and self-contained assignment you can perform in a pressure free environment and with enough time on your hands. For this reason, we created this small compito.

Overview

- Input
º A zip file containing a skeleton PHP [>7.0] application
- Expected Output
º The link to a git repository with the above application extended with the requirements requested
- Send back to
º Your contact at MotorK
- Deadline
º Within 7 days, counting from the day the assignment was handed.

Description

MK Dealers, one of our clients, asked us to improve a web page made by a previous agency.

This page shows a list of cars: people who want to request a quote for a car have to phone the dealer and tell him the car ID they're interested in.

Mr. MK wants us to create a page with a form for each car, so that he can stop answering phone calls.

Part 1

- Refactor the current web page by making use of the MVC architecture pattern
- Create a detail page for each car
- Add the form to this detail page.
- Save the form submissions (also called Leads) in a SQLite database table containing these fields (Id, name, lastname, email, phone, cap, privacy, carId)

The implementation should be done in plain PHP, without using any framework.

Minimal UI and CSS is provided and it will not be part of the evaluation, so focus on the domain modeling and business logic. But if you have spare time, you could try to improve it.

Part 2

- Based on the car dimensions/tags (described below), devise a creative recommendation-engine that is able to return cars similar to the one requested. Print these suggestions in the cars' detail page.

Data source and description

Cars' data is provided through an API (not to be implemented) that has two endpoints:
- /search
º This will return the list of all cars available.
- /detail/{detailID}
º This will return data about a single car.

A car can be characterized by a set of categories, each corresponding to a given car property such as "Look", "Fuel Type" and "Segment". In all of these categories, there is an arbitrary number of tags that describe all the possibilities for that category, such as "modern", "classic" or "original" for the "Look" category.

Every car is represented by a set of these tags. From all the categories you will find in the input file, for this project, you should only consider the following:

- Internal Space: describes the available seating space in the car
º Values: for single, 2-4 people, 4 people comfort, 5 people confort, 7 seats,
> 7 seats
- Segment: the type of car
º Values: citycar, utilitarian, compact, crossover, berlina-2v, berlina-3v, station, monovolume, suv, supercar
- Fuel type: the fuel used to power the car
º Values: gasoline, gpl, gas, hybrid, electrical, diesel
- Look: subjective appreciation of its look
º Values: classic, modern, sport, original

- Price: statistical percentile range of the car's price considering all models in a country
º Values: 1 to 100 (1st percentile, 2nd percentile, ... 100th percentile)

Your solution will be evaluated using the following criteria:

- Code Quality
º Domain modelling, re-usability, performance and creativity;
- Unit Tests (covering all the required business logic);
- Degree to which solution fulfills all requirements requested;
- Documentation in English, providing information on the core aspects of the solution developed, and explaining the design choices taken.

Attachment:- php-assignment.rar

PHP , Programming

  • Category:- PHP
  • Reference No.:- M92844689
  • Price:- $140

Guranteed 48 Hours Delivery, In Price:- $140

Have any Question?


Related Questions in PHP

Final project assignment -requirements specifications -1

FINAL PROJECT ASSIGNMENT - REQUIREMENTS / SPECIFICATIONS - 1. For the final project, you will have to make good use of your CMS using PHP and MySQL for the content delivery. You will have to be able to deliver the conten ...

Question using the course software and week one template as

Question: Using the course software and Week One Template as a starting point, create a new HTML webpage and include the following: • Write the code to display your name in the largest-size heading element. • Write the m ...

In php write a simple addtion calculator that reads in two

In PHP write a simple addtion calculator that reads in two values and then add them together and display the output. Be sure to validate both inputs and ensure that it can add 0+0 = Sum: 0. The user should be able to inp ...

Question continue to build on the skills of providing web

Question: Continue to build on the skills of providing Web page content and structure with HTML and Web page style and layout using CSS. Demonstrate the skill of creating a dynamic Web page that includes JavaScript clien ...

Question develop a 5-6 page word document that describes

Question: Develop a 5-6 page Word document that describes the design for a small Web site that meets the following specifications. 1. The Web site includes four or more Web pages designed according to current usability g ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As