The Web Platform is a Triumph of Object-Oriented Programming | That HTML Blog
https://thathtml.blog/2025/12/the-dom-is-a-triumph-of-object-oriented-programming/
It’s not just that web APIs often take advantage of OOP. They would not exist without OOP! Virtually every web API you have ever used is designed specifically within the OOP paradigm. And every entity in the lifecycle of a web page is based on objects. These objects are instances of classes and in a great many cases these classes are subclasses of other classes. This means that key functionality is spread across a class hierarchy. That isn’t a bug, it’s a feature! And this means that it’s absurd to think that to write a web app you need to reach for a “framework”. The Web Platform is a framework.
Constraint validation - HTML: HyperText Markup Language | MDN
https://developer.mozilla.org/en-US/docs/Web/HTML/Constraint_validation
The creation of web forms has always been a complex task. While marking up the form itself is easy, checking whether each field has a valid and coherent value is more difficult, and informing the user about the problem may become a headache. HTML5 introduced new mechanisms for forms: it added new semantic types for the <input> element and constraint validation to ease the work of checking the form content on the client side. Basic, usual constraints can be checked, without the need for JavaScript, by setting new attributes; more complex constraints can be tested using the Constraint Validation API.
Referencing DOM from JS: there must be a DRYer, safer way
http://blog.pamelafox.org/2013/06/referencing-dom-from-js-there-must-be.html
It bothers me when I realize that I'm relying on CSS class names in my JS
hij1nx/weld - GitHub
https://github.com/hij1nx/weld
Simple. Weld binds data to markup, and can generate markup based on your data. There's NO special syntax or data reshaping required. It works in the browser and in node.js! Weld is currently 3.66Kb uglified with no dependencies other than a valid DOM. Weld will apply values to elements the way that elements expect to have their values set.
Using SimpleXML with HTML | drewish.com
http://drewish.com/content/2007/08/using_simplexml_with_html
"PHP 5's SimpleXML module is one of the the biggest reasons to upgrade to 5. If you're parsing RSS feeds or the results of webservice requests it works beautifully and saves a ton of time. The only problem with it is that it'll only load valid XML. I banged my head against it for way to long before coming up with the following:"
rc3.org — Filtering versus conditional logic
http://rc3.org/2008/10/14/filtering-versus-conditional-logic
"What I’m wondering is why more server-side frameworks don’t have similar selector-based DOM manipulation tools built in. Wouldn’t it be cool if you could attach such filters to views on the server side and manipulate the output page before it’s presented? Why isn’t this more common?"
Home — chain.js — GitHub
http://github.com/raid-ox/chain.js/wikis
"Chain.js is a jQuery plugin, providing data-binding capability that allows you to generate web contents automatically by binding your data to html."
Ajaxian » replaceHTML for when innerHTML dogs you down
http://ajaxian.com/archives/replacehtml-for-when-innerhtml-dogs-you-down
"Steven Levithan, of RegexPal, ran into some performance issues with innerHTML due to the fact that "every keydown event potentially triggers the destruction and creation of thousands of elements" so he started to look into it."
In the Trenches: Another IE Gotcha - Dynamiclly Created Radio Buttons
http://cf-bill.blogspot.com/2006/03/another-ie-gotcha-dynamiclly-created.html
"As soon as I think I have it all worked out I bump into another oddity between Firefox and IE and handling the DOM. Specifically adding a radio button (or set of them) dynamically."
UT| Event delegation without a JavaScript library
http://usabletype.com/weblog/event-delegation-without-javascript-library
"For those of us just building a bog standard JavaScript application without one of these fancy libraries, it’s worth taking a look at how event delegation works in the real world."
elzr: HyperScript - A 16-line hack to make the JS DOM API a tad more humane.
http://elzr.com/posts/hyperscript
"HyperScript is a bizarre and quixotic attempt to write French in English; that is, HTML in Javascript."
Ajaxian » The One True Way to Open a Window in JavaScript
http://ajaxian.com/archives/the-one-true-way-to-open-a-window-in-javascript
"unobtrusively add on to an item"
jquery ^ 2
http://ejohn.org/apps/jquery2
Not the sequel to jQuery, but a Ruby-esque domain-specific language demo for constructing jQuery calls.
DOM Scripting: The Ajax/Flash continuum
http://domscripting.com/blog/display/102
"I’m talking specifically about situations where you are going to have a technological barrier to entry in any case. I’m just suggesting that Flash is a lower barrier than Ajax."
Dean Edwards: Yet Another JavaScript Library Without Documentation
http://dean.edwards.name/weblog/2007/03/yet-another
"Because this library is standards-based it means that you don’t have to learn a new API."
Peter's Blog - The window.onload problem (still)
http://peter.michaux.ca/article/553
"Separation of presentation and content has been possible for years but there is one wrinkle standing in the way of completely separating the behavior."
Boost Ajax performance using local storage
http://www.niallkennedy.com/blog/archives/2007/01/ajax-performance-local-storage.html
"Storing web application data within a local cache opens up new possibilities for a future class of web applications by storing and loading user data directly on a user's hard drive."
Event-Driven Web Application Design » Yahoo! User Interface Blog
http://yuiblog.com/blog/2007/01/17/event-plan
"You can apply the same DOM-event style logic to anything that happens within your application itself. You can plan your application that way from the outset"
W3C DOM tests - createDocumentFragment()
http://www.quirksmode.org/dom/tests/docfrag.html
"Hello I am a document fragment"
Dean Edwards: Enumerating JavaScript Objects
http://dean.edwards.name/weblog/2006/07/enum
"Enumeration lies at the heart of DOM Scripting"
subModal Javascript Windows
http://gabrito.com/files/subModal
"This is a small set of enhancements based on the original subModal with ideas taken from Lightbox Gone Wild"
Simon Willison: Javascript, the DOM and application/xhtml
http://simon.incutio.com/archive/2003/06/15/javascriptWithXML
"when dealing with XML documents Gecko needs you to use document.createElementNS in place of document.createElement when manipulating the DOM."
DOM Scripting: Easier CSS rules through DOM Scripting
http://domscripting.com/blog/display/38
"Say you want to style form fields. You probably want to apply different styles to your text inputs, your submit buttons, your checkboxes, etc. But they all share the same tag name, input, so you can't just use an element selector in your CSS."
XML.com: Design Patterns in XML Applications
http://www.xml.com/pub/a/2000/01/19/feature?page=2
"The solution that the command pattern proposes is to encapsulate the changes to the DOM into objects, command objects, each capable of doing (and undoing) a particular action."
24 ways: DOM Scripting Your Way to Better Blockquotes
http://24ways.org/advent/dom-scripting-your-way-to-better-blockquotes
"Here’s a plan for generating an attribution link for every block quote with a cite attribute"
reflection.js demo - Cow's Blog
http://cow.neondragon.net/index.php/383-Reflectionjs-Demo
"Every time it finds an image with the class reflect, it generates a new canvas element. It will do some canvas magic (scaling, cropping, gradients) and produce a reflection image. "
DOM Scripting: The innerHTML dilemma
http://domscripting.com/blog/display/35
"Using a proprietary property like innerHTML does make me feel slightly dirty."
Top 10 custom JavaScript functions of all time
http://www.dustindiaz.com/top-ten-javascript
"If there was ever a universal common.js shared among the entire develosphere, you’d fine these ten (plus one bonus) functions."
bobbyvandersluis.com | Unobtrusive Flash Objects (UFO) v1.0
http://www.bobbyvandersluis.com/ufo
"UFO is a DOM script that detects and embeds Flash objects."
Web Development Bookmarklets
http://www.squarefree.com/bookmarklets/webdevel.html#generated_source
"These bookmarklets let you see how a web page is coded without digging through the source, debug problems in web pages quickly, and experiment with CSS or JS without editing the actual page."
Collpsible page elements using DOM, cross browser and degrading gracefully
http://www.onlinetools.org/tools/domcollapse.php
I'm using something very similar to this in my feedreactor.
JavaScript - TOC script
http://www.quirksmode.org/dom/toc.html
Cool JavaScript that scans for H3 and H4 tags on a page and constructs an outline of the page in nested lists and in-page anchors.
Dynamic HTML and XML: The XMLHttpRequest Object
http://developer.apple.com/internet/webcontent/xmlhttpreq.html
Grab XML from servers on the fly, client-side