Lua with NOYA Mobile cross platform engine Framework IDE Daogang Cao Cofounder of MLink Tech http wwwunimlinkcom 01 02 03 04 What How Demo Summary contents ID: 816375
Download The PPT/PDF document "Creating Mobile App in" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Creating
Mobile App
in Lua with NOYAMobile cross-platform engine, Framework, IDE …
Daogang
CaoCo-founder of MLink Tech http://www.unimlink.com
Slide201
02
03
04
What
How
Demo
Summary
contents
Slide3What we did?
NOYA , Mobile
App Development Platformpart01An express MDAP target for enterprise mobile app market
Mobile App Development
Platform Including cross-platform engine, app framework, ui designer, simulator, IDE…Lua is fully used to program UI & business logic, all native capabi
lit
ies are hided
Enterprise Mobile App Market is different with
personal
market
Rapid development
Rapid
response to the dynamic changes in
business
Less
cost
‘Business working’
>
‘User experience’
Slide4cross-platform/different ways
Designer
vs programmerpart01For designer Phonegap + HTML5, using HTML5 as an application program language
The browser is cross-platform engine ( Safari & chrome)
For programmer JS, lua, python, C#, Java
T
itanium、moai
、corona
、
cocos2d-x
(target for mobile game development except Titanium)
Slide5why
lua
Efficiency, efficiency, efficiencypart01
Small
sizeeasy portingMany references - so many mobile game engine support lua script language
Slide6How to
do?
So much work to dopart02Cross-platform engine
App framework
IDE
UI designer
simulator
Objected
Lua
Table
setmetaTable
REF
Cocos2d-x,
…
Slide7part
02
architecture
lua
native
Ios/android
/qt
Engine drive
lua
引擎
L
ua
engine
Lua
native Bridge
Framework
app
Slide8part
02
Lua is fully usedNot only script language
MLView
UIButton
UICheckBox
MLPlugin
UIImageView
UIGrid
UILabel
…
MLFile
MLHttp
MLTimer
MLWebView
…
Set up UI
framwork
in
Lua
language instead of call native UI framework.
All
Lua
UI components are from ‘
MLView
’ which call native ‘View’ interface
ML= MLINK
Slide9part
02
Lua Framework /root - MLPluginCallback mechanism
Slide10part
02
Lua UI Framework - MLViewRoot class of LUA UI framework
Slide11part
02
Lua UI FrameworkUser can define a subclass
define
: UIButton
= Class(
MLView
);
UIButton.id
= nil;
--
static member
静态变量
function
UIButton:init
()
--
function
use
:
local button
=
UIButton.new();
button:init
();
Slide12part
02
Others things we have done
app framework
MVC
1
2
3
4
5
Window
mgmt
,
Animation
Adaptive
Layout
for
different
screen
more
efficiency
UI
Cache
mechanism
Plug-in
mechanism
Slide13part
02
NOYA projectApp
src
codeFramework
app
resource
Slide14part
03
Resultyes, it work perfectly More efficiency Dynamic loading&running, but more efficiency then web app including H5+phonegap
easy development
New graduates , 2weeks , once coding / running both IOS&android Less costMobile app development cost /down 40% ( 20+ enterprise projects)Flexible
Complicated business logic verified (app for insurance company/government
)
Slide15part
03
demo showmobile app for enterprise workflow
Slide16part
03
demo showmobile app for personal using
Slide17part
03
demo showIDE and simulator and …Switch to NOYA IDE
Slide18part
04
Summary of NOYALua is fully used (both UI & business ) Both enterprise & personal app are ok, more efficiency then HTML5+PhonegapCost down
Junior engineer
Seni
or engineer
Native capability
In system language
UI & business logic
In
lua
Slide19T
hanks
caodaogang@unimlink.com
A
s
tartup company located in Beijing. China
http://
www.unimlink.com