Project Summary

Requirements

App Name: Emotional Tweets

App Description: Emotional Tweets allows a user to search recent tweets which will then be displayed showing the emotional context alongside.

 

Target Platform: PHP.

  1.  Allow users to enter search terms or hash tags Done

  2.  Retrieve the tweets using the Twitter search REST API Done

(https://dev.twitter.com/docs/api/1.1/get/search/tweets)

  3.  Using the Sentimental API determine if the tweet is Happy / Sad / Indifferent Not Done( Didn't have time to do this exercise. I can do it later)

(https://semantria.com/support/developer) You can try this for free

(https://semantria.com/signup) and get up 10,000 transactions which should be more than enough for this test.

  4.  Layout the app as you see fit ­ layout is not necessarily as important as your general approach. Done.

Used MVc Approach, 

Folder Structure.
App( Contains controller, model, views, autoloader file)
images folder
style is css folder
js folder contain javascript files
index.php

I have done this project in one day so , thats why i have not done it very properly , i mean you will not find much comments. but the code will show how much i know PHP.

Please let me know what do u think about coding style and give your comments what is wrong and how i can make my coding style better.