finchjs
Finch.js is a whole new take on handling routes in javascript web apps. It utilizes the natural hierarchy of routes, simplified pattern matching, and powerful parameter dependencies in order to speed up and organize web apps that rely highly on interectin
Last updated 6 years ago by thecaddy .
Original npm · Tarball · package.json
$ cnpm install finchjs 
SYNC missed versions from official npm registry.

Finch.js

Powerfully Simple Javascript Routing

Finch.js is a whole new take on handling routes in javascript web apps. It utilizes the natural hierarchy of routes, simplified pattern matching, and powerful parameter dependencies in order to speed up and organize web apps that rely highly on interecting with the browser's url.

Installation

First, Download Finch.js

Once you've gotten the files, simply include the javascript in your html <head/>> tags.

<!doctype html>
<html>
	<head>
		<script src="./scripts/finch.min.js" type="text/javascript" language="javascript"></script>
	</head>
	<body>
		... Stuff here ...
	</body>
</html>

Since Finch is a standalone library, this is all you'll need. From here, take a look at our website for more info on how to implement Finch.

Documentation

Take a look at our website for the most up-to-date documention.

Licenese

Finch is available for sue under the MIT License

TODO List

  • Splats - Sometimes we might want an undetermined number of parameters at the end of a url, splats are useful for grabbing any number of url bindings and must be the last binding in the route pattern. Example: "/home/news/:variables..."
  • pushState - Add pushstate support ot finsh so that we don't always need to rely on the hash

Current Tags

  • 0.5.14                                ...           latest (6 years ago)

1 Versions

  • 0.5.14                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (4)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |