prabhu
2011-09-28 20:31:59 UTC
1. You are to design and implement a simple blog.
2. Try to limit your effort to 4 days - we do not wish to take up too much of your time.
3. Make sure you state all your assumptions in your code.
4. Pages that you need to produce
• Blog entries list (this is the home page)
• Post a Blog entry.
• View a Blog entry
The Functional Specifications
1. Overview
• The blog is publicly viewable.
• The blog is updated by a blog Owner.
• You do not need to implement a log-in for the Owner. Bonus if you do.
• Each blog entry can have multiple comments by other Users.
2. User Registration
• You do not need to implement any form of User registration or log-in.
• State your assumptions how multiple Users can post Comments.
3. Blog entries list (this is the home page)
• Show number of comments for each entry
• Show date of each entry
• Show the Title and part of the Body
4. View a Blog entry
• Display the entry Title and Body.
• Blog entries need not be editable or deletable. Bonus if you do.
• Associated Comments appears here.
• Post a Comment form appears here.
5. Blog Comments
• Each blog entry can have multiple comments by other Users.
• Comments do not have to be threaded. Bonus if you do.
6. Optional features
• Search, Archive, RSS feeds, Sorting options, User registration, Interactive User Interfaces
• Support for GUI editing or HTML codes in the Body.
What you need to submit
1. PHP for code, MySQL for database.
2. You are required to submit 1 zipped file, "answer.zip". Make sure that answer.zip contains
1. All the necessary files for us to run your application. If you're using a framework, please include the entire framework as well.
2. All the necessary SQL statements and any other information for us to re-create the database you're using.
3. We may contact you should we run into problems duplicating your environment.
What we are looking out for
1. Your design of the database tables
2. How you write and organize code that is easy to read.
3. How you comment your code
As a bonus, we would also like to see-
1. Use of MVC
2. Use of CakePHP framework
3. Clever reuse of components
4. Efficient code, efficient database calls