Top 10 Principles for Software Generation (zt)代码生成的十大原则
2009-06-26 10:29
369 查看
source: http://www.skywayperspectives.org/blog/?p=688
I thought it might be worth while to start to document Skyway’s point of view regarding enterprise software generation, and the things that we think are important in this space. Our goal is to promote an active conversation and to solicit feedback of all sorts to ensure that we are working to address those areas that the industry feels are most important to the adoption of generative techniques and ultimately the simplification of delivering enterprise software.
Our Top 10 Guiding Principles for Software Generation
Offer Incremental and Additive Approaches - Developers should be able to realize the benefits of software generation on their own terms using as much or as little of a generation system as they wish
Extensibility is Key - The generation system must be extendible, configurable, and customizable at every level
Exploit Every Asset - The possible sources of inputs to the generation should be as diverse as possible and be expandable by developers
Support Every Developer - Provide tooling options that enable the widest set of development approaches and experience levels
UML
Skyway DSL / Visual Editors
Other DSMLs (either UML-based or MOF/EMF-based)
java
Command Line Interface
Don’t Repeat ANYONE - Enforce the DRY principle by acknowledging that java code is not the only place, and often is not the first place, where the definition of software concepts may occur.
Offer Options for Post-Generation Changes - Changes to generated artifacts should be supported through a combination of:
Source Round Tripping
Intelligent Merging
User Editable Dependency Injections
Generation Componentization (Smallest possible components)
Avoid Lock-In – Generated artifacts should be indistinguishable from those that would be written by hand by a developer following best practices. Developers should be able to walk away from the Generation approach at any time.
Technology Changes as Often as the Requirements - Provide a clean translation from conceptual design to implementation remaining as permissive as possible to long term syntactical changes in the implementation language, architectural approach, and runtime framework
Generate on Demand, Automate by Request - Give developers control over when and how the generation and reverse generation processes will run (Automatically or “On Demand”)
Ex Uno Plures (Out of One, Many) - Deliver as much functionality as desired with as few inputs as required
In my next few blogs I’ll begin to add detail to these concepts and dive into the Skyway implementation a bit, where we are, and where we are going. I’d love to hear more feedback from the community about what principles you think are important. I’d also like to know what things you currently spend time on that you would like to see automated or generated in the future. In the interim, you can check out our open source project here.
UPDATE - The second installment in this series of blog posts has been published here.
I thought it might be worth while to start to document Skyway’s point of view regarding enterprise software generation, and the things that we think are important in this space. Our goal is to promote an active conversation and to solicit feedback of all sorts to ensure that we are working to address those areas that the industry feels are most important to the adoption of generative techniques and ultimately the simplification of delivering enterprise software.
Our Top 10 Guiding Principles for Software Generation
Offer Incremental and Additive Approaches - Developers should be able to realize the benefits of software generation on their own terms using as much or as little of a generation system as they wish
Extensibility is Key - The generation system must be extendible, configurable, and customizable at every level
Exploit Every Asset - The possible sources of inputs to the generation should be as diverse as possible and be expandable by developers
Support Every Developer - Provide tooling options that enable the widest set of development approaches and experience levels
UML
Skyway DSL / Visual Editors
Other DSMLs (either UML-based or MOF/EMF-based)
java
Command Line Interface
Don’t Repeat ANYONE - Enforce the DRY principle by acknowledging that java code is not the only place, and often is not the first place, where the definition of software concepts may occur.
Offer Options for Post-Generation Changes - Changes to generated artifacts should be supported through a combination of:
Source Round Tripping
Intelligent Merging
User Editable Dependency Injections
Generation Componentization (Smallest possible components)
Avoid Lock-In – Generated artifacts should be indistinguishable from those that would be written by hand by a developer following best practices. Developers should be able to walk away from the Generation approach at any time.
Technology Changes as Often as the Requirements - Provide a clean translation from conceptual design to implementation remaining as permissive as possible to long term syntactical changes in the implementation language, architectural approach, and runtime framework
Generate on Demand, Automate by Request - Give developers control over when and how the generation and reverse generation processes will run (Automatically or “On Demand”)
Ex Uno Plures (Out of One, Many) - Deliver as much functionality as desired with as few inputs as required
In my next few blogs I’ll begin to add detail to these concepts and dive into the Skyway implementation a bit, where we are, and where we are going. I’d love to hear more feedback from the community about what principles you think are important. I’d also like to know what things you currently spend time on that you would like to see automated or generated in the future. In the interim, you can check out our open source project here.
UPDATE - The second installment in this series of blog posts has been published here.
相关文章推荐
- Top 10 Things I Know for Sure-深信不疑的十大哲理
- Top 10 Algorithms for Coding Interview 面试十大算法总结
- YbSoftwareFactory 代码生成插件【七】:YbRapidSolution for WinForm 插件生成项目总体架构介绍
- mybatisGenerator 代码自动生成报错 Result Maps collection already contains value for BaseResultMap
- Top 10 Mobile Testing Tools In 2017 for Android & iOS
- 通过wsdl2java工具生成客户端段代码(wsdl2java -p cn.com.css.misps.graph.webservice.impl -d F:\src -all http://10.)
- YbSoftwareFactory 代码生成插件【二十四】:MVC中实现动态自定义路由
- Top 10 Reasons for Developers to Create Smart Clients
- 十大开发代码原则
- 十大开发代码原则
- YbSoftwareFactory 代码生成插件【十二】:超级灵活方便的应用程序设置管理API
- mybatisGenerator 代码自动生成报错 Result Maps collection already contains value for BaseResultMap
- Top 10 websites for advanced level java developer
- Top 7 tips for succeeding in a technical interview for software engineers
- YbSoftwareFactory 代码生成插件【二十三】:集成强大的公文流转系统
- mybatisGenerator 代码自动生成报错 Result Maps collection already contains value for BaseResultMap【转】
- 十大开发代码原则
- Deep Reinforcement Learning for Dialogue Generation-关于生成对话的深度强化学习
- PHP FOR MYSQL 代码生成助手(根据Mysql里的字段自动生成类文件的)
- Top-10-algorithms-for-coding-interview