Davis.js

Software Screenshot:
Davis.js
Software Details:
Version: 0.9.9
Upload Date: 13 May 15
Developer: Oliver Nightingale
Distribution Type: Freeware
Downloads: 34

Rating: 3.0/5 (Total Votes: 2)

Davis.js allow the developer to define actions to be taken when a user follows links, submits forms, or navigates with the back and forward buttons.

To route code execution, the library utilizes HTML5 history.pushState.

HTML5 pushState allows the routes to stay in place, even if JavaScript is turned off.

In modern browsers (FireFox 4+, Safari 5+, Chrome, iOS Safari 4+, Android Browser 2.2+) Davies.js works as advertised.

In older browser versions, Davis.js will not load, allowing links to behave like they would normally do.

What is new in this release:

  • Fixed an issue with the way params are encoded and decoded.

What is new in version 0.9.6:

  • Proper handling of relative paths using $.prop instead of $.attr.

What is new in version v0.9.1:

  • Fixed bug with using route level middleware with routing shortcut methods.

What is new in version v0.9.0:

  • Add support for scoped definition of routes using scope.
  • Add support for route level middleware.
  • Add support for splat params in route definition.
  • Davis.location now accepts an options param, allowing to assign/replace routes silently.
  • Changed the signature for creating Davis.Routes, can now just pass a string as the path.
  • Closer adherence to the same origin policy when binding to links and forms.
  • Fix bug where params in the request object were still URI encoded.

What is new in version v0.8.1:

  • Fixed issue with Davis.listener.
  • Moved davis.fblike and davis.mixpanel into the correct directory.

What is new in version v0.8.0:

  • Davis is no longer dependent on jQuery, can be used with any or no DOM library with the use of extensions.
  • Added Zepto extension to allow Davis to be used with Zepto.
  • More robust checking of link origins, protocols must match to be caught by Davis.
  • Added Mixpanel plugin.
  • Added Facebook Like plugin.
  • Fixed several bugs with the hashRouting extension.

What is new in version v0.7.0:

  • Refactor of internals, many components now implemented as Davis plugins, making it easier to extend the library.
  • Simplify build tools, removed dependencies on ruby and java. Now all you need is make and node.js.
  • The Davis convenience function no longer requires a config function to be passed in when creating an app.
  • The Davis convenience function auto starts the app as soon as possible.
  • Changed default setting generateRequestOnPageLoad, now it is false by default.
  • Davis.logger is now implemented as a plugin not a setting.
  • Renamed Davis.Request.prototype.asJSON to Davis.Request.prototype.toJSON.
  • Fix browser inconsistency bug where Firefox would not fire a popstate event on page load.

What is new in version v0.6.2:

  • Fix issue so that a requests' location includes any query params.

What is new in version v0.6.1:

  • Normalise node name when checking link and form origins, fixes bug when used in xhtml documents.
  • Fix issue when submitting forms with only file inputs or with no inputs.

Requirements:

  • JavaScript enabled on client side
  • jQuery 1.4.2 or higher

Similar Software

Fest
Fest

13 May 15

EasyRdf
EasyRdf

5 Jun 15

Agave.JS
Agave.JS

10 Apr 16

Detect-zoom
Detect-zoom

6 Jun 15

Other Software of Developer Oliver Nightingale

BBC
BBC

5 Jun 15

Augment.js
Augment.js

5 Jun 15

Lunr.js
Lunr.js

10 Apr 16

Comments to Davis.js

Comments not found
Add Comment
Turn on images!