CodeFluent Entities Documentation
Generating
See Also Send comments on this topic.
CodeFluent Entities > Architect Guide > Generating

Glossary Item Box

CodeFluent Entities is a model driven software factory which based on a producer logic, will generate (or 'produce') platform optimized code.

Starting from a platform independent model which defines the business logic of your application, CodeFluent Entities will build a meta-model which will be translated into platform dependent code by producers. For instance, the Microsoft SQL Server Producer will produce from the meta-model all corresponding database objects: namespaces will become schemas, entities translated into tables, views into views, methods into stored procedures and so on.

By default CodeFluent Entities is shipped with a set of standard producers such as the Microsoft SQL Server Producer, the Business Object Model Producer, or the Microsoft SharePoint Producer allowing you generate the plumbing code (and even more) of all layers of your application: from the persistence to the UI. 

Nonetheless, we don't intend to replace developers, and we don't think a full enterprise-class application can be entirely generated: there will always be some very specific screen or logic that will require hand-made code. Therefore, the code focuses on recurrent, low value, but necessary needs, freeing developers so they can focus on the real part.

Finally, all generated code is fully extensible and customizable by developers.

 


 

This section contains information about producers, a fundamental concept of the CodeFluent software factory.

Although different, all producers work the same way: for each producer you plan to use, you need to declare them in your model. In this section you will learn which producers are provided, what they do and how to use them.

In This Section

 Producer Concepts

Global concepts, shared by all producers.

Persistence Producers

Microsoft SQL Server Producer

This producer produces SQL Server (2000+) scripts from a CodeFluent model. Scripts include creation and drop for tables, stored procedures, views and constraints.

Microsoft SQL Azure Producer

This producer generates and deploys SQL Azure scripts, which can be ran on a SQL Azure database or a local SQL Server instance.

Oracle Database Producer

This producer produces Oracle Server (10+) scripts from a CodeFluent model. Scripts include creation and drop for tables, stored procedures, views and constraints.

Business Producers

Business Object Model Producer

This producer generates the Business Object Model (BOM) classes.

Object Model Cache Producer

This sub producer adds caching capabilities to classes generated by the Business Object Model producer.

LINQ to SQL Producer

This sub producer adds LINQ to SQL support to the BOM.

Service Producers

Service Object Model Producer

This sub producer adds WCF capabilities to classes generated by the Business Object Model producer, and optionally creates enhanced proxy classes (the Smart Client Object Model) for easier remote access.

Web Services Producer

This producer produces ASP.NET .ASMX web services from a CodeFluent model.

Presentation Producers

Web Site Producer

This producer creates a sample web site from a CodeFluent model. This producer requires the Web Controls producer to be configured in the same project.

Microsoft Office Lists Producer

This producer produces web services for supporting the automatic list and table synchronization features of Microsoft Excel (2003+) or Microsoft Access (2007+) MOSS), from a CodeFluent model.

Microsoft SharePoint Producer

This producer creates Windows SharePoint Services (WSS) and Microsoft Office SharePoint Server (MOSS) compatible web parts from a CodeFluent model.

Miscellaneous Producers

Patch Producer

This producer basically allows developers to patch any text file by using regular expressions.

Exec Producer

Allows you to execute any command.

ADO.NET Entity Framework Producer

Produces an ADO.NET Entity Framework model (EDMX , v2.0) from your CodeFluent Entities model.

Template Producer

Allows to generate text files from templates, at production time.

Microsoft SQL Server Template Producer

Allows to generate T-SQL script files from templates, and run them at production time.

Custom Producers

Developing Custom Producers

Information on how to develop custom producers

See Also