This repository was archived by the owner on Mar 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 60
This repository was archived by the owner on Mar 25, 2019. It is now read-only.
Some thoughts for discussion... #5
Copy link
Copy link
Closed
Labels
Description
codylindley
opened on Oct 18, 2012
Issue body actions
- 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.
- The "example-driven development" should eventually be replaced with some sort of test's. And the test can be require upfront.
- 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.
Reactions are currently unavailable