Ubuntu SDK development tool chain

Source: Internet
Author: User

The Ubuntu series has now evolved into a full-featured OS for cloud, server, desktop, tablet, and mobile, and explains how the Ubuntu SDK supports its comprehensive application development, including the Ubuntu SDK installation and scope, Basic concepts such as QML and JavaScript integrated applications.

Everyone knows that Ubuntu is one of the best desktop Linux distributions available today. , and Ubuntu server is completely mixed up with OpenStack, and the cloud's development capabilities are quite powerful. In addition, Ubuntu is also moving aggressively into the mobile side, has supported the tablet and mobile phone (how the effect looks at the market). Here we introduce Ubuntu SDK, which is the latest development tool chain of Ubuntu.

There are already a lot of development tools, such as Eclipse, in the desktop and server, why do you have an Ubuntu SDK? Because small devices also require better cross-compilation tools, the Ubuntu SDK is primarily geared toward mobile-device development. But because of its QT-based, the introduction of the QML interface design, so as to create a set of completely across all devices interface development Support Tools, can only say that its ambition or big. Coupled with Qt's built-in support for JavaScript, and the growing improvement of projects such as PYQT, if you can integrate these resources together, the most powerful development suite is not too (if you want to integrate together ha).

First, install the Ubuntu SDK

Software development for mobile devices requires several things: the IDE, the Code editor, the online debugger, the emulator, the cross compiler, where emulators and cross compilers are not needed for desktop development.

First look at how to install the Ubuntu SDK.

With Ubuntu14.10 and later versions, you can install directly:

$ sudo apt-get update && sudo apt-get install UBUNTU-SDK

In the case of Ubuntu14.04 and its previous versions, first do the following to add the installation source to the system:

$ sudo add-apt-repository Ppa:ubuntu-sdk-team/ppa

Then, you can run it. You can see almost exactly the same interface as Qt Creator, just adding a lot of engineering templates.

$ ubuntu-sdk

You can then start the design of a QML program. Here is an example of a qml: https://developer.ubuntu.com/zh-cn/apps/qml/tutorials/building-your-first-qml-app/.

Second, scope interface scope

Scope is a new interface experience created for mobile apps, complements the previous Unity interface, provides a new desktop for the device, and unity is also available on mobile devices and can be quickly scratched through the touchscreen. View the development process for scope: https://developer.ubuntu.com/zh-cn/scopes/tutorials/scope-development-procedures/

Scope will provide content derived from almost any source directly to the Ubuntu shell. The user enters a search item in scope, the scope produces the content, and the content is displayed as we see it. The user then selects the search results of interest and their preview content, usually with more data. The user taps or clicks the preview, song, or video screen, the relevant page appears in the browser, or opens the application and does the right things.

Scope sends content to users outside of any application. Simple content such as Web or database queries, or granular access-controlled, organized, diversified content (derived from multiple data sources) will go directly to the user experience. Scope is one of the core features of Ubuntu. So let's start with an overview of the main scope features that the scope developers are more interested in.

Third, scope is the presentation of data aggregation

Scope is essentially a query. It provides the results (content) to the customer who called it, and also provides data for the preview phase of the results. For example, a user might enter a search item in an Ubuntu shell, and the shell invokes a scope. Scope executes the query and renders the results to the shell (where the query results are rendered).

However, scope does not know and does not care what it is called, which means that scope can also invoke scope. Scope can aggregate data from any data source, including other scopes.

Scope is an automated query program that returns query results (and preview data) to anything that invokes it. It is because of this architecture that in the Ubuntu shell, it is also more likely to improve the user experience by aggregating rich content from multiple data sources and displaying a more aesthetically pleasing style. Scope can provide content even without an initial query string, allowing rich content to be displayed without user interaction.

Iv. integrated Application of QML and JavaScript

Similar to HTML5, QML provides a descriptive interface design language, while supporting integrated applications with JavaScript, providing a web-like content rendering interface. However, unlike HTML5, QML has defined the calling framework and API for native APIs, and HTML5 needs to be extended to provide a transfer that supports native APIs by running the framework layer. The result is a lightweight, dynamic HTML-enabled design and native API that provides great support for developing a new generation of "hybrid" apps.

However, the Hybrid app framework, extended through HTML5, can support both iOS and Android systems, and scope can only be run on Ubuntu devices.





Ubuntu SDK development tool chain

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.