Skip to content

A place where i can store interesting libs by category. :wip

Notifications You must be signed in to change notification settings

rockBreaker/lib-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

lib-watch

A place where i can store interesting libs by category.

work in progress

ClojureScript

When I was messing around with reagent I found this lib inside the re-frame framework. It looks to be a pretty strong cljs routing lib, with some neat features around Route matchers and actions.

####Quick Look

Route matcher URI Parameters
"/:x/:y" "/foo/bar" {:x "foo" :y "bar"}
"/:x/:x" "/foo/bar" {:x ["foo" "bar"]}
"/files/*.:format" "/files/x.zip" {:* "x" :format "zip"}
"*" "/any/thing" {:* "/any/thing"}
"/*/*" "/n/e/thing" {:* ["n" "e/thing"]}
"/*x/*y" "/n/e/thing" {:x "n" :y "e/thing"}
#"/[a-z]+/\d+" "/foo/123" ["/foo/123"]
#"/([a-z]+)/(\d+)" "/foo/123" ["foo" "123"]

####Quick links


This is a reagent framework built ontop of reactjs. It's been pretty interesting so far but the main readme is very long.

Quick Look

  1. Install Leiningen (plus Java).

  2. Get the re-frame repo

    git clone https://github.com/Day8/re-frame.git
    
  3. cd to the right example directory

    cd re-frame/examples/todomvc
    
  4. Clean build

    lein do clean, figwheel
    
  5. Run You'll have to wait for step 4 to do its compile, but then:

    open http://localhost:3450
    
Compile an optimized version
  1. Compile

    lein do clean, with-profile prod compile
    
  2. Open the following in your browser

    resources/public/index.html
    

Quick links


Clojure

This is a web app framework I played around with a while ago.

Positives Negatives
Very easy to use tbc

Questions

  1. Can I use re-frame as the front end part of luminus?
Quick look
$ lein new luminus my-app
$ cd my-app
$ lein run
Started server on port 3000
Quick links

I found out about this lib when I was using re-frame / Luminus. Pretty sure its industry standard for representing HTML in Clojure.

Quick look
Installation
Add the following dependency to your project.clj file:

[hiccup "1.0.5"] ;;Check for more recent depenency versions

;Next

user=> (use 'hiccup.core)
nil

user=> (html [:span {:class "foo"} "bar"])
"<span class=\"foo\">bar</span>"
Quick links

Hit List

Libs I want to look at next.

About

A place where i can store interesting libs by category. :wip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published