Form template refactoring
First Claim
Patent Images
1. A method comprising:
- receiving an alternative form component for a starting form component included in each of a set of form templates of a plurality of form templates;
based on receiving a command to update the starting form component, performing a pattern matching across the plurality of form templates to identify the set of form templates in the plurality of form templates; and
using one or more processors, refactoring each form template of the set of form templates as identified by the pattern matching, the refactoring including changing each form template of the set to reference the alternative form component instead of the starting form component.
2 Assignments
0 Petitions
Accused Products
Abstract
In some embodiments, a method includes receiving a command to update a form component within a set of one or more form templates. The method also includes receiving an alternative form component for the form component that is to be updated. The method includes performing a pattern matching across a number of form templates to identify the set of one or more form templates in the number of form templates. The method includes refactoring the set of one or more form templates. The refactoring includes changing a reference in the set of one or more form templates to reference the alternative form component.
14 Citations
21 Claims
-
1. A method comprising:
-
receiving an alternative form component for a starting form component included in each of a set of form templates of a plurality of form templates; based on receiving a command to update the starting form component, performing a pattern matching across the plurality of form templates to identify the set of form templates in the plurality of form templates; and using one or more processors, refactoring each form template of the set of form templates as identified by the pattern matching, the refactoring including changing each form template of the set to reference the alternative form component instead of the starting form component. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory machine-readable medium including instructions which when executed by a machine causes the machine to perform operations comprising:
-
receiving a command to update a starting form component with an alternative form template, the starting form template included in each of a set of form templates of a plurality of form templates, the starting form component including at least one of a subform template, a form fragment template, or a field; based on receiving the command, performing a pattern matching across the plurality of form templates to identify the set of form templates having the starting form component; and refactoring the set of form templates, the refactoring including performing an update operation across the set of form templates, the update operation being at least one of converting a subform template to a form fragment template, updating a location in a template hierarchy for the starting form component, or updating a change of a name for the starting form component. - View Dependent Claims (7, 8, 9, 10, 11)
-
-
12. An apparatus comprising:
-
a non-transitory machine-readable medium to store a plurality of form templates; and a refactor template module, implemented by a processor, coupled to the non-transitory machine-readable medium, configured to; pattern match across the plurality of form templates to identify a set of form templates in the plurality of form templates that include a form fragment template or a subform template, the form fragment template or the subform template being a starting form component of each form template of the set of form templates, each form template of the set referencing the starting form component; and to refactor each form template of the set of form templates to change each form template of the set to reference an alternative form fragment template or to replace the subform template with an alternative subform template; wherein the patter match occurs based upon receiving a command to update the form fragment template or the subform template. - View Dependent Claims (13, 14, 15)
-
-
16. An apparatus comprising:
-
a non-transitory machine-readable medium to store a plurality of form templates; and a refactor template module, implemented by a processor, coupled to the non-transitory machine-readable medium, configured to; locate a set of form templates within the plurality of form templates having a starting form component to be updated, the starting form component being a component of each form template of the set of form templates, each form template of the set referencing the form component; and refactor each form template of the set of form templates by performing an update operation across the set of form templates, wherein the update operation includes at least one of an operation to replace the starting form component with an alternative form component, an operation to convert a subform template to a form fragment template, or an operation to update a location in a template hierarchy for the form component; wherein locating the set of form components occurs based upon receiving a command to update the starting form component. - View Dependent Claims (17, 18, 19, 20, 21)
-
Specification