Week 3:Dynamic Data
Objectives in Week 3:
- Test the chatting list, chatting functionality and friend's specification pages with dynamic data.
- Test the community and blog releasing pages with dynamic data.
- Solve the problem of switching themes.
Outcomes:
- The javascript code for chatting functionality:
- The javascript code for community page:
*To make the blog concise, only the crucial works are presented.
Solution to the problems in the Week 2:
- Chose to ignore the change of system theme.
Problems and Concerns:
- The number of likes and comments cannot be synchronised to community page after users like and comment in the blog specification page.
- Then number of likes and comments cannot be immediately updated in the blog specification page after the users like or comment.
- Sometimes the users cannot do the operation of like in community page.
- Chatting functionality: when the keyboard pushing up, there existed blank area between keyboard and the typing box.

