Legacy Webpage Conversion to Lightning Framework via XML Parsing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for converting webpages built on the VISUALFORCE framework to the LIGHTNING framework are inefficient and require extensive manual effort, involving complex coding and understanding of underlying business logic, due to limitations in device awareness and server-side dependency, leading to slow and error-prone processes.

Innovation Solution

A system and method that retrieves a webpage as an artifact bundle, converts it into an XML file, parses it into a hierarchical tree structure, translates XML tags into a custom big object file, and converts the code to the target framework, generating log and error files with remediation recommendations, allowing for efficient migration without relying on the web-based platform provider.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If manual conversion from VISUALFORCE framework to LIGHTNING framework is performed, then conversion accuracy can be maintained, but conversion time and complexity increase significantly

Engineering Contradiction:
Improveconversion accuracyVSAvoidconversion time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent introduces an intermediary conversion system that includes a template engine and conversion logic layer. This intermediary automatically translates VISUALFORCE framework code into LIGHTNING framework code using predefined templates and conversion rules, eliminating the need for manual rewriting while maintaining accuracy through structured transformation patterns.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The conversion system changes the parameters of the conversion process by using configurable templates and conversion rules that can be adjusted based on specific requirements. This allows the system to adapt to different conversion scenarios while maintaining precision through parameterized transformation logic rather than fixed manual processes.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If VISUALFORCE framework is used for building webpages, then server-side processing is simplified, but device awareness and responsiveness are limited

Engineering Contradiction:
Improveserver-side processing simplicityVSAvoiddevice awareness
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent segments the webpage architecture into distinct client-side and server-side components. The LIGHTNING framework components handle client-side device awareness and responsiveness, while the APEX framework continues to manage server-side processing logic. This segmentation allows each layer to optimize for its specific function without compromising the other.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The conversion introduces a new dimension of client-side processing capability by implementing LIGHTNING framework components that run in the browser. This adds device awareness and responsiveness capabilities that were absent in the purely server-side VISUALFORCE framework, while maintaining backward compatibility with existing APEX server-side logic.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Adaptability or versatility

If contemporary user-interface technologies and client-side resources are leveraged, then responsiveness and device awareness improve, but dependency on web-based platform provider increases

Engineering Contradiction:
Improvedevice awarenessVSAvoidplatform dependency
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements universal LIGHTNING framework components that can function across multiple platforms and devices. These components are designed to work within the Salesforce ecosystem while providing platform-agnostic device awareness and responsiveness capabilities, reducing dependency on provider-specific implementations.

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

4Adaptability or versatility

If APEX business logic is converted to AURA enabled classes, then compatibility with LIGHTNING framework is achieved, but conversion complexity and error-proneness increase

Engineering Contradiction:
Improveframework compatibilityVSAvoidconversion complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The conversion system creates copies of APEX business logic classes and transforms them into AURA-enabled classes using predefined conversion templates. This copying approach with automated transformation preserves the original business logic structure while adapting it to the LIGHTNING framework, reducing conversion complexity and errors compared to manual rewriting.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11003835B2System and method to convert a webpage built on a legacy framework to a webpage compatible with a target framework
Publication Date: 2021.05.11 ATOS FRANCE
  • US11003835B2 patent drawing
  • US11003835B2 patent drawing
  • US11003835B2 patent drawing

AI summary

A computerized system converts a webpage built on a legacy framework to a target framework. The system allows a user to identify and download one or more webpages for conversion. The system converts the webpage to XML and outputs in a data store, such as an XML file. The system parses and converts the XML file into big object file. The system, through conversion logic, converts the big object file into a target component market. The system then reports the conversion, including any processing logs and error files, to a user. The system report include highlighted errors from any step of the conversion along with automatically generated recommendations for error corrections.