Skip to content

Commit 7ab413e

Browse files
committed
Initial commit
0 parents  commit 7ab413e

30 files changed

+1316
-0
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.hxproj
2+
3+
.vscode/
4+
*.code-workspace
5+
6+
bin/
7+
8+
.DS_Store
9+
Thumbs.db

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PureMVC Haxe Feathers UI Demos
2+
3+
These sample demos demonstrate how to create projects with [PureMVC](http://puremvc.org/) and [Feathers UI](https://feathersui.com/).
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
* PureMVC Feathers UI Demo - Application Skeleton - Copyright © 2022 Bowler Hat LLC
2+
* PureMVC Flex Demo - Application Skeleton - Copyright © 2007-2009 Daniele Ugoletti
3+
* PureMVC - Copyright © 2007-2008 Futurescale, Inc.
4+
* All rights reserved.
5+
6+
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10+
* Neither the name of Futurescale, Inc., PureMVC.org, nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11+
12+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# PureMVC Haxe Feathers UI App Skeleton
2+
3+
This example app demonstrates how to create an application skeleton with [PureMVC](http://puremvc.org/) and [Feathers UI](https://feathersui.com/).
4+
5+
Based on [PureMVC ActionScript 3 Demo: App Skeleton (Flex)](https://github.com/PureMVC/puremvc-as3-demo-flex-appskeleton)
6+
7+
## Live demo
8+
9+
A build of the [_puremvc-haxe-demo-feathersui-appskeleton_ sample](https://feathersui.com/samples/haxe-openfl/puremvc/puremvc-haxe-demo-feathersui-appskeleton/) is hosted on the Feathers UI website, and it may be viewed in any modern web browser.
10+
11+
## Run locally
12+
13+
This project includes an [_project.xml_](https://lime.software/docs/project-files/xml-format/) file that configures all options for [OpenFL](https://openfl.org/). This file makes it easy to build from the command line, and many IDEs can parse this file to configure a Haxe project to use OpenFL.
14+
15+
### Prerequisites
16+
17+
- [Install Haxe 4.0.0 or newer](https://haxe.org/download/).
18+
- [Install Feathers UI from Haxelib](https://feathersui.com/learn/haxe-openfl/installation/)
19+
20+
### Command Line
21+
22+
Run the [**openfl**](https://www.openfl.org/learn/haxelib/docs/tools/) tool in your terminal:
23+
24+
```sh
25+
haxelib run openfl test html5
26+
```
27+
28+
In addition to `html5`, other supported targets include `windows`, `mac`, `linux`, `android`, and `ios`. See [Lime Command Line Tools: Basic Commands](https://lime.software/docs/command-line-tools/basic-commands/) for complete details about the available commands.
29+
30+
### Editors and IDEs
31+
32+
Check out the following tutorials for creating Feathers UI projects in popular development environments:
33+
34+
- [HaxeDevelop](https://feathersui.com/learn/haxe-openfl/haxedevelop/)
35+
- [Moonshine IDE](https://feathersui.com/learn/haxe-openfl/moonshine-ide/)
36+
- [Visual Studio Code](https://feathersui.com/learn/haxe-openfl/visual-studio-code/)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
PureMVC AS3 Demo - Flex Application Skeleton
4+
Copyright (c) 2007 Daniele Ugoletti <daniele.ugoletti@puremvc.org>
5+
Your reuse is governed by the Creative Commons Attribution 3.0 License
6+
-->
7+
<config>
8+
<param name="language" value="en" />
9+
<param name="keyName" value="value 1" />
10+
<param name="otherKeyName"><![CDATA[Long text value]]></param>
11+
<group name="groupName">
12+
<param name="keyNameInsideGroup" value="value 2" />
13+
<group name="subGroupName">
14+
<param name="keyNameInsideSubGroup" value="value 3" />
15+
</group>
16+
</group>
17+
</config>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
PureMVC AS3 Demo - Flex Application Skeleton
4+
Copyright (c) 2007 Daniele Ugoletti <daniele.ugoletti@puremvc.org>
5+
Your reuse is governed by the Creative Commons Attribution 3.0 License
6+
-->
7+
<locale>
8+
<item name="Hello world" value="Hello world!" />
9+
<item name="How to read config values" value="How to read config values" />
10+
<item name="How to read locale text" value="How to read locale text" />
11+
<item name="Long text"><![CDATA[Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam urna urna, dignissim ut, sodales ut, tristique vel, lectus. Mauris nisl. Donec et nisi sed nisl tincidunt commodo.<br><b>Donec id eros. Lorem ipsum dolor sit amet,</b> consectetuer adipiscing elit. Vestibulum cursus neque eget purus bibendum lobortis. Pellentesque ullamcorper leo id dolor. Cras vel nibh eget lacus egestas suscipit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Suspendisse dictum fermentum felis. Vivamus lacinia. Sed quis leo sed nisi interdum feugiat. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Fusce felis arcu, laoreet ut, sodales nec, vestibulum id, tellus.]]></item>
12+
</locale>
Lines changed: 9 additions & 0 deletions
Loading
737 Bytes
Loading
20.1 KB
Loading
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<project>
3+
<meta title="App Skeleton" package="com.feathersui.samples.puremvc.AppSkeleton" version="1.0.0" company="Bowler Hat LLC"/>
4+
<meta title="PureMVC Haxe Feathers UI App Skeleton Demo — Feathers UI Samples" if="html5"/>
5+
<app main="AppSkeleton" file="AppSkeleton"/>
6+
7+
<window allow-high-dpi="true"/>
8+
<window fps="60"/>
9+
<window fps="0" if="html5"/>
10+
11+
<source path="src"/>
12+
13+
<haxelib name="openfl"/>
14+
<haxelib name="actuate"/>
15+
<haxelib name="feathersui"/>
16+
<haxelib name="puremvc-standard"/>
17+
18+
<icon path="assets/icons/feathersui-icon.svg"/>
19+
20+
<assets path="assets/img" include="*"/>
21+
<assets path="assets/data" include="*" embed="false"/>
22+
</project>

0 commit comments

Comments
 (0)