Software:Browser Object Model

From HandWiki
Revision as of 05:35, 15 September 2022 by imported>MainEditor
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Browser Object Model (BOM) is a browser-specific convention referring to all the objects exposed by the web browser.[1] Unlike the Document Object Model, there is no standard for implementation and no strict definition, so browser vendors are free to implement the BOM in any way they wish.[2]

That which we see as a window displaying a document, the browser program sees as a hierarchical collection of objects. When the browser parses a document, it creates a collection of objects that define the document and detail how it should be displayed. The object the browser creates is known as the Document Object Model (DOM). It is part of a larger collection of objects that the browser makes use of. This collection of browser objects is collectively known as the Browser Object Model, or BOM.[3]

The top level of the hierarchy is the window object, which contains the information about the window displaying the document. Some of its fields are objects themselves that describe the document and related information.

References

  1. Zakas, Nicholas C. (2015-10-09), "The Browser Object Model" (in en), Professional Javascript® for Web Developers (Indianapolis, Indiana: Wiley Publishing, Inc.): pp. 239–269, doi:10.1002/9781118722176.ch8, ISBN 978-1-118-72217-6, https://onlinelibrary.wiley.com/doi/10.1002/9781118722176.ch8, retrieved 2022-09-10 
  2. Collins, Mark J. (2017), Collins, Mark J., ed., "Browser Environment" (in en), Pro HTML5 with CSS, JavaScript, and Multimedia: Complete Website Development and Best Practices (Berkeley, CA: Apress): pp. 307–321, doi:10.1007/978-1-4842-2463-2_16, ISBN 978-1-4842-2463-2, https://doi.org/10.1007/978-1-4842-2463-2_16, retrieved 2022-09-10 
  3. Meng, Weizhi; Katsikas, Sokratis K. (2022-01-12) (in en). Emerging Information Security and Applications: Second International Symposium, EISA 2021, Copenhagen, Denmark, November 12-13, 2021, Revised Selected Papers. Springer Nature. ISBN 978-3-030-93956-4. https://books.google.com/books?hl=en&lr=&id=JwdZEAAAQBAJ&oi=fnd&pg=PA21&dq=%22Browser+Object+model%22&ots=VpkKAhLn30&sig=0Hxi_Gi7tpTAduaqAOtAb1wPmOA#v=onepage&q&f=false.