Skip to content

Commit 617f2d2

Browse files
committed
Init
0 parents  commit 617f2d2

File tree

5 files changed

+634
-0
lines changed

5 files changed

+634
-0
lines changed

README.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Web Programmer Test Project
2+
3+
Thanks for your interest in working at Sweetwater! We're always excited to meet awesome people. We've created this test to help us understand your programming chops.
4+
5+
When placing orders on a website, we provide a field for customers to add a quick comment to tell us something we should know about them or their order. We're supplying you a MySQL table with these various comments and want to see your approach the following tasks.
6+
7+
8+
## Task 1 - Write a report that will display the comments from the table
9+
10+
Display the comments and group them into the following sections based on what the comment was about:
11+
- Comments about candy
12+
- Comments about call me / don't call me
13+
- Comments about who referred me
14+
- Comments about signature requirements upon delivery
15+
- Miscellaneous comments (everything else)
16+
17+
18+
## Task 2 - Populate the shipdate_expected field in this table with the date found in the `comments` field (where applicable)
19+
20+
The shipdate_expected field is currently populated with no date (0000-00-00). Some of comments included an "Expected Ship Date" in the text. Please parse out the date from the text and properly update the shipdate_expected field in the table
21+
22+
23+
## How you'll build it
24+
25+
- You can use any VCS platform you like — such as Gitlab or Github — as long as your project is publicly accessible.
26+
- Build your application so we can test it in-browser.
27+
- Write your application using PHP
28+
- We're interested in functionality, not design. It doesn't have to look pretty but your code should :-)
29+
- Don't use any other JavaScript libraries, such as jQuery.
30+
- Once you're done, send us the link to your project so we can look it over.
31+
32+
33+
## Requirements
34+
35+
- __Commit often.__ We want to see your progress throughout the project.
36+
- __Work quickly.__ This project was designed to be completed quickly, so don't spend too much time on it.
37+
- __Write your own code.__ While we understand that there are pakages out there that take care of common problems, we ultimately want to see what _YOU_ can build, not what someone else has built.
38+
- __Do your best work.__ We're using this project as a viewport into who you are as a developer. Show us what you can do!

config.php

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
$serverName = "localhost";
3+
$databaseName = "php-test";
4+
$username = "root";
5+
$secret = "";

0 commit comments

Comments
 (0)