springojs | SpringoJS lets you use RIngoJS

 by   darrencruse Java Version: Current License: MIT

kandi X-RAY | springojs Summary

kandi X-RAY | springojs Summary

springojs is a Java library. springojs has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However springojs build file is not available. You can download it from GitHub.

SpringoJS = Spring + RingoJS!. Springo provides a minimal framework for incorporating RingoJS into a Spring MVC application. Note: RingoJS is built on top of Rhino a very mature Javascript engine that runs on the JVM. In what follows I will sometimes use "Ringo" and "Rhino" interchangeably. In reality Ringo is a superset of Rhino that adds (node.js style) CommonJS module support to Rhino, along with a variety of modules including an express-style middleware framework called "stick". The result is a very node.js-like framework that runs on the JVM with the biggest difference being the use of java style blocking I/O which avoids the frequent use of callbacks as seen in node.js. The approach used in Springo has been used quite successfully at a fortune 500 company to deliver RESTful JSON services using a codebase that started as a Java Spring application, but evolved into a "hybrid" Spring + Server-Side Javascript application using both Spring MVC and Ringo/Rhino running together within a single JVM process. In this approach we found Ringo's server-side Javascript to be very productive and brought a "rapid application development tool" flavor to our RESTful service development compared to using Java with Spring MVC alone. This was especially true due to Ringo's support for hot deployment of code changes, and because our development team already had strong Javascript skills since the developers were previously responsible for end to end development encompassing not only the server side Spring code but also a Javascript heavy web application. Incorporating server side Javascript entailed a small learning curve for the team compared to incorporating an entirely new JVM language such as Groovy or Scala or Clojure, etc. Also compared to these other languages, our code was simplified owing to the ease of working with the RESTful JSON request and response payloads directly in RingoJS, where it's very easy to see the JSON payloads when reading our Javascript code. This contrasts with the other languages which of necessity must treat JSON as a "serialization" or "marshalling" format that must be converted into the other language's data structures and syntax for Groovy/Scala/Clojure/etc. As the team used RingoJS server side Javascript more, our coding style evolved into a more Functional style focused on simple data structures and pure functions in lieu of elaborate Object Oriented design patterns and class hierarchies. i.e. Our JSON request/response payloads were used directly as our "data structures" and they were passed in and out of Javascript functions organized into Ringo's CommonJS modules. So though Ringo allows you to call into Java easily (which we leveraged to call into our legacy Java code), we wrote our RingoJS server-side Javascript code in a simpler non-stateful/non-Object-Oriented style with less of the ceremony and verbosity that Java can bring.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              springojs has a low active ecosystem.
              It has 7 star(s) with 1 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              springojs has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of springojs is current.

            kandi-Quality Quality

              springojs has no bugs reported.

            kandi-Security Security

              springojs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              springojs is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              springojs releases are not available. You will need to build from source code and install.
              springojs has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed springojs and discovered the below as its top functions. This is intended to give you an instant insight into springojs implemented functionality, and help decide if they suit your requirements.
            • Runs the filter engine
            • Renders an error
            • Returns true if the exception is an unhandled request exception
            • Returns the response body
            • Capture a buffered response chain
            • Returns a print writer for the servlet response
            • Sets the response body
            • Set the HTTP status code
            Get all kandi verified functions for this library.

            springojs Key Features

            No Key Features are available at this moment for springojs.

            springojs Examples and Code Snippets

            No Code Snippets are available at this moment for springojs.

            Community Discussions

            No Community Discussions are available at this moment for springojs.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install springojs

            You can download it from GitHub.
            You can use springojs like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the springojs component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/darrencruse/springojs.git

          • CLI

            gh repo clone darrencruse/springojs

          • sshUrl

            git@github.com:darrencruse/springojs.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Java Libraries

            CS-Notes

            by CyC2018

            JavaGuide

            by Snailclimb

            LeetCodeAnimation

            by MisterBooo

            spring-boot

            by spring-projects

            Try Top Libraries by darrencruse

            pong-world-racket

            by darrencruseJavaScript

            sugarlisp

            by darrencruseJavaScript

            ringo-microservice

            by darrencruseJavaScript

            jexi

            by darrencruseJavaScript

            sugarlisp-match

            by darrencruseJavaScript