Faster JavaScript with Category Theory
Offered By: JSConf via YouTube
Course Description
Overview
Explore how category theory can be applied to JavaScript to improve performance in this JSConf talk. Discover how building two categories and satisfying Functor laws can suggest a new architecture for jQuery, potentially speeding up client-side DOM manipulation. Learn about jQuery internals, category theory concepts like identity and composition laws, and their application to HTML and jQuery. Understand the performance benefits of this approach, including rewrapping, fusion, and simplified manipulation. No prior math knowledge is required to grasp the concepts presented. Find out about potential caveats, escape hatches, and the implications for modular development and minification in jQuery.
Syllabus
Intro
Personal Information
John Bender
Motivation
Performance
What is jQuery
jQuery Internals
jQuery Methods
Category Theory
Identity Law
Composition Law
HTML
Identity
Compose
Category jQuery
How does this work
Example
Functor
Objects
WHA
Why you care
Rewrapping
Fusion
Remove Attribute
Simplify Manipulation
Performance Benefit
Caveat
Escape Hatch
GitHub
Modular
Radical modularity
minification
Category Theory jQuery
Taught by
JSConf
Related Courses
Intro to AJAXUdacity Intro to jQuery
Udacity Introduction to jQuery
Microsoft via edX Responsive Website Basics: Code with HTML, CSS, and JavaScript
University of London International Programmes via Coursera 3D Graphics for Web Developers
Pompeu Fabra University via FutureLearn