sentimental values PROJECT SUMMARY About our projects URL HTML5 based mobile application to present well- being information of RP students over time as well as real-time analytical data of Twitter search terms. Saturday, February 11, 12
Real-time twitter search term analytics ➡ Two main Comparing & contrasting sentimental values from topics that are obtained from blogposts, keywords and such. ➡ Sentimental analysis of individual tweets under a search term ➡ Showing the impact made by a topic (search term) and comparing reaction of people between search terms. Saturday, February 11, 12
which part went wrong Cleaner & more maintainable code Separation of data, presentation and business logic makes a lot easier to focus while coding Pluggable code since every section in the app is independent Saturday, February 11, 12
1.0 jQuery Mobile Slight Learning Curve It’s jQuery ? Technologies Appeclerator Titanium Was in alpha stage No mobile-optimized charting framework Touch charts doesn’t support Sencha Touch 2.0 No desktop solution No charting library Native app development with pure JS & CSS. Much faster than working in pure webviews Of Saturday, February 11, 12
Back-end It’s Open Source! Django 3 1 2Adopts MVC Architecture (known as MTV) Models, Templates, Views Rapid development for database-drives websites Database implementations are already done in Django Saturday, February 11, 12
look & feel for iPhone, iPads, Blackberry, Android .,etc Sencha Touch 3 1 2Use web standards such as HTML5, CSS3. Driven by Ext.JS Used for developing cross platform mobile web apps Saturday, February 11, 12
data from a server in different domain Technical Considerations JSON vs JSONP 1 2Using the same JSON response structure, the data is wrapped within a javascript function name, that exists as a callback within the app. Saturday, February 11, 12
more complicated standards • RSS v1 • RSS v2 • XML • Atom Why not XML? 3 1 2Requires an additional library in Sencha hence reduces performance Current API does not require functionalities of XML Saturday, February 11, 12
speed of each API response 3 1 2Querying the database as a whole and filtering at the backend causes a lot of overhead • It’s slow even with one of the fastest scripting language, Python Solution to leverage PostgreSQL • Select only what we need and put as much as JOINs and WHEREs to minimize filtering at the backend. Saturday, February 11, 12
I and II (Well-being Analytics Tool + Twitter Search Tool) presented Social Sense 1.0 Part I (Well-being Analytics Tool) Experience Gained Saturday, February 11, 12
documentations Backend Aint Myat Noe Contributed in writing django views to retrieve data from database and filter out to return a specific JSON format RESTful API calls for tweet trends, sentiment, wordcloud, tweet counts(positive, negative, neutral, total) Setup API docs page, contributed docs for a few methods Logic to support JSONP callbacks as well as regular API calls Skeleton code for Every API method (Query based, sorting logic, backend response time issue) Fix django views to get specific JSONP format for Sencha Store RESTful API calls for tweet sub trends Contributed in writing django views to retrieve data from database and filter out to return a specific JSON format Yendino Leader FTW! Contributed in writing up API documentations Saturday, February 11, 12
common keywords in a pop up window by tapping a button when viewing graph Front-end Aint Myat Noe Created dashboard for switching in between twitter search and blog posts sentiments analytic tools View hierarchy between parent trends and sub trends (twitter) Refactored view hierarchy (Sub Viewport for Twitter having TweetList View and TweetSentiment View, Root hierarchy for dashboard, well-being section, and twitter section) Create area graph, bar graph and line graph for sub-topic trends Create area graph and line graph for parent trends Created pop up window for showing blog posts when tapping on the graph of a specific topic in a specific month Yendino Json Stores for tweet trend, sub trends and tweet sentiment Styling the graphs using SCSS Creating basic structure of the Sencha Application (Models, Views, Controllers and Stores) Creating color schemes by recompiling the Sencha Library and also by using SCSS Fixing issues regarding scrolling as well as a few other bugs regarding interaction method Saturday, February 11, 12
in adding the pagination functionality for blog posts viewing on the pop up window Linkifying links, hashtags and users in tweet content Various aspects of styling of each tweet sentiment based on sentiment type Styling of each post view on well- being data Various backend, front end minor fixes/changes Adding styling for dashboard and RP logo Yendino Customized callbacks (JSONP) when retrieving data Contributed in styling of sentiment tweets Navigating between topics & subtopics nested list menu Various backend, front end minor fixes/changes Created tablet-like split views for better interactivity and content visibility Paging in twitter search stream Connecting chart views with chart stores Saturday, February 11, 12