Build Single Page Application only using Haxe? Priori is the answer.
Priori helps you to create cross-browser web apps for desktops, tablets and smartphones using all benefits of the modern, high level, strictly typed programming language that you already know - and love.
- Live version: (http://priori.triture.com/example/)
- Example project on github: (https://github.com/triture/priori-example)
Create New Project
haxelib run priori create
Compile Project
haxelib run priori build
Optional Parameters:
- -f : priori.json file name
- -p : source path
- -D : Any -D flag will be passed to the haxe compiler
- -nohash : do not insert git hash on priori.js reference
Special Flags
- -D prioridebug : expose priori objects class Name at DOM tree. Look for "priori-class" attribute.
Check the Priori api documentation under construction on (http://priori.triture.com/dox).
You can find some micro tutorials at Priori Blog: (http://priori.triture.com/blog)
Requires Haxe 3.4.2+.
- Step one: install jQueryExtern lib via haxelib:
haxelib install jQueryExtern
- Step two: install Priori lib:
haxelib install priori
You can also install aditional priori libs:
- Bootstrap for Priori:
haxelib install priori-bootstrap
- Font Awesome for Priori:
haxelib install priori-fontawesome
- Scene Manager for Priori:
haxelib install priori-scenemanager
Check out some Priori examples.
- Full Documentation 02% Completed
Rotation property for PriDisplayDoneScale property for PriDisplayDone9 Slice ImagesDoneShadow propertyDone- Background Images
Better Border Support (Current version is buggy)Done- Full compatibility for Android and IOs devices
- Youtube, Vimeo and other video streaming (?) support
Better performance for PriDataGridDoneFix scroller on mobile devicesDone- Remove JQuery dependency for better performance
- Better accessibility for Priori Apps
Better support for Mouse eventsDone- Better support for Keyboard events
- Form Container
- Form validation support
- Several bug fixes
- Some fixes and improvements
- New Feature : iFrame... i mean... PriFrame!
- New Feature : Textfield types (email, password, numbers and text)
- New Feature : Color values is now PriColor, an Abstract Int
- New Feature : Appending Git Hash to priori.js reference on index.html
- New Feature : -D flags can be defined on priori.json file! use d_flags[] value.
- Improvements : Multiline property for Form labels
- Bugfix : Form Text Area alignment
- Bugfix : Wrong position calculations for scrolled objects
- Other fixes
- Improvements : 'text decoration'
- Bugfix : better hasFocus() code
- Bugfix : Some fixes to improve IE 9 compatibility
- Some fixes and improvements
- Update to jQueryExtern 3.0.0.
- Better Priori Builder
- New Feature : Radio Button
- New Feature : Load images using Base64 data
- Bugfix : Focusable property not working
- Bugfix : Some Loader bugs
- New Feature : Styling PriForm elements
- Improvements : Better handling scrollable containers
- Improvements : Better handling element styles
- Lot of performance improvements and bugfixes
- Fixes and some improvements
- Improvements : Remove jquery from mouse event manager
- Improvements : Using object pool for PriDataGrid cells
- Improvements : PriDisplay dispatching Drag event
- New Feature : startDrag() and stopDrag() methods
- Bugfixes
- Improvements : Mouse position on MouseEvent
- Lot of bugfix and optimizations
- Improvements : More performance improvements.
- Bugfix : Template for "create" command error
- New Feature : Filters for PriDisplay: blur, contrast, grayscale, etc (do not work on IE)
- New Feature : getGlobalBox() method to get the object position on window
- Improvements : LOT OF performance improvements (more to come).
- Improvements : Uses text-shadow on PriText instead of box-shadow
- Improvements : PriImage scales conflicts
- Improvements : PriContainer now supports PriEvents.RESIZE.
- Improvements : Better way to handle Browser events
- New Feature : Scale and Rotation
- Updated jQuery version to 2.2.1
- Keep jquery and dom reference after kill method
- New Feature : Shadow property
- New Feature : PressEnter event for form elements
- New Feature : Tooltip property
- New Feature : Mouse enable / disable property
- New Feature : selected index property for combo box
- New Feature : PriFormTextArea
- Improvements : Better way to handle parent objects
- Bugfix : Child visibility
- Several small fix
- Bugfix : Wrong PriDataGrid max scroll value on Firefox.
- Bugfix : Small fix for PriNineSlice
- New Feature : PriNineSlice component for nine-sliced images! WHAT IS IT?
- Improvements : Better performance for PriDataGrid - thousands of rows working fine working fine
- Some smallfixs
- Bugfix: Wrong detection for android devices
- Bugfix: Audio not loading on ios devices
- Bugfix : cannot get values from disabled form elements
- Improvements : Better border support. * Still need more tests
- Change Class names :
- BorderStyle to PriBorderStyle
- BorderType to PriBorderType