您的位置:首页 > 编程语言

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

2009-02-19 09:02 881 查看
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.



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.



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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐