MobiCloud
Power of Clouds in Your Pocket : An Efficient Approach for Cloud Mobile Hybrid Application Development
1
Ashwin Manjunatha, Ajith H. Ranabahu , Amit Sheth, Krishnaprasad Thirunarayan
Kno.e.sis Center
Wright State University
MobiCloud Power of Clouds in Your Pocket : An Efficient Approach - - PowerPoint PPT Presentation
MobiCloud Power of Clouds in Your Pocket : An Efficient Approach for Cloud Mobile Hybrid Application Development Ashwin Manjunatha , Ajith H. Ranabahu , Amit Sheth, Krishnaprasad Thirunarayan Kno.e.sis Center Wright State University 1 Agenda
Power of Clouds in Your Pocket : An Efficient Approach for Cloud Mobile Hybrid Application Development
1
Ashwin Manjunatha, Ajith H. Ranabahu , Amit Sheth, Krishnaprasad Thirunarayan
Wright State University
2
3
Computing Power Portability
4
– Back-end in Cloud – Front-end in a mobile device
– A native Iphone / Android / Blackberry app
5
– The Facebook client you have in your smart phone !
– Most Facebook activity happens via Mobile devices !
Facebook backend
the complete experience
6
Another Research Oriented Example
– Introduced by IBM researchers – Measures relative exposure of private data on a social network – Provides a similar number to “credit score”
– Perfect for a mobile device !
7
Kun Liu, Evimaria Terzi Ninth IEEE International Conference on Data Mining, 2009
– Write the back-end to suit Amazon – You can’t move to Google !!
– Need to write different apps for different devices !
8
9
– Domain Specific Language – A mini language for a special purpose
10
– As DSLs are designed for specific domain, they reduce complexity!
– Use single DSL to design applications with different combinations of Cloud and mobile platforms – Generate apps for Amazon, Google, Android, Blackberry using just a single script
– No separation between front-end / back-end – No service interfaces to worry about (auto generated) – Communication interfaces are a major source of errors and incompatibilities
11
DSL Script Compiler/Generator Cloud Mobile Hybrid Application
12
– Less control over the code
not possible
– Covers only the 80% case
applications
13
14
15
Model View Controller
A very simple “Hello World”
16
recipe :helloworld do metadata :id => 'helloworld-app' # models model :greeting, {:message => :string} #controllers controller :sayhello do action :retrieve,:greeting end # views view :show_greeting, {:models =>[:greeting], :controller => :sayhello, :action => :retrieve} end Models Controllers Views
Metadata – details that need to be attached to the whole application
A slightly complicated Example (task manger)
17 r e c i pe ( : t odol i s t ) do # s pe c i f i c m e t a da t a f or t hi s a pp m e t a da t a ( {: i d => ‘ t odo- l i s t ' }) m
, {: na m e =>: s t r i ng, : de s c r i pt i on => : s t r i ng, : t i m e => : s t r i ng, : l oc a t i on => : s t r i ng}) m
e =>: s t r i ng, : bda y => : s t r i ng}) #c ont r ol l e r s c ont r ol l e r ( : t odoha ndl e r ) do a c t i on : c r e a t e , : t odoi t e m a c t i on : r e t r i e ve , : t odoi t e m a c t i on : upda t e , : t odoi t e m a c t i on : de l e t e , : t odoi t e m e nd # vi e ws vi e w : t odo_a dd, {: m
] , : c ont r ol l e r => : t odoha ndl e r , : a c t i on => : c r e a t e } vi e w : t odo_s how, {: m
] , : c ont r ol l e r => : t odoha ndl e r , : a c t i on => : r e t r i e ve } e nd
Regular Development
applications
new effort.
code and other artifacts
DSL based Development
application
functionally equivalent applications for multiple platforms
all required artifacts
– Location based services
– Non functional features
– Social Network features
– http://knoesis.wright.edu/library/publications/MobiClou d.pdf
– http://knoesis.org/mobicloud
– Coming soon !
– http://portal.acm.org/citation.cfm?id=1674659.1677075
23
24
Ajith Ranabahu Amit Sheth
Ashwin Manjunatha Krishnaprasad Thirunarayan
25
26