Are you a web developer that’s looking at becoming a mobile developer too? In this session, I’ll introduce you to mobile development using AppBuilder, Telerik’s cross-platform mobile development IDE. It helps you create real iOS and Android apps using familiar web development technologies like HTML5, CSS3, and JavaScript.
We will discuss how to leverage your existing web-development skills, using the Windows and web-based IDEs, navigation, cloud services, phone features like the camera and GPS, testing, debugging, and deploying your apps to the app stores. Are you a web developer that’s looking at becoming a mobile developer too? In this session, I’ll introduce you to mobile development using AppBuilder, Telerik’s cross-platform mobile development IDE.
It helps you create real iOS and Android apps using familiar web development technologies like HTML5, CSS3, and JavaScript. We will discuss how to leverage your existing web-development skills, using the Windows and web-based IDEs, navigation, cloud services, phone features like the camera and GPS, testing, debugging, and deploying your apps to the app stores.
5. Introduction to AppBuilder
Developers can use Telerik AppBuilder to create cross-
platform iOS, Android, and WP8 applications on the
Cordova platform using familiar web development
technologies such as HTML, CSS, and JavaScript.
6. What AppBuilder Is
• IDE—and related tools—for developing mobile apps
in HTML5/JS
• AppBuilder vs Cordova
• Cross-Platform
• Windows IDE, web-based IDE, Visual Studio Plug-in,
Sublime Text Package, Command-Line (Win/OS X)
7. What AppBuilder Isn't
• NOT a programming language (JavaScript)
• NOT a mobile API (Cordova)
• NOT a platform/framework (Kendo UI Mobile)
• NOT a widget library (Kendo UI Mobile)
8. Cordova PhoneGap
"Apache Cordova [is] the
engine that powers
PhoneGap, similar to how
WebKit is the engine that
powers Chrome or Safari"
- Brian Leroux
Adobe's PhoneGap is a
distribution of Apache
Cordova. PhoneGap now
refers to an Adobe-led free,
open source distribution of
Cordova
9. How Cordova Works
• Web assets are packaged in a native wrapper app
• Native wrapper app runs a full-screen UIWebView (iOS),
Webview (Android), or WebBrowser control (WP8) that
renders the web app packaged in it
• iOS and Android use WebKit-based browsers, WP8 uses
IE
• Cordova JavaScript library wraps native APIs to access
Phone features (GPS, camera, accelerometer, etc)
14. How to Do MVVM in AppBuilder
Controller
• JavaScript classes modularized
into separate files
View
• Use view widgets (e.g., Kendo UI
Mobile), templates, & HTML
Model
• Deserialized from service calls
ViewModel*
• More modularized class files to
expose your model to your view
• Use Kendo's ObservableObject
class for viewmodels
• Kendo's binding statements to
connect view and view model
20. Bootstrap (AKA Twitter Bootstrap)
A free collection of JavaScript and CSS helping web developers with
typography, forms elements, buttons, navigation and other widgets
CSS+JS
21. RequireJS
"RequireJS is a JavaScript file and module
loader…Using a modular script loader like RequireJS
will improve the speed and quality of your code."
- http://requirejs.org
23. Underscore.js
"Underscore is a utility-belt library for JavaScript that
provides a lot of the functional programming
support…"
- http://underscorejs.org
24. var stooges = [
{name : 'moe', age : 40},
{name : 'larry', age : 50},
{name : 'curly', age : 60}
];
_.pluck(stooges, 'name');
=> ["moe", "larry", "curly"]
Underscore.js
25. var obj = {
firstname : 'J.',
lastname : 'Tower‘
};
var obj2 = _.clone(obj);
Underscore.js