There is a common scenario when a client retrieves data from a server using some kind of filter.
I am interested to know which .NET (Silverlight) libraries exist to help in introducing such filters. To be truly useful, a filter object model must have the following qualities:
- Being easily (de) serializable to something cross-platform like XML / JSON / plain string. For example, linq expressions are not a good example because they are not easily serializable. There are ways to convert a linq expression to XML, but I cannot call them light.
- Be easily accessible to transform the filter into something suitable for data access. For example, the ability to translate a filter into a linq expression means that it can be served in any LINQ-compatible DAL expression.
- Support incremental design and modification. Returning to linq expressions, they support incremental construction, but not modification.
- A really nice addition would be ready to port a Silverlight or HTML component based on the user interface so that the user can create such filters.
Thank.
source
share