0.0.1 • Published 8 years ago

jshp v0.0.1

Weekly downloads
1
License
WTFPL
Repository
github
Last release
8 years ago

JSHP

JavaScript HyperText Preprocessor

Bringing the awesomeness of PHP to JavaScript since 1870

JSHP is a runtime based on Node.js to provide some of the features of PHP (or typical uses of PHP) that make web development ridiculously easy, while maintaining the decency of JavaScript and Node.js APIs. Some of these features are:

  • Direct one-to-one mapping of request paths to directory structure on filesystem
  • Abstracting away the request-response HTTP cycle
  • Abstracting away session and cookie management
  • Easy interfacing with popular databases

JSHP also directly benefits from the asynchronous nature of Node.js, and the performance of V8 - the JavaScript engine currently used by Node.js. Synchronous APIs are just emulated using coroutines with Bluebird and previously existing Promise based APIs.

JSHP is currently in alpha; a working prototype + collecting major feedback and such.