Ah, I forgot the valuesImpl section, which I presume appears before the intialView section. Does anything go in there that is not related to CSS?
On Wed, Apr 22, 2020 at 2:13 PM Andrew Wetmore <[email protected]> wrote: > Hi, all. I am stepping through the tutorial on our website for building > your first application [1], to see if it is clear enough for someone who > does not already know how to do this. > > I am on the step that starts to build up the data model and use a service > call, and am wondering whether, before this, it would be useful to say > quickly what the typical layout of the main .mxml file in a Royale app is. > > Please correct me, but I believe the standard structure is: > > - .xml tag to indicate the version and the encoding, like UTF-8 > - open <application> tag with some declarations about namespaces, page > title, initial view, and so on > > -- <fx:script> area to hold imports from libraries, imports of > components, initialization of variables, and declaration of functions > > -- <fx declarations> area to hold things like effects, validators, > and formatters > > -- service call area to hold things like <https> calls to fetch or > send data > > -- <js:initialView> area to hold the visible components of the user > interface > > - closing <application> tag. > > > Am I missing something in that very-high-level outline? > > Andrew > > > [1] https://apache.github.io/royale-docs/create-an-application > > -- > Andrew Wetmore > Technical Writer-Editor > Infra > *Apache Software Foundation* > [email protected] > -- Andrew Wetmore Technical Writer-Editor Infra *Apache Software Foundation* [email protected]
