pushstate-server - Static file server that works with HTML5 Pushstate.

  •        45

Static file server that works with HTML5 Pushstate. For example, the route /some/pushstate/route will return the index.html file. But, /some/static/path/logo.png will return the logo.png static file.

https://github.com/scottcorgan/pushstate-server

Dependencies:

compression : 1.7.0
connect : 3.6.2
connect-static-file : 1.2.0
minimist : 1.2.0
serve-static : 1.12.3

Tags
Implementation
License
Platform

   




Related Projects

HTML5-History-API - HTML5 History API expansion for browsers not supporting pushState, replaceState

  •    Javascript

HTML5 History API expansion for browsers not supporting pushState, replaceState

davis.js - RESTful degradable JavaScript routing using pushState

  •    Javascript

Davis.js is a small JavaScript library using HTML5 history.pushState that allows simple Sinatra style routing for your JavaScript apps. Using the history pustState and popstate events allows the links and forms in your app to have hrefs and actions that point to real end points on your server. This allows complex JavaScript apps to degrade gracefully when JavaScript is unavailable and combining this with a template system that can be used both client and server side allows for large amounts of code reuse.

pjax - Easily enable fast Ajax navigation on any website (using pushState + xhr)

  •    Javascript

. Pjax is a standalone JavaScript module that uses AJAX (XmlHttpRequest) and pushState() to deliver a fast browsing experience.

turbolinks - Turbolinks makes navigating your web application faster

  •    CoffeeScript

Turbolinks® makes navigating your web application faster. Get the performance benefits of a single-page application without the added complexity of a client-side JavaScript framework. Use HTML to render your views on the server side and link to pages as usual. When you follow a link, Turbolinks automatically fetches the page, swaps in its <body>, and merges its <head>, all without incurring the cost of a full page load. Turbolinks works in all modern desktop and mobile browsers. It depends on the HTML5 History API and Window.requestAnimationFrame. In unsupported browsers, Turbolinks gracefully degrades to standard navigation.


davis.js - RESTful degradable JavaScript routing using pushState

  •    Javascript

RESTful degradable JavaScript routing using pushState

jquery-pjax - pushState + ajax = pjax

  •    Javascript

pushState + ajax = pjax

pathjs - Simple, lightweight routing for web browsers

  •    Javascript

PathJS is a lightweight, client-side routing library that allows you to create "single page" applications using Hashbangs and/or HTML5 pushState. Any of the examples above confuse you? Read up on the details in the wiki.

backbone-query-parameters - Backbone plugin which provides query parameter support

  •    Javascript

Copy backbone.queryparams.js to your environment and include after backbone.js. Any route except those ending with a wildcard will automatically accept additional content using the '?' separator. This content is a set of key value pairs using '&' as the pair separator and '=' as the key/value separator - just like the URL query string syntax.

barba.js - Create badass, fluid and smooth transition between your website's pages.

  •    Javascript

barba.js is a small (4kb minified and gzipped), flexible and dependency free library that helps you creating fluid and smooth transitions between your website's pages. It helps reducing the delay between your pages, minimizing browser HTTP requests and enhancing your user's web experience.

react-router-component - Declarative router component for React.

  •    Javascript

React router component allows you to define routes in your React application in a declarative manner, directly as a part of your component hierarchy. Having routes defined as a part of your component hierarchy allows to dynamically reconfigure routing based on your application state. For example you can return a different set of allowed locations for anonymous and signed-in users.

server-configs-node - Express / Connect middleware for websites. Goes well with HTML5 Boilerplate.

  •    Javascript

⚠️ This module is depecrated (Express 3.x) and is being rewritten. HTML5 boilerplate (H5BP) server config for node.js.

dyson - Node server for dynamic, fake JSON.

  •    Javascript

Node server for dynamic, fake JSON. When developing client-side applications, often either static JSON files, or an actual server, backend, datastore, or API, is used. Sometimes static files are too static, and sometimes an actual server is not available, not accessible, or too tedious to set up.

appjs-deskshell - SDK to build desktop apps using HTML5/CSS/JS for frontend and server script for backend

  •    NSIS

Deskshell is a SDK that provides a shell (as in egg shell) around web applications so that they can run on the desktop. It gives you a modern HTML5 / CSS / JS frontend for your user interface, but then allows full backend functionality written in popular server scripting languages that anyone can pick up like node or php (more choices coming soon). This makes it possible to read and write directly to disk, access databases, communicate with servers and solve the task at hand. We are a very diverse community that welcomes people who have english as a second language. We are open and welcoming to new people both experienced super hackers and newbies alike. We would love this project to be your first accepted commit to an open source project. There are also many things that are not strictly coding that you can do, maybe you can write an example app, improve our documentation, answer questions on the forums or write a tutorial. Mostly just have fun making apps and when you see something that could be better have a go at improving it and then share it with the community.

lite-server - Lightweight node server

  •    Javascript

Lightweight development only node server that serves a web app, opens it in the browser, refreshes when html or javascript change, injects CSS changes using sockets, and has a fallback page when a route is not found.BrowserSync does most of what we want in a super fast lightweight development server. It serves the static content, detects changes, refreshes the browser, and offers many customizations.

node-static - rfc 2616 compliant HTTP static-file server module, with built-in caching.

  •    Javascript

node-static understands and supports conditional GET and HEAD requests. node-static was inspired by some of the other static-file serving modules out there, such as node-paperboy and antinode. This will set the Cache-Control header, telling clients to cache the file for an hour. This is the default setting.

RealtimeMultiplayerNodeJs - Realtime Mutliplayer Game Engine using Node

  •    Javascript

Realtime Mutliplayer Game Engine using Node.js / websockets for HTML5 that uses a client-server approach in which the clients send only sampled input to the server

Apache Juneau - Single cohesive framework

  •    Java

Apache Juneau is a single cohesive Java ecosystem consisting of the following parts juneau-marshall, juneau-dto, juneau-svl, juneau-config, juneau-rest-server, juneau-rest-client, juneau-microservice.

Nugget: Web Socket Server

  •    CSharp

A web socket server implemented in c#. The goal of the projects is to create an easy way to start using HTML5 web sockets in .NET web applications.