Notes on software and the ideas behind it

Find the meaning
behind the code.

I’m Fred Yang. I write about software—how it works, why it behaves the way it does, and the ideas that make code easier to reason about.

Open the notebook

Working notes / 2026

Recently mapped

Architecture, reactivity, and the hidden relationships that shape frontend systems.

asp.net ajax

Sys.UI.Control

Conceptually, a control differs from a behavior in the sense that instead of just providing client functionality, a control usually represents or wraps the element, to provide additional properties and methods that extend its...
Follow the thread
asp.net ajax

Sys.UI.Behavior

Type.registerNamespace('Samples'); Samples.EmptyBehavior = function(element) { Samples.EmptyBehavior.initializeBase(this, [element]); } Samples.EmptyBehavior.prototype = { initialize : function() { Samples.EmptyBehavior.callBaseMethod(this, 'initialize'); }, dispose : function() { Samples.EmptyBehavior.callBaseMethod(this, 'dispose'); } } Samples.EmptyBehavior.registerClass('Samples.EmptyBehavior', Sys.UI.Behavior);
Follow the thread
asp.net ajax

expose event in asp.net ajax

Create a method that adds an event handler. Create a method that removes an event handler. Create a method that is responsible for raising the event.
Follow the thread
asp.net ajax

cancel request vs abort reqeust

In asp.net ajax framework, you can cancel request before the request is submitted to the server, you can aborted the request after the request is submitted to the server and before the response is...
Follow the thread
xslt

xsl:sort

Normally, this element used with for-each and apply-templates
Follow the thread