TrinityJS - Minimalistic web framework

Results 1 to 2 of 2
  1. #1
    Member Delight is offline
    MemberRank
    May 2017 Join Date
    37Posts

    cool TrinityJS - Minimalistic web framework

    TrinityJS is a ReactJS inspired web framework solely made for the purpose of being fast, simple and lightweight.

    Example of usage: https://github.com/marcus-sa/trinity...er/test/client

    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: https://trinity.js.org
    Github: https://github.com/marcus-sa/trinity-js

    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.


  2. #2
    Member Delight is offline
    MemberRank
    May 2017 Join Date
    37Posts

    Re: TrinityJS - Minimalistic web framework

    # UPDATES

    I've coded a new plugin https://github.com/marcus-sa/trinity-dom
    I got this idea off the already existing package for Scala.js ScalaTags plus it makes it more React like.

    Before you would code it inline like this:
    https://pastebin.com/BCgQPFcE

    Now you can just do like this instead:
    https://github.com/griimnak/Trinity3...Admin/Login.js

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

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




Advertisement