際際滷

際際滷Share a Scribd company logo
UNews
Conception
Conception


Existing System
UNews
Defects
   Unorganized
   Scattered
   Temporary
   Fixed Space
   Crowded
Conception


 New System
Features
   Mobile
   Organized
   Compact
   Permanent
   Secured
   Personalized
   Unlimited Space
New System


 One word
UNews
Introducing UNews
UNews


Traditional Notice Board on a mobile
Architecture
    Super User




    Special User




       Client
Django Server
Django Server
   Web Framework in Python
   Agile
   Flexible
   Simplicity
   MVC Pattern
Architecture
                  Browser




Controller                  View




                    Model
Demo
Architecture
    Super User




    Special User




       Client
Ajax
Ajax

   Asynchronous JavaScript and XML
   Well Known
   Data Transfer with No Reload
   Major Websites
    Gmail,YouTube,Facebook 
    are Ajax driven
UNews
UNews
Working
     Browser                       Server

Create & send an                 Process and send
                      Internet
  Ajax Request                      Response




    Browser

Process using JS
                      Internet
  and update
Ajax in App
1.   Ajax Request
2.   Processed on Server
3.   JSON response from Server
4.   Parsed on the mobile
5.   Update the contents
JSON
JSON
   JavaScript Object Notation
   Readable
   Light Weight Data Interchange
   Language Independent
   Universal data structures
   Fast
JSON vs XML
 Xml format
  <name>
    <first>John</first>
    <last>Smith</last>
  </name>
 JSON format
    {first:John", "last:Smith}
JSON Performance

                            JSON      XML
Trial 1 Number Of Objects   20000     20000
Trial 1 Total Time (ms)     2213.15   61333.68
Trial 1 Average Time (ms)   0.11      3.07
Trial 2 Number Of Objects   40000     40000
Trial 2 Total Time (ms)     3127.99   123854.59
Trial 2 Average Time (ms)   0.08      3.10
JSON Structure
    {"data": [
       {"applicableto": "All Branches",
        "added": "2012-01-21, 21:57",
        "heading": "Holiday",
        "content": "Holiday on Jan 26",
        "adder": "kitscse",
        "id": "4} ]
}
Performance


 JSON>XML>HTML
UNews App
Android
Android
   Open Source
   Widely Used OS
   Agile Framework
   App Freedom
   Secure
   Google Advantage
Android Apps
 Components
  Activities
  Services
  Content Provider
  Broadcast Receiver
The App
   Android
   Compact
   Intuitive
   Organized
   Mobile App
   Fast
Demo
UNews Experience

More Related Content

UNews