Skip to content

fernst/zf-1.11-demo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zf-1.11-demo-app

Programming task

Write a small application in Zend Framework (version 1.11). The application has one controller and two views. At the first visit of the application, the “index” view shows two inputs: an email address input and a file upload input. Use Zend_Form to validate the inputs and display a simple error message if they are not valid. If they are valid, the uploaded file should be parsed.

It accepts the following comma separated csv file (header is also part of the file)

Id,Firstname,Lastname
1,John,Doe
2,Adam,Ant
3,Victor,Hugo
4,Britannie,Spears

The program should parse the file and order it by first name. As a result on the screen we should see the “result” view with something like this:

Thank you <email address that was entered on the form>. The result of your query is:

2,Adam,Ant
4,Britannie,Spears
1,John,Doe
3,Victor,Hugo

Don’t worry too much about HTML/CSS formatting/styling. Functionality is important.

About

Little exercise i found on https://github.com/dsavin/westwing_test , this is my version of it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages