Redcruiter
Is an small singlepoint entry application framework written in PHP, relying on Smarty as template engine. With the main purpose to see if an candidate have an basic understanding of OOP PHP and patterns such as MVC. The framework in its current state makes use of an file-based JSON data-store to ensure flexibility in creation of candidate tests.
Todo
Your job is to write an simple address book application based around the framework.
There should exist an view where the user are able to display all existing contacts, and the properties first_name last_name, email, of these existing contacts.
The name of the Contact should exist as an link that when clicked transfers the user to an new view with more details about the contact.
There Should exist an link on each of the contacts that enables the user to be tranfered to the new view where the user should be able to edit the contact
The non editable view should display all information we know about the Contact such as first_name, last_name email, age, street, postal_code and city.
The user needs to be able to click on something here to get to some view where he can edit the content.The editable view should enable the user to edit all information we know about the contact such as first_name, last_name, email, age, street, postal_code and city.
The user must be able to save the edited contacts information to the database.
When the information have been saved the user should be transferred to the detail the view that displays all details about the contact.
There should exist an method for the user to create and add new Contacts to the address book.
Diclaimer
This framework does not represent the best of architecture and it does contain flaws, extra points will be awarded for explaning what is an flaw, and why when you react on fixing things within the core of framework. Strong recommendation: Even if its ok, it would be a really bad idea that for any reason use this for anything you care about, without first fixing the flaws of this framework and applying for an new job.
Hints
It would be considered not in your favour solving the tasks by accessing the file-based database from any other other than the DataBaseManager.Copyright 2011 Redpill Linpro AB.
Author(s): Jonas Odencrants
This file is part of Redcruiter.
Redcruiter is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Redcruiter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Redcruiter. If not, see http://www.gnu.org/licenses/.
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。
3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考学习用!
4、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。