Legacy Webpage Conversion to Lightning Framework via XML Parsing
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Device complexity
If VISUALFORCE framework is used for building webpages, then server-side processing is simplified, but device awareness and responsiveness are limited
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.
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.
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
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.
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
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.
Data Source
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.


