For those of you wanting to have a code generation tool from your designed specific model, there's an open source Model-Driven Development code generation framework available for free called Sculpture.
From its official description in Codeplex:
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:
o SQL Server.
* For Data Access Layer:
o DAAB (Data Access Application Block).
o NHibernate.
o LINQ to SQL.
o CSLA framework.
* For Service Layer:
o Service Library.
o ASMX (ASP.NET Web Service).
o WCF (Windows Communication Foundation).
* For User Interface Layer:
o Windows Forms.
o WPF (Windows Presentation Foundation)
o Silverlight.
o ASP.NET.
o 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:
o It integrates with visual studio.
o No need for any external tool.
o Very easy to use and understand the whole development cycle.
o 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.
To download the tool, please click here.
No comments:
Post a Comment