kony one studio technical training
DESCRIPTION
TRANSCRIPT
1
Kony One Studio & Kony Middleware
Version: 0.1 Date: 15 Jul 2013Author: Kaya Niranjan Kumar Reddy
Application Architect, SME – J2EE, Portals, Mobile / IBM India
2
Kony One Studio
Studio Overview
• Basic Modules • Kony Architecture• Kony Studio• Basic Application and Form• Intro. to Skins• Manage Image Resources• Layouts• Widgets
• Text• Buttons• Labels• HBox & VBox• Browser• Image, etc.
3
Kony One Studio
Studio Overview Cont…..
• Basic Modules Cont…..• Kony API• Event Editor• Building App• Debugging App• Services with Network API• Single Page Application• Internationalization
• Building Applications – Advanced• App Properties• App Lifecycle Events• Build Modes• Build App
4
Kony One Studio
Advanced Kony Programming
• Advanced Modules• Kony API• LUA & JS functionality• Working with Services• Alignment & Positioning• Skins
• Forking Skins• Forking Forms
5
Kony Middleware
Kony Middleware / KMAP Server
• Advanced Modules• Overview• Middleware Configuration• KDCDB (Kony Device Central Database)• License & Logging Configuration• Device Detection Logic (DDL)• Middleware Upgrade
6
Build & Deploy / Publish
Build, Sign, Publish
• Building Application• Build for Rich / Native platform• Build for Mobile Web / SPA
• Running on Emulators• Run & Debug
• Signing Native binaries
• Deploy• on Native• on Web
7
Why Kony?
• Single Codebase.
• Multiple Platforms support
• Rapid Application Development
• Industry Recognized & Widely Used
• Continuously Evolving
• Easy to learn (LUA & JS)
8
Customer Intranet
DMZ Firewall
IBM Intranet
Tomcat-KMAP
Kony Server
Middleware (Service)
component
Kony Product DB
KDCDB
Rich client on Emulator / Mobile Device
IN
TE
RN
ET
HTTP(S)
JSON
Thin client/ Mobile Device / Emulator Browser
HTTP(S)
xHTML
INT
ER
NE
T IN
TE
RN
ET
Ff
Dev/Test Env
CMS/DB
Enterprise system
Web server
Other
XML/SOAP
XML
Kony Studio
Source Code Repository Server
SVN
Architecture
9
Studio
10
Skins
11
Images• Images can be used for virtually anything
• Use *.PNG images rather than JPEG/GIF, etc.
• Accurate Image Resolution
• Effects
• Image Repository
• Forked Images (Platform specific)
• Images for Skin
12
Layouts• Alignment : Horizontal or Vertical
• Form – Top-level widget - Mandatory
• Optional Widgetsh HBoxh VBox
• Layout / Alignment propertiesh Widget/content alingmenth Expandability (Native only – meant for Tablets)h Marginh Paddingh Size (by default – auto populated as dragged)h Skin
13
14
Event Editor
15
Building AppModes:
h Debugh Release
– With Print statements– Without Print statements
Platforms:h Rich / Native
– BlackBerry (specific OS Version / Model)– Windows Mobile– J2ME– Symbian– Android– iOS (iPhone/iPod, iPad)
h Web (Mobile Web)– All of the above– BJS– Basic Devices
h Single Page Application / SPA– All of the above– Browser specific– Both touch and non-touch
h Tablet– iPad / iPad Mini– Android– Windows (e.g.: MS Surface)
h Tablet SPA– iOS– Android– NO Windows (no IE support)
h Kiosksh Hybrid / Mixed
16
17
Debugging Your AppMode:
h Rich Platform– Connected mode / Realtime debug– Emulator debug
h SPA / Web
Tools:h Android:
– Dalvik Debug Monitor Server (DDMS)– Commandline – ADB LOGCAT– Android Debug Monitor (monitor.bat)
h iOS:– XCode
h BlackBerry:– BB Emulator.– BB Developer Toolkit (JDE)
18
ServicesTypes:
h XMLh JAVAh JSONh SOAPh Othersh Composite
19
Questions&
Answers