# How Dynamic Web Applications Use Templates to Fetch Data

> A method for web applications to use abstract templates that automatically connect to back-end databases based on the user's device or platform.

- **Patent:** US 7111231
- **Original title:** System and methodology for dynamic application environment employing runtime execution templates
- **Owner:** Intellisync LLC
- **Granted:** 2006
- **Status:** Public domain (expired)
- **Times cited:** 78
- **Field:** software, ecommerce, telecommunications

## What it does

This patent describes a system where web pages are built using 'templates' rather than hard-coded logic. These templates contain abstract references—placeholders that don't say exactly what to do, but instead point to a dictionary. When a user requests a page, a 'Template Services Module' looks up these placeholders in the dictionary to find the correct code (a run-time handler) to execute. This allows the same template to pull different data or display differently depending on whether the user is on a desktop PC, a mobile browser, or another platform, without rewriting the core application code.

## What it does NOT cover

- Does not cover static web pages that do not use abstract references or template-based dynamic generation.
- Does not cover client-side only applications that lack a back-end database or server-side run-time handler.
- Does not cover hard-coded application logic where the interface and database queries are permanently linked together.

## The clever bit

The innovation is the use of a dictionary to map abstract template references to specific run-time handlers at the moment of request, effectively creating a 'late-binding' system for web content.

## Real-world examples

1. Modern server-side rendering frameworks like Django or Ruby on Rails
2. CMS platforms that swap themes while keeping database content consistent
3. Enterprise web portals that adjust UI layouts based on user device detection

## Why it matters

This patent addresses the 'write once, run anywhere' challenge of the late 90s web. By decoupling the user interface (the template) from the data-fetching logic (the handler), it allowed developers to maintain a single codebase while supporting multiple device types and user sessions, a foundational concept for modern web frameworks.

## Frequently asked questions

### What does How Dynamic Web Applications Use Templates to Fetch Data cover?

A method for web applications to use abstract templates that automatically connect to back-end databases based on the user's device or platform.

### Who owns patent US 7111231?

Intellisync LLC owns this patent, granted in 2006.

### When does this patent expire?

This patent is expected to expire on September 19, 2026, when the invention enters the public domain.

### What is patent US 7111231 cited by?

This patent has been cited by 78 later patents that build on its ideas.

### What problem does this patent solve?

This patent addresses the 'write once, run anywhere' challenge of the late 90s web. By decoupling the user interface (the template) from the data-fetching logic (the handler), it allowed developers to maintain a single codebase while supporting multiple device types and user sessions, a foundational concept for modern web frameworks.

### What does this patent NOT cover?

Does not cover static web pages that do not use abstract references or template-based dynamic generation.

**Full plain-English explainer:** https://patentbrief.org/patent/us/7111231/microsoft-word-docx-format

**Original patent:** https://patents.google.com/patent/US7111231

---

_Source: PatentBrief — https://patentbrief.org. Patent facts are from public records; the plain-English explanation is PatentBrief's._


## Related patents

Semantically similar inventions in the PatentBrief corpus:

- [How Software Automatically Translates Database Queries for Different Storage Systems](https://patentbrief.org/patent/us/9535948/facebook-watch) — A system that intercepts database queries written for traditional relational databases and automatically translates them to work with non-relational databases, allowing developers to switch storage systems without rewriting their application code.
- [How Software Packages Create Independent Windows for Web Content](https://patentbrief.org/patent/us/9723108/facebook-portal-smart-display) — A system for creating small, independent software windows that fetch and display specific web content outside of a standard web browser.
- [How Software Automatically Collects and Organizes Data from Multiple Websites](https://patentbrief.org/patent/us/8112476/amazon-ec2-elastic-compute-cloud) — A system that automatically logs into multiple websites, pulls information, and stores it locally before you even ask for it, so it is ready to view instantly.
- [How Servers Combine Global and Local Content for Personalized Web Displays](https://patentbrief.org/patent/us/6122658/custom-localized-information-in-a-networked-server-for-display-to-an-end-user) — A 1997 Microsoft patent describing how a server can mix general content with specific local details to create a personalized experience for users based on their location or demographics.
- [How Web Browsers Create Fluid Animations Without Reloading Pages](https://patentbrief.org/patent/us/RE48596/nest-protect-smoke-co-detector) — A method for web browsers to render smooth, real-time animations by using a downloaded engine that calculates transitions on the fly instead of refreshing the entire page.
