Data binding

Topic updated 3-10-2007

One of the most important features of the GenWise ASP.NET 2.0 Templates is the simplified data object binding technique. This technique provides the GenWise Webform Designer with controls that can be dragged & dropped on a page to achieve instant data binding.

Setting up data binding when developing in Visual Studio requires a considerable amount of work, but with GenWise it becomes a snap.

The simplified data object binding technique is used to display data in grids, lists, dropdowns and treeviews, and to edit and display data in forms. The data binding code generated by GenWise binds user interface elements directly to business objects from the BO-Layer. Relations between entities are part of the implementation of these business objects, making it easy to use data from related entities in databinding tasks.

 

The data binding technique used provides an application architecture with clean separation of application layers:

Controls on ASP.NET pages are bound in a declarative way to business objects.
The business objects in the BO-Layer provide an abstract model of the entities in the database.
The NHibernate framework takes care of the mapping between the business objects and the physical backend database.

No SQL code is mixed up in the user interface code, nor in the business layer.