Code Monkey home page Code Monkey logo

resthub-js's People

Contributors

bclozel avatar feugy avatar filirom1 avatar gzurbach avatar johanpoirier avatar mklabs avatar pouic avatar sdeleuze avatar temsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

resthub-js's Issues

Provide a downloadable package of Resthub-JS that does not require Maven or Java

For now, what I'm doing to get resthub for my students :

  • get the source tarball here for latest stable tag (today 1.1.2.1)
  • unzip it in a folder on my computer
  • do mvn package
  • go to target/resthub-1.1.2.1
  • remove WEB-INF and META-INF folders
  • make a zip with what is remaining (test, documentation and lib)
  • distribute directly this zip to my students

It should have been :

  • distribute to my students the download url

It's way too complicated to get a 100% sure working resthub-js (sources may work directly, but only mvn package can make us sure of it) if you just don't need/want to use resthub / tomcat / maven / java

storage.js - throw 'error'

problem in the feature test on ie < 8.

    if(!localStorage) {
        throw('localStorage support is required');
    }

should be

    if(!localStorage) {
        throw new Error('localStorage support is required');
    }

or even just return and fail silently.

note: might be a way better solution to rely on modernizr for feature testing

Fix Controller multi instantiations issue

When you instantiate multiple controllers on the same div, the contollers event listeners are not properly destroyed. It produces some strange bug like rendering on the wrong component.

Make a real distributable package

Right now, it is pretty "hard" to get a quick resthub-js distribution working for someone just interested in the JS part of the Resthub project.

What I had to do in order to be sure to get a "distributable" version for my students was :

  • Getting the 1.1-rc4 download (available thanks to github which makes packages from branches ?)
  • Do a mvn install (I guess I could avoid this, but this was just to make sure I'm not missing anything)
  • Go to target/${finalname}
  • Make a zip of "lib" and "test" folder (the latter in order to get some programming examples for a quick start)
  • Distribute the zip and tell my students to unzip it in their webapp directory.

Most people doing JavaScript don't do it through Maven, so it would be better to provide a distributable package as well as the maven war ;)

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.