GithubHelp home page GithubHelp logo

branaway / pureplay Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 105.48 MB

a Play! framework clone that does not use Groovy

License: Other

Shell 0.01% C 0.64% Scala 0.84% JavaScript 10.96% Java 17.84% Python 69.71%

pureplay's Introduction

PurePlay - a clone of the Play! Framework with the Groovy part removed, thus pure Java based. 

Objectives:

To make a faster and smaller Play clone by removing any dependencies on the Groovy language. 

Groovy is used in Play for 

# view template
# error reporting
# route table parsing

- PurePlay uses Japid as the template engine, therefore the view layer is pure Java.
- PurePlay simplifies the error reporting pages, such as the 4xx and the 5xx pages. The result is less sophisticated than the Play's error pages but is still effective.
- Removing Groovy syntax support in the route file means some fancy hack used by modules like CRUD will not work. The direct result is CRUD is not supported in PurePlay. This is a limitation one must take into account when considering using PurePlay.

PurePlay is based off the Play! 1.1 bazaar repository and is synchronized with it consistently.  


-- Bing Ran ([email protected])

History:

2011.4.10, 1.1.10
    added check for "staticRouter.enabled" in the application.conf. set it to "true"/"yes" to enable the static routing code generation.

2010.10.2, version 1.2alpha

- experiment implementation of Fast Play, a statically routed HTTP processing.
-- run NettyInvocation directly from the PlayHandler to circumvent the Invoker layer, 20-30% performance gain.
-- Special plugin StaticRouterPlugin that creates a Java class that tranlates the routing rules
in the routes files to statically linked controller action calls. The removal of the reflection based action
invocation yields 50%+ performance gain in the low level HTTP processing cycle.   
-  removed the HTTP1.1 only keep-alive constraint. HTTP1.0 Connection: keep-alive was added.
2010.8.16, version 1.1
	- initial checkin to github
2010.8.17, version 1.1
	- updated the akka module, scala module and added java sample controllers to the akka smaple app.
2010/8/23:
	1. changed the UrlEncodedParser to use "_body" as the key in the params to store the full body text, to avoid possible collision with forms.
	2. added synchronization to the instance initialization of WaitForTasksCompletion in Invoker

pureplay's People

Contributors

branaway avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pureplay's Issues

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.