DSPy a system for AI to Write Prompts and Do Fine Tuning
Enterprise apps using ruby droid con berlin 2012
1. •
How to Build Cross Platform
Enterprise Android Applications
using HTML5 & Ruby
2. Enterprise Applications
•
Smartphone usage in enterprise is exploding
–
Mobility is no longer bleeding edge
–
Driven by workers bringing their own devices
–
Users are finally using apps on their own accord
•
Enterprises still looking to own devices & control them
–
How do they move forward
•
Android fastest growing OS in the Enterprise
–
80+% still use Windows Mobile/CE/WEHH (Not WP7)
3. Background
•
A big step forward in mobile operating systems
–
Open Source
–
Can address enterprise requirements unlike iOS
•
But… What about my applications
–
Do they need to be rewritten
–
What about BB, WP7, Symbian, Win32, Mozilla, Tizen
•
“Native Apps” have won the day
–
25 Billion apps downloaded from the Apple App Store
–
10 Billion apps downloaded from the Marketplace
–
Even when the devices have a great browser!
4. Why Its Native Not Web
•
Device capabilities
–
Barcoding, Imaging, RFID, Printing, Payment
•
Offline use
•
Local data
•
Computation everywhere
•
Performance
5. But… How do you write a native app that
is cross platform for all popular devices?
6. Leveraging Ruby &
HTML5
•
Ruby compiled to byte code for performance
•
MVC pattern for best practices and easy
maintenance
•
ORM for managing data and relationships
•
App generation for rapid development
•
RhoStudio for fastest mobile debugging
7. RhoElements Architecture
You
write: your app code
model model
HTML source
Rhodes controller Backend
templates adapter
app app
generator model model
HTML
controller source Backend
templates
adapter app
RhoElements components RhoSync
Ruby App
ORM (Rhom)
executor Integration
We provide:
Server
Device RhoSync
capabilities client
Backend
smartphone device app
10. Killer Possible Enterprise
Smartphone Apps
•
Customer centric
–
Get product information, WRITE questions via NFC
–
Self-purchase (e.g. Motorola Solutions scanners)
–
NFC –based identification (vs. QR boarding pass)
•
Partner centric
–
Return rental ->flight checkin
•
Employee centric
–
allow every employee to take orders, wherever they
are (Apple Store, restaurants POS in Europe)
11. Summary: Why
Rhomobile?
•
RhoElements Runs Everywhere
–
Write once – run on every smartphone
•
MVC framework for smartphones
–
Use web development skills to write NATIVE apps
•
Framework with data synchronization
–
Enables smartphone usage in the enterprise
•
Development as a Service for mobile
–
Write apps without installing SDKs locally
•
Enterprise Security Compliant
–
Encrypt data on the device, remote wipe the device, secure authentication
etc.