Systems and methods of a script generation engine
First Claim
1. A method, comprising:
- receiving, by a script generation engine of a content management system from a client device, a user-created output specification template, the content management system running on a server machine, the server machine having a processor and a non-transitory computer memory and operating on a content server platform in an enterprise computing environment, the client device communicatively connected to the content server platform and configured for accessing content managed by the content management system in the enterprise computing environment, the user-created output specification template specifying an input to a process by the script generation engine and containing an output specification of a view of a dynamic document or a software module specific to the content server platform, the script generation engine having code and algorithm required to convert the user-created output specification template into syntactically valid platform-specific script code that performs user-specified output functions;
converting, by the script generation engine of the content management system running on the server machine in performing the process with the user-created output specification template as the input to the process, the user-created output specification template into the platform-specific script code that is specific and native to the content server platform and that interfaces with features of the content server platform;
compiling, by the script generation engine of the content management system running on the server machine, the platform-specific script code to generate a compiled script object; and
storing, by the script generation engine of the content management system running on the server machine, the compiled script object containing the platform-specific script code in a memory structure;
wherein the compiled platform-specific script object stored in the memory structure is usable by the content management system to produce the view of the dynamic document or the software module specific to the content server platform as specified by the user-created output specification template without the script generation engine having to process the user-created output specification template in real time.
4 Assignments
0 Petitions
Accused Products
Abstract
A template built by a user may be converted by a Server Script Generation Engine (SSGE) into script code. In converting, the SSGE may load and parse a framework file containing static script syntax to locate insertion points, each associated with an iteration number, and may iteratively parse the template, utilizing the iteration number to resolve, in order, tags and sub-tags contained in the template. If a tag is set to respond to the iteration number, a function of the tag is invoked to process any related sub-tags and return a script associated therewith at the appropriate insertion point. The framework file (with the appropriate script code inserted) is compiled and stored in a compiled script object which can be run multiple times to perform all of the output functions expected by the user in lieu of the need to reconvert the template.
42 Citations
25 Claims
-
1. A method, comprising:
-
receiving, by a script generation engine of a content management system from a client device, a user-created output specification template, the content management system running on a server machine, the server machine having a processor and a non-transitory computer memory and operating on a content server platform in an enterprise computing environment, the client device communicatively connected to the content server platform and configured for accessing content managed by the content management system in the enterprise computing environment, the user-created output specification template specifying an input to a process by the script generation engine and containing an output specification of a view of a dynamic document or a software module specific to the content server platform, the script generation engine having code and algorithm required to convert the user-created output specification template into syntactically valid platform-specific script code that performs user-specified output functions; converting, by the script generation engine of the content management system running on the server machine in performing the process with the user-created output specification template as the input to the process, the user-created output specification template into the platform-specific script code that is specific and native to the content server platform and that interfaces with features of the content server platform; compiling, by the script generation engine of the content management system running on the server machine, the platform-specific script code to generate a compiled script object; and storing, by the script generation engine of the content management system running on the server machine, the compiled script object containing the platform-specific script code in a memory structure; wherein the compiled platform-specific script object stored in the memory structure is usable by the content management system to produce the view of the dynamic document or the software module specific to the content server platform as specified by the user-created output specification template without the script generation engine having to process the user-created output specification template in real time. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer program product comprising a non-transitory computer readable medium storing instructions translatable by a server machine to perform:
-
receiving, by a script generation engine of a content management system from a client device, a user-created output specification template, the content management system running on a server machine, the server machine having a processor and a non-transitory computer memory and operating on a content server platform in an enterprise computing environment, the client device communicatively connected to the content server platform and configured for accessing content managed by the content management system in the enterprise computing environment, the user-created output specification template specifying an input to a process by the script generation engine and containing an output specification of a view of a dynamic document or a software module specific to the content server platform, the script generation engine having code and algorithm required to convert the user-created output specification template into syntactically valid platform-specific script code that performs user-specified output functions; converting, by the script generation engine of the content management system running on the server machine in performing the process with the user-created output specification template as the input to the process, the user-created output specification template into platform-specific script code that is specific and native to the content server platform and that interfaces with features of the content server platform; compiling, by the script generation engine of the content management system running on the server machine, the platform-specific script code to generate a compiled script object; and storing, by the script generation engine of the content management system running on the server machine, the compiled script object containing the platform-specific script code in a memory structure; wherein the compiled platform-specific script object stored in the memory structure is usable by the content management system to produce the view of the dynamic document or the software module specific to the content server platform as specified by the user-created output specification template without the script generation engine having to process the user-created output specification template in real time. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A method of increased efficiency using a precompiled script, comprising:
-
converting, by a script generation engine running on a server machine operating on a content server platform in an enterprise computing environment, the server machine having a processor and a non-transitory computer memory, a user-created output specification template into a platform-specific script that is specific and native to the content server platform, the user-created output specification template containing an output specification of a view of a dynamic document or a software module specific to the content server platform, the script generation engine having code and algorithm required to convert the user-created output specification template into syntactically valid platform-specific script code that performs user-specified output functions, the converting comprising; loading a framework file containing static script syntax; parsing the static script syntax to locate insertion points, wherein each of the insertion points is associated with a predetermined iteration number; and iteratively parsing the output specification template, utilizing the predetermined iteration number associated with each of the insertion points located in the static script syntax of the framework file to ensure that tags and sub-tags in the output specification template are processed in order; compiling, by the script generation engine running on the server machine, the platform-specific script to generate a compiled script object; and storing, by the script generation engine running on the server machine, the compiled script object in a memory structure; wherein processing of the output specification template in real time is avoided by running the compiled platform-specific script object stored in the memory structure to produce the view of the dynamic document or the software module specific to the content server platform as specified by the user-created output specification template. - View Dependent Claims (22, 23, 24, 25)
-
Specification