Giter Club home page Giter Club logo

fastjs's Introduction

  _____                 _         _   ____  
 |  ___|   __ _   ___  | |_      | | / ___| 
 | |_     / _` | / __| | __|  _  | | \___ \ 
 |  _|   | (_| | \__ \ | |_  | |_| |  ___) |
 |_|      \__,_| |___/  \__|  \___/  |____/ 
---------------------------------------------

FastJS is currently very experimental, the basic concept however is
to utilize Google's V8 JavaScript engine to serve up web pages over
the FastCGI interface.

Currently it's in a "mostly unusable" state as I've not spent the time 
to properly package libv8.a with the project, so I'm running it via the
compiled libv8.a inside of the ext/ directory (compiled against Linux 
2.6 on i586). There is one example script inside of the pages/ folder
which prints out some basic information and assembles a page (if you're
that curious as to what this currently looks like).

In addition to the basic JavaScript environment, FastJS preloads jQuery 
1.3.2 such that the $ function in the JavaScript context properly maps
to the jQuery root object.


In order to get this running, my lighttpd FastCGI configuration currently
looks something like this:

	$HTTP["host"] == "urlenco.de" {
		fastcgi.server = (
			".fjs" => ((
				"socket" => "/tmp/fcgi-fastjs",
				"bin-path" => "/home/tyler/source/github/fastjs/fastjs",
				"max-procs" => 1,
				"check-local" => "disable",
				"bin-environment" => (
				),
			)))}

	# snip
	
	index-file.names += (
		"index.html", "index.fjs"
	)
	static-file.exclude-extensions = ( ".fjs" )

fastjs's People

Stargazers

 avatar

Watchers

 avatar  avatar

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.