Day 20 – Datasets and Datasources – Remembering Which To Use

I have always had a hard time remembering which to use when it comes time to query external data in my Kynetx apps.

Dataset:

I like to think of datasets as presents. “A set that can’t be changed once given”. Datasets are a one time query done in the global block of a ruleset that can’t be modified once the global block has been executed.

Datasource:

I like to remember datasources as a stream. I can query a datasource in the pre block of any rule and dynamically generate the query parameters that are used in the query. “Go to the source of the stream”.

Gratuitous day 21 Grace face

About these ads
This entry was posted in Kynetx. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s