1. Tired of not being able to see links? Want to chat with other members? Need help?

TrinityJS - Minimalistic web framework

Discussion in 'Development' started by Sentinel, Jan 9, 2018.

  1. Sentinel

    Sentinel github.com/marcus-sa

    Joined:
    Oct 18, 2016
    Messages:
    1,085
    Likes Received:
    520
    TrinityJS is a ReactJS inspired web framework solely made for the purpose of being fast, simple and lightweight.

    Example of usage: [ Want to see this link? Register ! ]

    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: [ Want to see this link? Register ! ]
    Github: [ Want to see this link? Register ! ]

    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.
    --- Double Post Merged, Jan 11, 2018, Original Post Date: Jan 9, 2018 ---
    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: Jan 12, 2018
    LeChris, Genial and griimnak like this.
  2. LeChris

    LeChris Retaliation V3 | 02/20/18

    Joined:
    Sep 30, 2013
    Messages:
    2,204
    Likes Received:
    1,027
    Would this be a good base to learn React from?
     
  3. Sentinel

    Sentinel github.com/marcus-sa

    Joined:
    Oct 18, 2016
    Messages:
    1,085
    Likes Received:
    520
    Yes it would :)
    Just need to finish the docs.
     
  4. LeChris

    LeChris Retaliation V3 | 02/20/18

    Joined:
    Sep 30, 2013
    Messages:
    2,204
    Likes Received:
    1,027
    Ye I looked at the readme and it was missing quite a bit :p
     
  5. Sentinel

    Sentinel github.com/marcus-sa

    Joined:
    Oct 18, 2016
    Messages:
    1,085
    Likes Received:
    520
    I'll post an update when it's done :D
     
  6. SystemSequence

    SystemSequence Member

    Joined:
    Feb 10, 2016
    Messages:
    48
    Likes Received:
    13
    A good base to learn react from would be to actually learn react.
     
  7. Sentinel

    Sentinel github.com/marcus-sa

    Joined:
    Oct 18, 2016
    Messages:
    1,085
    Likes Received:
    520
    # UPDATES
    I've coded a new plugin [ Want to see this link? Register ! ]
    I got this idea off the already existing package for Scala.js [ Want to see this link? Register ! ] plus it makes it more React like.

    Before you would code it inline like this:
    [ Want to see this link? Register ! ]

    Now you can just do like this instead:
    [ Want to see this link? Register ! ]
    --- Double Post Merged, Jan 13, 2018 at 7:42 PM, Original Post Date: Jan 13, 2018 at 3:51 PM ---
    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: Jan 13, 2018 at 7:54 PM

Share This Page

Loading...