Skip to content

razoyo/jr-dev-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Razoyo Developer Test

The goal of this mini-project is to develop some PHP classes that allow Magento product information to be displayed in several different formats (CSV, XML, and JSON). You will be connecting to a Magento store that sells children's golf apparel: https://www.shopjuniorgolf.com/

If you feel like this exercise is over your head, you may be interested in our intern-to-full-time internship program. You may apply to that program here: https://www.razoyo.com/developer-internship/

File overview

There are 2 external files that are included into this script.

  • raz-lib.php is where we provided classes and interfaces (do NOT touch)
  • dev-lib.php is where you should put any of your classes

API Documentation

Magento API docs: http://www.magentocommerce.com/api/soap/introduction.html

Requirements

Make sure that your code meets each of the following requirements.

  1. Use the SOAP V1 API protocol to query data.
  2. Script must be able to ouput records in CSV, XML, and JSON format.
  3. Create a FormatFactory class that uses constants for the format codes (csv, xml, json).
  4. Records must ONLY include the following fields: SKU, Name, Price, and Short Description
  5. Must not use any of the built-in PHP encoding functions (i.e. json_encode, SimpleXML, etc.)
  6. The CSV format must have a header row
  7. Variables, functions, and classes should have descriptive names (in English).
  8. Organize your code according to Object Oriented Programming best practices.

Credentials

You will need an API key that should've been provided to you. The script works by pulling the password from an environment variable called RAZOYO_TEST_KEY. If you need the password please email me (see below).

Need Help?

Feel free to email me if you have any questions William Byrne (wbyrne@razoyo.com).

Releases

No releases published

Packages

No packages published

Languages