Giter Site home page Giter Site logo

shoreleave-core's Introduction

shoreleave

A smarter client-side in ClojureScript

###Shoreleave is a collection of integrated libraries that focuses on:

  • Security
  • Idiomatic interfaces
  • Common client-side strategies
  • HTML5 capabilities
  • ClojureScript's advantages

It builds upon efforts found in other ClojureScript projects, such as Fetch and ClojureScript:One.

Shoreleave-core Overview

The core library holds the common auxiliary functions used in multiple parts of Shoreleave's modules.

Additionally, the polished browser-repl integration is part of core.

Please see the Marginalia docs for more information.

Plays well with others

Shoreleave makes no assumptions about other libraries you might be using in your app.

I have found it to pair particularly well with Enfocus

Examples and usage

Please the github wiki for examples of each library feature

License

Copyright © 2012 Paul deGrandis

Distributed under the Eclipse Public License, the same as Clojure. Please see the LICENSE_epl.html for details.

shoreleave-core's People

Contributors

ohpauleez avatar

Stargazers

hamlet avatar Daniel West avatar Justin Corpron avatar manjilab avatar Luke Matthew Sutton avatar Horizon avatar Dmitry Kasimtsev avatar Norbert Schneider avatar Dmitri Sotnikov avatar Akil Brooks avatar Paul Legato avatar David Sargeant avatar  avatar  avatar Nikita Prokopov avatar Konstantin Sykulev avatar John Andrews avatar Luke Crawford avatar Dudley Flanders avatar

Watchers

James Cloos avatar David Sargeant avatar

shoreleave-core's Issues

clj->js should be compatible with PersistentHashMap

bbloom: try this:
[5:09pm] bbloom: (.-strobj (into {} []))
[5:09pm] bbloom: vs (.-strobj {})
[5:09pm] zach_ left the chat room. (Remote host closed the connection)
[5:09pm] bbloom: you'll notice the former is nil
[5:09pm] bbloom: you can check for strobj as an optimization, if you want
[5:10pm] bbloom: but really you should (doseq [[k v] map] ...)
[5:11pm] zach_ joined the chat room.
[5:11pm] bbloom: ClojureScript:cljs.user> (type (loop [m {} i 0](if %28< i 10%29 %28recur %28assoc m %28str i%29 i%29 %28inc i%29%29 m)))
[5:11pm] bbloom: cljs.core.ObjMap
[5:11pm] bbloom: ClojureScript:cljs.user> (type (loop [m {} i 0](if %28< i 100%29 %28recur %28assoc m %28str i%29 i%29 %28inc i%29%29 m)))
[5:11pm] bbloom: cljs.core.PersistentHashMap

bbloom: ohpauleez: was just skimming the code. looks bugged to me, it relies on the internal implementation of ObjMap, which gets promoted to a PersistentHashMap after some number of updates or size

how to use shoreleave remoting with ring

Hi Paul,

I am using ring + moustache on the server side, and would like to use shoreleave for remoting with enfocus on the client side.

Can I represent the remote api of shoreleave directly as a middleware ?

Thanks,
Murtaza

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.