Markup Procedural Language Integration for Dynamic Tag Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing programming environments that combine markup and procedural languages are limited in capability, with static tag structures and shallow object mappings, making them inconvenient for both beginners and experienced programmers, especially in creating dynamically generated web pages.

Innovation Solution

A programming paradigm that integrates markup language constructs with procedural programming language constructs, allowing for dynamic processing of tags that can invoke functions or instantiate classes, with a compiler generating intermediate code that executes in a runtime environment, enabling recursive processing and deep integration of markup and procedural language features.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If markup language is used for programming, then ease of operation is improved, but functionality is limited

Engineering Contradiction:
Improveease of learningVSAvoidfunctionality
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent merges markup language syntax with procedural programming capabilities by allowing tag bodies to contain executable code blocks. This integration enables the markup language to maintain its user-friendly syntax while incorporating the computational power of procedural languages, thus resolving the contradiction between ease of operation and functionality.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The invention creates a universal programming language that can serve multiple purposes: it functions as a declarative markup language for structure and presentation, while simultaneously providing imperative programming capabilities for complex logic and computation. This multi-functionality allows the same language to cater to both beginners and experienced programmers.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If procedural language is used for programming, then functionality is improved, but ease of operation deteriorates

Engineering Contradiction:
ImprovefunctionalityVSAvoidease of learning
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The patent applies local quality by allowing different parts of the program to have different characteristics. Simple structures use declarative markup syntax for ease of writing, while complex computational tasks use procedural code blocks within tag bodies. This localized approach to language style resolves the contradiction by providing procedural power only where needed.

Inventive Principle:
Principle #3Local quality

3Ease of operation

If tag structures are static, then ease of operation is improved, but adaptability deteriorates

Engineering Contradiction:
ImproveusabilityVSAvoiddynamic processing capability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The invention introduces dynamics to tag structures by enabling them to be processed recursively and modified during execution. Tags can contain code blocks that dynamically generate or modify other tags, allowing the structure to adapt and change based on runtime conditions while maintaining the familiar markup syntax.

Inventive Principle:
Principle #15Dynamics

4Ease of operation

If tag object mappings are shallow, then ease of operation is improved, but functionality deteriorates

Engineering Contradiction:
ImprovesimplicityVSAvoidobject mapping capability
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The patent implements nested doll by allowing tags to contain code blocks that can instantiate objects and access their properties. This nested structure enables deep object mapping where markup tags can reference and manipulate complex object hierarchies through embedded procedural code, resolving the contradiction between simplicity and functionality.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS9886518B1Deep integration of programming language and markup language constructs
Publication Date: 2018.02.06 MYEZAPP
  • US9886518B1 patent drawing
  • US9886518B1 patent drawing
  • US9886518B1 patent drawing

AI summary

Disclosed is a programming paradigm that integrates programming language constructs with markup language constructs in a document. Processing of the body of a tag in the markup language constructs produces output. A function or method associated with the tag may be invoked, including providing as input to the function or method the output from tag processing the body of the first tag.