Giter Site home page Giter Site logo

zhakui / nativescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nativescript/nativescript

0.0 2.0 0.0 330 KB

Open Source framework for building cross-platform truly native iOS, Android and Windows mobile apps using JavaScript.

Home Page: http://www.nativescript.org

License: Apache License 2.0

nativescript's Introduction

Welcome to NativeScript

What is NativeScript

With NativeScript you can use your JavaScript and CSS skills to write native mobile applications for iOS, Android and (soon) Windows Phone. There is no WebView involved in rendering the app, as the UI is rendered by the native platform's rendering engine. Because of that, the app's entire UX is native.

NativeScript enables you to use a complete stack of cross-platform APIs to write your application code or, if you need to, you can directly access all platform-specific native APIs using JavaScript only. That’s right—you can access all native APIs, not only the ones we thought would be useful!

We did not want to create just yet another ecosystem around a native cross-platform framework. We wanted to integrate and play well with all existing JavaScript and native iOS/Android/Windows ecosystems. That is why we also support using existing JavaScript libraries, as well as existing native Objective-C, Java and .NET libraries. We want to stress that you don't need to know Objective-C, Java or .NET in order to reuse these libraries—their entire APIs are available in JavaScript with no changes.

Because of the features listed above you get some important functionality right out of the box. The first is that NativeScript applications support the same accessibility models as native apps. This is important for anyone creating apps that need to meet certain accessibility standards before going live. This is also very useful when you start implementing functional or unit tests for your app. Several existing cross-platform tools like Appium already work directly with NativeScript and provide accessibility automation.

The second major feature you get out of the box is 0-day support for new native platforms. Because NativeScript exposes unmodified native APIs and UI components, you can use the latest native APIs and new UI components when Apple, Google or Microsoft updates their mobile platforms.

So let’s summarize what NativeScript enables you as of today:

  • Build 100% native cross-platform apps, with a declarative UI, and the ability to implement platform-specific UIs.
  • Share 100% of your code or use platform-specific APIs, depending on the app you’re building.
  • Code in standards-based ECMAScript 5 JavaScript. ES6 support is coming soon.
  • Use standards-based CSS syntax for styling.
  • Use rich data binding and existing UI patterns to easily build complex user interfaces.
  • Reuse any native library available in Objective-C, Java or .NET.
  • Reuse any JavaScript library that is not browser-dependent.
  • Reuse the QA tools for accessibility automation to write tests.
  • Use the latest native platform features to create an amazing native user experience.
  • Code in any IDE of your choice to implement your applications’ code using the NativeScript CLI.
  • Use the Telerik Platform, AppBuilder and the full Visual Studio integration to get a rich development experience. Paid support is also available.

We hope this gives you a good idea about what you can expect from NativeScript.

To learn more about NativeScript, you can check the following resources:

Most popular repositories:

  • Cross-Platform Modules - Stores the code of the cross-platform modules, written in TypeScript
  • iOS Runtime - Holds the runtime, allowing the JavaScript code of your application to be executed on an iOS device
  • Android Runtime - Holds the runtime, allowing the JavaScript code of your application to be executed on an Android device
  • NativeScript CLI - Contains the Command-Line Interface for creating a NativeScript application
  • Docs - Contains the NativeScript documentation (available on http://docs.nativescript.org/) in MarkDown format
  • Tasks app - Stores the code of a complete sample application using user authentication and cloud storage.
  • Hello-World Template - Contains the code of the application the CLI creates by default
  • Cuteness Sample - Stores the code of the Cuteness proof of concept application (A Reddit Kitten browser)

Getting Started and How to Install NativeScript

Please follow this getting started with NativeScript article.

Documentation

Comprehensive documentation is available at docs.nativescript.org.

Helping NativeScript

We love PRs! Please follow our contribution guide if you want to become part of the project.

Contact info

nativescript's People

Contributors

erjangavalji avatar fyalavuz avatar tjvantoll avatar

Watchers

James Cloos avatar xavier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.