Cargando…

Getting started with NativeScript : explore the possibility of building truly native, cross-platform mobile applications using your JavaScript skill--NativeScript! /

Annotation

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Anderson, Nathanael J. (Autor)
Otros Autores: Stoychev, Valio (author of foreword.)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2016.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; Copyright; Credits; Foreword; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to NativeScript; NativeScript; Telerik's NativeScript; Other competitors; NativeScript uniqueness; NativeScript is easy; NativeScript and TypeScript; What is TypeScript?; TypeScript's use in NativeScript; Choosing a development language; Common modules; Installing NativeScript; Prerequisites; node.js; iOS; Android; Installation; Installation help; The NativeScript command line; NativeScript commands; Creating your first application
  • Creating the application in easy stepsRunning the app; Summary; Chapter 2: The Project Structure; Project directory overview; The root folder; The app folder; The lib folder; The hooks folder; The node_modules folder; The tns-core-modules folder; The platforms folder; The platforms/android folder; The platforms/iOS folder; The app folder; The .gradle folder; The App_Resources folder; The fonts folder; The app folder files; The package.json file; License; App.js; App.css; Application page; The main-page.js file; The main-page.css file; The main-page.xml file; The main-view-model.js file
  • Foundational componentsApplication component; Frame component; Page component; Creating a second page; Creating additional files and pages; Creating settings.js; Navigating to another page; Running the application; Viewing our screen; Summary; Chapter 3: Declarative UI, Styling, and Events; Declarative UI; XML parser; Page, StackLayout, label, and more; node; node; node; node; Second node; Declarative UI and components; Visual components; Using the Declarative UI for our settings page; Our settings.xml file
  • Binding and event systemEvent system; Binding; Styling the UI; What is CSS?; Why use CSS?; How to use CSS; Configuring your CSS Rules; Existing CSS properties; Exploring app.css; Trying CSS out and styling our application; Styling on your own; Summary; Chapter 4: Building a Featured Application; Layouts; StackLayout; WrapLayout; AbsoluteLayout; DockLayout; GridLayout; Building our featured application; Nonvisual components; Dialogs; Alert dialog; Confirm dialog; Prompt dialog; Login dialog; Action dialog; Promises; The settings screen Declarative UI; GridLayouts; Building the main screen
  • JavaScript codeDeclarative UI; Main page Declarative UI; Main page body; ScrollViews; More about bindings; Repeaters; Main-body footer; The main-page.css file; Application CSS; Fonts; Icons; Communication with the server; Trying out our application; The server; Setting up your own server; Trying crossCommunicator out.; Summary; Chapter 5: Installing Third-Party Components; Places to find third-party components; The Telerik plugin site; npmjs.com; The NativeScript unofficial plugin list; How to install a third-party plugin component; Installing the vibration plugin