Single-page web applications (SPA) framework for Haxe
Haxe Other

README.md

MIT License Haxelib Version

PRIORI

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.

Demonstration

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.

Documentation

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)

Installation

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:

Priori Example Project

Check out some Priori examples.

Priori Roadmap for 1.0.0 Release Version

  • Full Documentation 02% Completed
  • Rotation property for PriDisplay Done
  • Scale property for PriDisplay Done
  • 9 Slice Images Done
  • Shadow property Done
  • 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 PriDataGrid Done
  • Fix scroller on mobile devices Done
  • Remove JQuery dependency for better performance
  • Better accessibility for Priori Apps
  • Better support for Mouse events Done
  • Better support for Keyboard events
  • Form Container
  • Form validation support
  • Several bug fixes

Changelog

0.8.1 - 09/03/2017

  • Some fixes and improvements

0.8.0 - 08/01/2017

  • 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

0.7.3 - 06/08/2017

  • Improvements : 'text decoration'
  • Bugfix : better hasFocus() code
  • Bugfix : Some fixes to improve IE 9 compatibility

0.7.2 - 05/25/2017

  • Some fixes and improvements

0.7.1 - 04/25/2017

  • Update to jQueryExtern 3.0.0.
  • Better Priori Builder

0.7.0 - 04/20/2017

  • New Feature : Radio Button
  • New Feature : Load images using Base64 data
  • Bugfix : Focusable property not working
  • Bugfix : Some Loader bugs

0.6.0 - 03/20/2017

  • New Feature : Styling PriForm elements
  • Improvements : Better handling scrollable containers
  • Improvements : Better handling element styles
  • Lot of performance improvements and bugfixes

0.5.1 - 01/30/2017

  • Fixes and some improvements
  • Improvements : Remove jquery from mouse event manager
  • Improvements : Using object pool for PriDataGrid cells
  • Improvements : PriDisplay dispatching Drag event

0.5.0 - 01/11/2017

  • New Feature : startDrag() and stopDrag() methods
  • Bugfixes

0.4.2 - 01/03/2017

  • Improvements : Mouse position on MouseEvent
  • Lot of bugfix and optimizations

0.4.1 - 12/24/2016

  • Improvements : More performance improvements.
  • Bugfix : Template for "create" command error

0.4.0 - 12/18/2016

  • 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

0.3.0 - 12/11/2016

  • New Feature : Scale and Rotation
  • Updated jQuery version to 2.2.1
  • Keep jquery and dom reference after kill method

0.2.0 - 12/02/2016

  • 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

0.1.2 - 06/02/2016

  • Bugfix : Wrong PriDataGrid max scroll value on Firefox.

0.1.1 - 05/27/2016

  • Bugfix : Small fix for PriNineSlice

0.1.0 - 05/25/2016

  • New Feature : PriNineSlice component for nine-sliced images! WHAT IS IT?

0.0.5 - 05/18/2016

  • Improvements : Better performance for PriDataGrid - thousands of rows working fine working fine
  • Some smallfixs

0.0.4 - 05/10/2016

  • Bugfix: Wrong detection for android devices
  • Bugfix: Audio not loading on ios devices

0.0.3 - 05/08/2016

  • 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