• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

TrinityJS - Minimalistic web framework

Newbie Spellweaver
Joined
May 30, 2017
Messages
36
Reaction score
10
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 :thumbup1:

Be aware the API will change as this framework is not completely done nor is the documentation yet.
 
Newbie Spellweaver
Joined
May 30, 2017
Messages
36
Reaction score
10
# 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 CSS properties to the HTML tags.

e.g
PHP:
section({ style: { outlineStyle: 'dotted', outlineColor: '#00ff00' } })(
   span({ style: { color: 'red' } })(
      'duck yer nan!'   
   )
)
 
Back
Top