En algunas ocasiones he posteado informacion relacionada con NHibernate el cual puede ser usado como apoyo para crear las capas de Data Services y facilitar la manipulacion y traduccion de los objetos de una aplicacion y su base de datos, en esta ocasion adicionalmente me gustaria mostrar tambien una forma rapida y muy eficiente de crear algunos metodos de validacion y manipulacion de los objetos en la capa de negocios a traves de NhbBusiness que es una framework orientado a complementar las operaciones de NHibernate, NHbbusiness lo pueden encontrar en el sitio de codeplex y aunque no existen muchos ejemplos de como usar el framework les puedo asegurar que es completamente intuitivo y una vez que lo usen seguramente querran implementarlo en alguna de sus soluciones, adicionalmente el ejemplo que les hago llegar contiene una implementacion basica de un MVC llamado 'Ingenious' para una pequeña aplicacion de registro de usuarios.

Espero que este ejemplo les sea de utilidad, no duden en hacerme llegar sus comentarios y dudas acerca de este ejemplo.

Ingenious : http://www.theserverside.net/news/thread.tss?thread_id=40102 , http://sourceforge.net/projects/ingeniousmvc

NHibernate: http://www.hibernate.org/343.html , http://sourceforge.net/projects/nhibernate

NHbBusiness: http://www.codeplex.com/nhbbusiness

UserAccess_.zip (1.54 mb)

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

During lasts weeks we've been planning the adoption of an MVC inplementation for some of our apps, I've worked with some that are commonly used [Maverick, UIPAB, CAB], but since some of our techical goals are not completely covered by any of these, we were in the need to find something more suitable, first of all and since my particular point of view, Maverick implementation is kind of weird an not practical since you have to make many set up tasks before you can use it to loosely couple your User services with your business logic, in other words ... to much effort for poor functionality, in the other hand our apps needed some kind of task persistance wich is not provided by Maverick.

Said that ... UIPAB seemed like a good option, since it is easy to implement for ASP NET apps and it also provides a persistance management mechanism for user tasks, however this implementation is not up to date (last released was for VS 2005), it seems like Microsoft Apps Blocks team abandoned this block in search for a better implemetation with MVP pattern and, as I remember the last release had some issues, especially talking about open navigator which in these case would be necesary, in that time I remember John Nelson had to develop a custom navigator to cover the graph navigator provided by UIPAB.

CAB [Composite UI App Block] is also a good option that also has support for WF, tought, at this moment it only supports implementation for windows apps and not for ASP.NET, it is planned a release of a version for ASP.NET, but in the meantime we needed a solution for ASP.NET.

In the other hand we could also consider WF to provide our app with process workflows, but in these case we see a potential risk, altough we have a working knowledge on this matter as it is a new Microsoft technology which could take us some time to implement in the app.

Searching on the web we found 'Ingenious MVC' that is the target of this post series, in the next post I'll talk about some of the caracteristics we found attractive over the implementations I already mentioned, further posts will be focused on how we develop some changes for Ingenious and implement it in a real world app to support plain vanilla workflows.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

IT Builder

Conoce mas de los servicios de IT Builder y la forma en la que podemos apoyarte a construir software de clase mundial

* Procesos para el desarrollo de software (CMMI, MSF, TSP, PSP, Moprosoft).
* Habilitacion de ambientes colaborativos y automatizacion con Visual Studio Team System.
* Arquitectura de aplicaciones bajo tecnologia Microsoft.
* Construccion de aplicaciones .NET.

www.itbuilder.com.mx
Imaginalo, nosotros lo construimos !

Calendar

«  September 2010  »
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910
View posts in large calendar

MVP

MVP Factor


Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2010 ITB - Gabriel Oliva C.