SPS Search going to the next level
CAML.NET is a codeplex based project that uses the .NET language-based tools for creating dynamic, reusable CAML query components. The toolset uses the power and flexibility of the .NET Common Language Runtime (CLR) to build CAML queries dynamically in code while preserving the syntactic structure of the native CAML language.
Published Advantages are:
- Avoids hand-editing of literal XML strings in your code.
- Eliminates query failures caused by typos and improper casing of elements and attributes.
- Each query component is processed as a separate statement with strongly-typed parameters.
- Operator and method overloading greatly simplifies the raw CAML schema.
- Enables the use of variables instead of literal text to specify query components.
- Visual Studio intellisense support while writing queries.
- Simplifies the construction of reusable CAML component libraries.
For those who use the XAML / SAML / XOML .... CAML sounds like a related "AML" language.
CAML [ Collaborative Application Markup Language ] is the XML-based language that is used to build and customize Web sites based on SharePoint ( incl MOSS / WSS ).
CAML can be used to do the following:
- Provide schema definition to the Web site provisioning system about how the site looks and acts.
- Define views and forms for data and page rendering or execution.
- Act as a rendering language that performs functions in the DLL like pulling a value from a particular field.
- Provide batch functionality for posting multiple commands to the server using protocol.