发明名称 DECLARATIVE DESIGN-TIME EXPERIENCE PLATFORM FOR CODE GENERATION
摘要 The disclosure generally describes methods, software, and systems, including a method for using templates to generate application code. A selection of a template is received from an application development user interface. The template includes a declarative model file describing user interface aspects for declaring customization of applications in an implementation-independent, consistent way, independent of the selected template and a target computer. A metadata file includes information describing the template. Plural template files provide specific syntax suitable for code generation. The template is provided in the user interface using at least development environment plugins. Customization inputs associated with the template are received from the user interface. The customization inputs provide parameters used in the code-generation plugins. Application code is automatically generated for a target computer based on the selected template and the received customization inputs. The generated application code includes at least the code generated from the code-generation plugins.
申请公布号 US2016357526(A1) 申请公布日期 2016.12.08
申请号 US201514810682 申请日期 2015.07.28
申请人 SAP Portals Israel Ltd 发明人 Soffer Guy;Blank Guy;Drabkin Maxim
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项 1. A method comprising: receiving, from an application development user interface including one or more code-generation plugins, a selection of a template from plural templates, the template including: a declarative model file describing user interface aspects for declaring customization of applications in an implementation-independent, consistent way, independent of the selected template and a target computer for generated code;a metadata file including information describing the template;one or more template files providing specific syntax suitable for code generation; andcustom code hooks for user customization of the template, including containers for holding custom code provided by the user and triggers for executing the custom code when the application code is executed according to timing specified by the hooks: providing the template in the application development user interface; receiving, from the application development user interface, customization inputs associated with the template, the customization inputs providing parameters used in the code-generation plugins; and automatically generating application code for the target computer based on the selected template and the received customization inputs, the generated application code including at least the code generated from the code-generation plugins.
地址 Ra'anana IL