# US 2015/0149979 A1 · Dynamic model based software application development

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149979 A1
- Document ID: US20150149979A1
- Status: Published application
- Kind: A1
- Application number: 14/612,163
- Filed: 2015-02-02
- Published: 2015-05-28
- Earliest claimed: 2009-06-01
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: David Talby; Scott David McMaster
- Web page: https://patentgrep.com/patent/US20150149979A1

## CPC

- G06F 8/35: model driven
- G06F 8/20: Software design
- G06F 8/355: {Round-trip engineering}
- G06F 8/41: Compilation
- G06F 8/60: Software deployment
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method of dynamically generating software is provided. Applications are created in a set of workflow models which are tested in an interpretive test environment. The models are stored in a versioning repository and code generation templates created for the models. Source code is generated and compiled for the application. Modifications to the models are tested and incorporated into a modified version of the application after subsequent testing of the model and the modified, compiled application. The modified version of the application is returned to the test environment where it becomes the basis for testing future modifications.

## Claims

### Claim 1

A computer-implemented method of providing an application based on a workflow, comprising:
under control of one or more computer systems configured with executable instructions,
obtaining one or more models of a workflow;
generating source code based on the one or more models;
compiling the source code to provide compiled code;
modifying at least one of the one more models to provide at least one modified model;
reconfiguring the compiled code to provide an interpreted component to operate with the at least one modified model via interpretation and an unchanged component to operate via direct execution by a processor;
interpreting the interpreted component and the at least one modified model;
executing the unchanged component by the processor; and
providing an application including the at least one modified model.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
obtaining instructions for testing the application; and
testing the application in a testing environment based at least in part upon the instructions.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the instructions are obtained from a user.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein the instructions are obtained from a unit testing framework.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
deploying the application to a production environment.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein generating the source code includes:
obtaining one or more code generation templates based on the one or more models; and
executing a code generator using the one or more code generation templates.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein the code generation templates are obtained from a user.

### Claim 8 (depends on 6)

The computer-implemented method of claim 6, wherein the code generation templates are obtained from a template repository.

### Claim 9 (depends on 6)

The computer-implemented method of claim 6, wherein providing the application includes:
modifying the one or more code generation templates to provide one or more modified code generation templates based on the at least one modified model;
generating modified source code using the one or more modified code generation templates; and
compiling the modified source code to provide the application.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, further comprising:
providing a notification relating to the one or more modified code generation templates.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising:
storing the one or more models in a model repository including versioning information; and
storing the at least one modified model as a subsequent version of the at least one of the one or more models.

### Claim 12

A system, comprising:
a processor;
memory including instructions that, upon being executed by the processor, cause the system to:
obtain one or more models of a workflow;
generate source code based on the one or more models;
compile the source code to provide compiled code;
modify at least one of the one more models to provide at least one modified model;
reconfigure the compiled code to provide an interpreted component to operate with the at least one modified model via interpretation and an unchanged component to operate via direct execution by a processor;
interpret the interpreted component and the at least one modified model;
execute the unchanged component by the processor; and
provide an application including the at least one modified model.

### Claim 13 (depends on 12)

The system of claim 12, wherein the instructions upon being executed further cause the system to:
obtain information for testing the application; and
test the application in a testing environment based at least in part upon the information.

### Claim 14 (depends on 13)

The system of claim 13, wherein the information is obtained from at least one of a user or a unit testing framework.

### Claim 15 (depends on 12)

The system of claim 12, wherein the one or more models and the at least one modified model correspond to an interchange format.

### Claim 16 (depends on 12)

The system of claim 12, wherein the instructions upon being executed to cause the system to generate the source code include causing the system to:
obtain one or more code generation templates based on the one or more models; and
execute a code generator using the one or more code generation templates.

### Claim 17 (depends on 16)

The system of claim 16, wherein the instructions upon being executed further cause the system to:
store the one or more code generation templates in a version tracking repository.

### Claim 18

A non-transitory computer-readable storage medium including instructions that, upon being executed by a processor, cause the processor to:
obtain one or more models of a workflow;
generate source code based on the one or more models;
compile the source code to provide compiled code;
modify at least one of the one more models to provide at least one modified model;
reconfigure the compiled code to provide an interpreted component to operate with the at least one modified model via interpretation and an unchanged component to operate via direct execution by a processor;
interpret the interpreted component and the at least one modified model;
execute the unchanged component by the processor; and
provide an application including the at least one modified model.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the instructions upon being executed further cause the processor to:
obtain instructions for testing the application; and
test the application in a testing environment based at least in part upon the instructions.

### Claim 20 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the instructions upon being executed to cause the processor to provide the application include causing the processor to:
modify one or more code generation templates to provide one or more modified code generation templates based on the at least one modified model;
generate modified source code using the one or more modified code generation templates; and
compile the modified source code to provide the application.
