Code Monkey home page Code Monkey logo

trident's Introduction

trident/<artifact> {:mvn/version "0.1.12"}

Trident

Because I had to call it something

Trident is my personal experiment in creating a highly-abstracted web application framework for use with Datomic Cloud. But it's also just a collection of libraries, containing anything I happen to abstract out of projects I'm working on.

My top-level goal with Trident is to maximize code reuse (especially my own, but hopefully for others as well). This has two parts:

  • There should be high-level interfaces that give you lots of leverage (like frameworks).

  • When the high-level interfaces don't cut it, it should be easy to use only the parts you want, customizing behavior as needed (like libraries).

See this article for more information about my philosophy.

Contents

I keep the code in a single src dir, but I provide multiple artifacts. Any code in src/trident/<foo> is available in the tridnet/<foo> artifact. For example, {trident/cli {:mvn/version "<version>"}} will give you access to the trident.cli namespace. All artifacts use the same version.

I use the trident/docs artifact for documentation on cljdoc. You can browse the namespaces to see what's available, but here's a list of the artifacts for convenience:

  • trident/repl. A handful of convenience functions for use at the repl.
  • trident/util. A collection of utility functions & macros.
  • trident/cli (includes util). Makes it easy to define and reuse CLIs for tools.deps-based build tasks.
  • trident/ion-dev (includes cli). Stuff for ion develeopment
  • trident/build (includes util, cli). A collection of build tasks made with trident/cli.
  • trident/datomic (includes util). Janky file-based persistence for Datomic Free.
  • trident/datomic-cloud (includes util). Tools for Datomic Cloud.
  • trident/ring. Some Ring middleware.
  • trident/firebase. Functions for authenticating Firebase user tokens.
  • trident/ion (includes util). Utilities for working with Datomic Ions
  • trident/web (includes util, datomic-cloud, firebase, ion, ring). Highly contrived web framework.
  • trident/datascript (includes util). Frontend tools for syncing Datascript with Datomic.
  • trident/views (includes util). Some Reagent components and stuff.
  • trident/cljs-http. Slight additions to cljs-http
  • trident/frontend (includes util, datascript, views, cljs-http). Just a bundle of other artifacts.

Also see trident.cli Getting Started.

Progress

While I hope Trident will be useful for others, I'm primarily focusing on my own use cases because 1) there are things I want to build, 2) developing Trident as I build real things will help to make sure it's actually useful. With that out of the way, if you're interested in anything Trident does, I'd love to chat.

Projects using Trident:

Contact

License

Distributed under the EPL v2.0

Copyright © 2019 Jacob O'Bryant.

trident's People

Contributors

jacobobryant avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.