Sculpture 一个开源的优秀的代码生成工具(MDA开发模式)

Sculpture是一款开源的.NET模型驱动开发代码生成框架,适用于创建和管理.NET企业级应用。通过Sculpture,开发者可以定义应用程序组件,并将其转换为可部署组件。它支持多种技术(如NHibernate、LINQ、WCF等),并提供了一个启动向导来快速搭建项目的所有层级。

http://www.codeplex.com/Sculpture.

 

What is Sculpture?

  • Sculpture is a .NET open source Model-Driven Development code generation framework ideal for creating and managing .NET Enterprise Applications.
  • With Sculpture you can model your application components, and then transform this model to deployable components with your favorite technology.
  • Sculpture comes with a host of ready-made Molds (The word “Molds” comes from Molding) like (DAAB, NHibernate, LINQ, CSLA, WCF, ASMX, Windows forms, WPF, Silverlight, ASP.NET, & ASP.NET MVC).
  • Sculpture provides starter kit wizard enables choosing among available technologies to start your project with all layers in no time.
  • Sculpture doesn't force you to adhere to a specific architecture, it contains a guidance package for building your own Mold or customizes existing ones. If you have a custom architecture, using this guidance package you can build a custom code generator with your favorite technology.
  • Sculpture can generate any kind of text output using templates (source code, database scripts, web pages, XML, configuration files, etc.).
  • Sculpture takes you to the next level of abstraction by separating the problem from the implementation technology.
  • Sculpture takes you to the domain specific programming by adding your specifications to the model environment and the generated code.

img_1.GIF

Sculpture is divided into:

  • Sculpture Core Engine: it is a platform that hosts the molds, takes care of making all the Molds work together. It includes the model designer, mold discovery and loader, generic validation engine, generic code generation engine, command holder, and editor controls holder.
  • Mold: The primary plug-in of the Sculpture framework, with molds you can extend all the power of Sculpture to manage the model and the produced code as your needs, molds provide the ability to process model elements.

Ready-made Molds:

  • For Data Source Layer:
    • SQL Server.
  • For Data Access Layer:
    • DAAB (Data Access Application Block).
    • NHibernate.
    • LINQ to SQL.
    • CSLA framework.
  • For Service Layer:
    • Service Library.
    • ASMX (ASP.NET Web Service).
    • WCF (Windows Communication Foundation).
  • For User Interface Layer:
    • Windows Forms.
    • WPF (Windows Presentation Foundation)
    • Silverlight.
    • ASP.NET.
    • ASP.NET MVC.

img_2.GIF

Why Sculpture?

  • Sculpture does not come to the world to become another CRUD code generation tool, but the essence of it is allowing the developers to model all of the application components and rapidly get it on real application.
  • Sculpture gives you permanent preview to your application, the model can be easily updated in any application life cycle phase and see the reflections of these changes immediately.
  • The model gives you the control of tenuous details in your application, plus that you can extend it to meet your needs.
  • The pluggable environment of Sculpture enables Hugh amount of customizations. (For more information see Customize Sculpture screencast).
  • SQL Server Mold has reverse engineering engine that parses the database and translates it to model, so you can start your project from the database, additionally any updates in the database schema can reflect on the model easily without losing any metadata.
  • Unlike many other code generation engines Sculpture generates as possible simple and readable code, no complex structures, organized, tested, follows Microsoft best practice, and easy to understand and tweak code, plus giving you the pleasure when you try to write your custom code side by side the generated one. (For more information see Introduction to Sculpture screencast).
  • Sculpture provides ready-to-use Molds for common enterprise architectures (DAAB, NHibernate, LINQ, CSLA, WCF, ASMX, Windows forms, WPF, Silverlight, ASP.NET, & ASP.NET MVC).
  • Sculpture has its validation engine where the model can be validated, that will decrease the cost of fetching errors (with Molds you can write custom validations to the Model).
  • Sculpture developed by Domain-Specific Language (DSL), so:
    • It integrates with visual studio.
    • No need for any external tool.
    • Very easy to use and understand the whole development cycle.
    • Familiar by all .NET developers.
  • Sculpture is not all-or-nothing, for example you can use Sculpture to generates some html reports needed in your application.
  • Sculpture developed by professional team belongs to Dawliasoft, there will be a full support in the discussion and issue tracker, and a premium support will be available in the near future.
  • Sculpture provides a comprehensive Help (Videos & Documentation), which can be used as quick start and to get the overall structure of the framework.
【源码免费下载链接】:https://renmaiwang.cn/s/dr27a 编程环境设置如下: 1. 操作系统:Windows XP SP2 开发语言:C++ / MFC 编译环境:MS Visual C++6.0 参数配置分为三部分: - 第一参数为接收窗口大小控制,由于帧序列号采用四位编码方式,因此其设定范围限定在1至8之间。其中设置为1时将采用后退N帧的滑动窗口协议机制;当大于1时则采用选择性重传策略的滑动窗口协议。 - 第二参数为接收速率调节器,用户可在编辑框中输入定时器间隔时间值(单位:ms),例如数值表示每秒处理一个数据包的能力。特别地,设定值为1000时即意味着接收速率为每秒处理1个包。 - 第三参数为辅助定时器设置项,该参数决定了在接收到数据包后无反向流量应答的情况下,发送方需等待应答包的时间延迟(单位:ms)。 异常处理界面提供以下功能: - 用户可在此区手动输入丢失的响应帧,并以帧序列号形式填写具体内容。各参数之间使用空格分隔以便于识别和编辑。 - 当前状态显示接收窗口运行状况,包括当前接收到的数据包范围、令牌计数等关键指标信息。 - 输出界面用于实时展示接收方系统的运行情况及协议交互过程。 用户需在所有相关参数配置完毕后,点击"开始接收"按钮以进入数据接收模式。发送程序界面如图2所示,其功能分区与上文描述一致。
内容概要:本文介绍了基于dq0变换的三相串联有源电力滤波器(SAPF)的Simulink仿真模型,重点利用dq0坐标变换实现对谐波和无功电流的精确检测与补偿,提升电力系统的电能质量。文档还涵盖了中间直流环节的三相电力电子变压器(PET)建模、固定电容器与可控基于dq0变换的三相串联有源电力滤波器的Simulink模型SAPF晶闸管无功补偿装置(FCTCR)等配套设备的仿真设计,形成完整的电力系统仿真体系。此外,文中整合了多种先进仿真案例,包括基于现代智能算法的优化控制、故障诊断、路径规划及信号处理等内容,展示了MATLAB/Simulink在电力电子与电力系统领域的广泛应用能力。; 适合人群:电气工程、自动化及相关专业的研究生、科研人员及从事电力系统仿真与控制的工程技术人员;具备一定MATLAB/Simulink使用基础和电力电子背景知识的开发者;; 使用场景及目标:① 掌握dq0变换在有源滤波器中的应用原理与建模方法;② 学习SAPF系统的设计思路与仿真调试技巧;③ 借鉴文中提供的多种电力系统仿真模型与优化算法实现方案,用于科研项目或实际工程开发;④ 结合智能优化算法与深度学习技术开展电能质量治理与故障诊断研究; 阅读建议:建议读者按照文档结构循序渐进地学习,重点关注dq0变换的数学原理及其在Simulink中的模块化实现,动手搭建模型并进行参数调试。同时可参考文中提供的网盘资源获取完整代码与模型文件,结合实际需求进行二次开发与创新研究。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值