TrinityJS - Minimalistic web framework

MayoMayn

BestDev
Oct 18, 2016
1,423
683
TrinityJS is a ReactJS inspired web framework solely made for the purpose of being fast, simple and lightweight.

Example of usage:

Features:
  • Reusable components
  • Routing
  • Store
  • Authentication wrappers for routing through store
  • Learning curve is fast and easy
  • Development made easy
  • HTML done in string
  • Code your own plugins (aka contexts)
  • And much more
Documentation:
Github:

I'll add a roadmap for what needs to be done.

Be aware the API will change as this framework is not completely done nor is the documentation yet.
 
Roadmap:
  • Port to Scala.js
  • Finish the documentation
  • Rewrite router
  • Finish helper functions
  • Code a real life demo example to show how fast TrinityJS really is
 
Last edited:

MayoMayn

BestDev
Oct 18, 2016
1,423
683
# UPDATES
I've coded a new plugin
I got this idea off the already existing package for Scala.js plus it makes it more React like.

Before you would code it inline like this:


Now you can just do like this instead:

 
Coded the ability to also add style properties to the HTML tags.

e.g
PHP:
section({ style: { outlineStyle: 'dotted', outlineColor: '#00ff00' } })(
   // ...
   span({ style: { color: 'red' } })(
      'Fuck yer nan!'
   )
)
 
Last edited:

Users who are viewing this thread

Top