Welcome Guest, you are in: Namespace

The objectives of Saltie, general description, a bit of history and where it's going

Who or What is Saltie?

Saltie is a Class Library initially released in Sueetie 2.0. It's a mini-Sueetie framework in a sense, containing a Configuration, Context and other basic Sueetie components that you can tailor for your site needs. It also uses an Event model so that you can write your own custom actions based on triggers, like when a new site member account is created or a blog comment entered.

A Saltie First Look

Here's a look at the Saltie Project Library. You'll notice it contains base Sueetie Framework components like Configuration, Context, Custom Urls support (SaltieUrls), its own data provider, and more. The design intention of the Saltie Class Library is that it contains all of the essentials of the Sueetie Framework, or a framework within a framework. Saltie uses all of the same patterns as Sueetie, so knowledge of the framework (as well as code generation templates) can be leveraged in customizing your community.

Image

The Sueetie Event Model

Sueetie is designed to use Saltie for handling custom events. A basic customization requirement is to add custom properties and actions on the creation of a new user account. Below is Sueetie Event Triggering Code in the User Registration process. Two events are passed to Saltie, one on pre-authorization and a second when the user is authorized, passing the new SueetieUser object for performing custom actions in Saltie.

Here is the simple Sueetie Event Trigger Code.

Image

The SaltieUserEvents class then performs the custom actions. Here is a stripped-down version of that class file.

Image

Enabling Sueetie Events

Sueetie Events are enabled and disabled in the Saltie.Config file located in /util/config along with the rest of the Sueetie Configuration files.

Image

Wiring up Saltie

Adding Saltie to your Sueetie Site is as easy as adding the SQL Connection String to the Sueetie.Config Providers region.

Image

The Future of Saltie

When Sueetie Framework is running .NET 4.0 we may modify or extend the triggering model. What changes will be made at that time will be determined in part by feedback from the Sueetie development community.

ScrewTurn Wiki version 3.0.4.560.

Get in Touch

Dave Burke

Don't hesitate to contact Dave Burke with any questions about Sueetie or to consult with you about Sueetie Custom Community Development.

phone: (802) 343-1111
Copyright © 2008-2011 Sueetie LLC. All rights reserved.