Skip to content
This repository was archived by the owner on Mar 25, 2019. It is now read-only.
This repository was archived by the owner on Mar 25, 2019. It is now read-only.

Some thoughts for discussion... #5

@codylindley

Description

@codylindley
  1. Wouldn't this be better named h5facades, h5shield, h5glue, h5mediator, h5secure. Really anything that would help people understand that its not a polyfill and its used to abstract the underline interface not fill it so as to work in situations that the interface is not supported.
  2. The "example-driven development" should eventually be replaced with some sort of test's. And the test can be require upfront.
  3. As Nicholas points out in his article facades should include anything in the DOM or BOM, but should be very careful not to stray from the original api too far. Yes, this means that the DOM should be included here. If you think that would be too jQuery-ish just remember that jQuery is a facade, but one that concerns itself not only with abstracting the api but supporting browsers where the api is not available. In this project the facade would only be concerned with the abstraction and not bringing support to browsers that lack the api natively. All this to say, that html5 and friends includes the DOM and a good deal of API's on the document node. The more I think about it, the more I believe the reality is this project is exactly like the api abstractions found in jQuery except, h5ive is thinner and not concerned with supporting browsers that don't attempt to support the native api. I suppose, then that these thin layers could/should be used by libraries like jQuery that then decide to bring support for new api's in old browsers. Basically, the use of the code found in h5ive is valuable for library authors as well as for developers who are not concerned with bring support to older browsers but instead concerned with application code quality.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions