Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 2.22 KB

File metadata and controls

49 lines (38 loc) · 2.22 KB
layout docpage
title The main application file
description The file that serves as the entry point of your application
permalink /create-an-application/application-tutorial/main

The main application file

The file that serves as the entry point of your application

This application uses an MXML file as its main file.

The file starts with:

<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                xmlns:local="*"
                xmlns:js="library://ns.apache.org/royale/express" 
                >

The line:

                xmlns:js="library://ns.apache.org/royale/express" 

means that the js prefix is mapped to the Express set of components. The Express set is designed for rapid prototyping and proofs-of-concepts and is not optimized for size and performance. Applications built with the Express components can still be deployed in production environments if the size and performance is acceptable, which it often is.

As mentioned in Application structure, there is more than one pattern for creating applications. This example will use the MVC pattern{:target='_blank'}. So, the next step is to create the Model.

{:align="center"} Previous Page | Next Page