JonnyBee posted on Wednesday, September 02, 2009
Hi folks,
I've just put MyCsla for 3.6.3 and never (also 3-6-3-N2) on the CslaContrib site.
http://cslacontrib.codeplex.com
The purpose is to give a combined Best Practice and extension points
where we can all contribute with utility/helper classes, validation
rules, components and more.
Best Practice
As a lot of you already has done - I have added my own baseclasses with
extension points for logging/trace and a small sample of how to
add/alter functionality without making modifications to Csla itself.
As for usage - I prefer to add this project as part of my solution as
this make it easier to extend Csla inside my app and make all my BOs
inherit from these baseclasses.
Also included are:
Validation Rules
- Generic (IComparable) rules for GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEgual that compares two property values
Custom Windows Controls
- StatusBarExtender with my implementation of wait animation and an animated splash after 2 seconds.
- SmartDateTimePicker - also accepts text input like +, -, t, y (all these texts are defines in Csla resources and translated)
- BindableRadioButtons - Radio buttons that support databind, typically for use with 2-5 items
- ErrorWarnInfoProvider - Slightly reworked version of the one already available on CslaContrib
And a sample app that demonstrates the custom windows controls.
The namespace is simply MyCsla and uses the same folder names as Csla. To download the code goto the
Source Code tab and select Download.
I am posting this message on both the Csla.Net dicussions and
CslaContrib discussion. Please post reponses concerning
code/submissions in the CslaContrib forum.
I have volunteered to step up as overall coordinator of the CslaContrip
and hope that we can tune up on more activity in this project. If you
want to share som code/classes please join codeplex and send me info
(as per home page on the project) or send me email with info about your
code and I can post it.
Pleas note: The CslaContrib project uses the
Creative Commons Attribution 2.5 license.
Hope you find this useful and want to contribute more code.
/jonnybee