The fastest way to load pages in WordPress https://habd.as/code/hyperdrive/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Habdas a6a8a27763 refactor(package): move plugin files into ./src directory 2 years ago
bin ci(Travis): spike on integration 2 years ago
src refactor(package): move plugin files into ./src directory 2 years ago
tests refactor(package): move plugin files into ./src directory 2 years ago
.codeclimate.yml refactor(package): move plugin files into ./src directory 2 years ago
.distignore chore(distignore): udpate for plugin tests scaffold 2 years ago
.editorconfig chore(editorconfig): break convention, giving opinion 2 years ago
.gitignore chore(gitignore): add vendor dir to gitignore 2 years ago
.travis.yml ci(Travis): integrate codecoverage reporting 2 years ago
CHANGELOG.md docs: update installation info 2 years ago
LICENSE docs(license): fix licensing snafus 2 years ago
README.md style(hyperdrive.php): improve code quality 2 years ago
composer.json refactor(package): move plugin files into ./src directory 2 years ago
composer.lock ci(Travis): integrate codecoverage reporting 2 years ago
logo.png Initial commit 2 years ago
package.json docs: update installation info 2 years ago
phpcs.ruleset.xml ci(Travis): spike on integration 2 years ago
phpunit.xml.dist refactor(package): move plugin files into ./src directory 2 years ago

README.md

Hyperdrive

The fastest way to load pages in WordPress.

Hyperdrive Plugin for WordPress

Build Status Code Climate Test Coverage

Installation

Hyperdrive is available on Packagist.

  • Installing with Composer: composer require comfusion/hyperdrive

Documentation

Hyperdrive docs available online at: http://hyperdrive.habd.as/

Todo before 1.0.0 release

  • Only dequeue scripts if browser supports Fetch for backwards compatibility with older browsers
  • Integrate localization behaviors as shown here.
  • Test with a few different themes and open bugs and needed

Post 1.0.0 roadmap

  • Integrate User Interface created by @wedangsu
  • Ensure interface gives ability to defer script execution for scripts querying the DOM until after the DOM is fully parsed.
  • Give ability to perform grouping, so non-jQuery scripts can download and execute without waiting for jQuery.
  • Add ability to load icon fonts and non-critical CSS (also possible with Fetch Inject)
  • Build API enabling theme authors greater control

How it works

Hyperdrive uses a performance optimization technique known as Fetch Injection, available in browsers with support for the Fetch API. Fetch is a modern replacement for Ajax.

Contributing

Hundreds of thousands of individuals and users rely on WordPress every day to consume and share information online. For that reason Hyperdrive has strict conventions when it comes to code contributions.

And though Hyperdrive may have a high bar for quality, please don’t let that deter you from making contribution. Where possible project owners, collaborators and contributors should make every effort possible to foster the following values shared by Dave Thomas:

  • Individuals and Interactions over Processes and Tools
  • Working Software over Comprehensive Documentation
  • Customer Collaboration over Contract Negotiation, and
  • Responding to Change over Following a Plan

That said, always proceed with authenticity. :saxophone:

Issues

Hyperdrive accepts any issue. Be it gratuitously worded, devoid of information or just plain dumb: all feedback should be perceived as a gift and treated as such. No question is stupid, even the stupid ones.

Pull requests

Please open issues when creating PRs and PR against the issue to close it. This helps establish a need (the issue) and helps separate it from the implementation (the pull), resulting in more robust solutions and helps ensure ongoing code quality.

Pull requests will be statically analyzed to identify code smells and style inconsistencies, and a report generated automatically each time a change is made on a branch. See .codeclimate.yml for a listing of analysis engines and configured rulesets.

Before working on a pull please install and configure EditorConfig for your editor or IDE to help normalize your code syntax with that of the project.

License

GPL-3.0