Synthesizing models with classes for automating code generation
Download
1 / 31

Synthesizing models with classes for automating code generation - PowerPoint PPT Presentation


  • 88 Views
  • Uploaded on

Synthesizing models with classes for automating code generation. Cleanscape SourceMill automatic source code generator. Common software developer issues*. Time to market pressure Cross platform development Changing design requirements Shrinking budgets High cost of failure.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Synthesizing models with classes for automating code generation' - gareth-cummings


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Synthesizing models with classes for automating code generation

Synthesizing models with classes for automating code generation

Cleanscape SourceMillautomatic source code generator


Common software developer issues
Common software developer issues* generation

  • Time to market pressure

  • Cross platform development

  • Changing design requirements

  • Shrinking budgets

  • High cost of failure

* Source: Cleanscape 2001 Software Industry Survey

Cleanscape Confidential -- bd2k


Criteria for resolving common developer issues
Criteria for resolving common developer issues generation

Cleanscape Confidential -- bd2k


Solution for common developer issues
Solution for common developer issues generation

  • Automatically generate commercial-grade code from models with Cleanscape SourceMill

Cleanscape Confidential -- bd2k


Cleanscape sourcemill

Cleanscape SourceMill generation

Synthesizing Models with Classes


Synthesizing similar elements for different results
Synthesizing similar elements for different results generation

Cleanscape Confidential -- bd2k


What is cleanscape sourcemill

Classification generation

Automatic source code generation engine

Function

Automatically generates commercial-grade code for virtually any language or platform from industry-standard models defined during the design phase of a software development project

Benefits

Facilitates rapid development of software

Bridges the gap between design and coding

Continuously enhances application development productivity

Creates consistency across versions and platforms

Implements and enforces standards

Enhances the ability to rapidly develop and modify applications

What is Cleanscape SourceMill?

Cleanscape Confidential -- bd2k


What is needed to automatically generate code
What is needed to automatically generate code? generation

  • Object model

    • The “formula” for creating the code

    • High-level structure that describes part of an application.

    • Defines data objects, state transitions, process interactions, etc.

  • Template file

    • The “storehouse” of classes, or “ingredients” required by user to generate code for multiple languages and/or platforms

    • Defines a set of code patterns, which provide code fragments and algorithms needed to instantiate the object model.

  • SourceMill

    • Synthesizes Model requirements with Template’s classes

    • Automatically generates clean code for the object model based on the template file.

Cleanscape Confidential -- bd2k


Automatic code generation
Automatic code generation generation

  • Object model

    • The “Formula”. Provides SourceMill with a framework.

    • Tells what objects, or ingredients, it needs from Template, and how they should be put together.

  • Template

    • A “storehouse” of all classes available for languages and platforms defined by user.

  • Code generation engine

    • Synthesizes Model & Template by extracting from Template classes, or ingredients, defined in Model for target language and/or platform.

Cleanscape Confidential -- bd2k


Demonstration

Demonstration generation


Generating code with cleanscape sourcemill
Generating code with Cleanscape SourceMill generation

  • Define object model

    • “Formula”

  • Build template file

    • Storehouse of “Ingredients”

  • Synthesize

    • Mix

  • Code

    • Picture-perfect

Cleanscape Confidential -- bd2k


Generating code with cleanscape sourcemill1
Generating code with Cleanscape SourceMill generation

Cleanscape Confidential -- bd2k


Sourcemill interface simple powerful clean
SourceMill Interface: simple, powerful… generationclean

Let’s see how easy it is to automatically build GUI frameworks for multiple languages using the same object model

Cleanscape Confidential -- bd2k


First select an object model file
First, select an object model file generation

Cleanscape Confidential -- bd2k


First select an object model file1
First, select an object model file generation

Cleanscape Confidential -- bd2k


First select an object model file2
First, select an object model file generation

Cleanscape Confidential -- bd2k


Second select the template file
Second, select the template file generation

Cleanscape Confidential -- bd2k


Second select the template file1
Second, select the template file generation

Cleanscape Confidential -- bd2k


Third let cleanscape sourcemill generate the code
Third, let Cleanscape SourceMill generate the code… generation

Cleanscape Confidential -- bd2k


Third let cleanscape sourcemill generate the code1
Third, let Cleanscape SourceMill generate the code… generation

Cleanscape Confidential -- bd2k


Let s inspect the generated source
Let’s inspect the generated source generation

Cleanscape Confidential -- bd2k


You have generated a complete gui framework
You have generated a complete GUI framework generation

Commercial-grade code

Automatically generated

Perfectly adheres to standards

Cleanscape Confidential -- bd2k


Now compile to see your tkl tk gui
Now, compile to see your TKL/TK GUI generation

Cleanscape Confidential -- bd2k


Let s use the same object model to generate code in python
Let’s use the same object model to generate code in Python generation

Cleanscape Confidential -- bd2k


Select the python template file
Select the Python template file generation

Cleanscape Confidential -- bd2k


Let cleanscape sourcemill generate the code
Let Cleanscape SourceMill generate the code generation

Cleanscape Confidential -- bd2k


Let cleanscape sourcemill generate the code1
Let Cleanscape SourceMill generate the code generation

Cleanscape Confidential -- bd2k


Inspect the generated code
Inspect the generated code generation

Cleanscape Confidential -- bd2k


Compile to see your python gui
Compile to see your Python GUI generation

Cleanscape Confidential -- bd2k


Let s review
Let’s review generation

  • In just a few seconds, Cleanscape SourceMill just helped you:

    • Generate hundreds of lines of commercial-grade code that is consist across versions and platforms and that perfectly adheres to standards

  • Overall, Cleanscape SourceMill will help you:

    • Cut programming hours up to 70%

    • Reduce coding phase by 60%

    • Speed the entire development process by 15%

    • Reallocate up to 20% of resources to other phases or projects

    • Automatically eliminate 70% of potential source code problems

Cleanscape Confidential -- bd2k


Software Development Automation Solutions generation

Faster, Better, Smarter, Cheaper…

Cleaner.


ad