sadie 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +4 -1
  2. data/README +12 -10
  3. data/lib/sadie/version.rb +1 -1
  4. metadata +3 -3
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
1
  [Up to v0.0.7] getting it all working
2
2
 
3
- [0.0.8] abstracted primer types such that sadie can now use plugins. with two working plugins, IniFile and Resource, it is functionaly equivalent to v0.0.7. More to come.
3
+ [0.0.8] abstracted primer types such that sadie can now use plugins. with two working plugins, IniFile and Resource, it is functionaly equivalent to v0.0.7. More to come.
4
+ [0.0.9] primer logic bugfix, added sql and db connection primer types
5
+ [0.0.10] sql plugin handler became sql2ar to better reflect what's going on
6
+ [0.0.11] updated documentation
data/README CHANGED
@@ -1,17 +1,19 @@
1
- ==About
1
+ ==About Sadie
2
2
 
3
- Sadie is a data framework intended to ease the pain of constructing, accessing, and managing the resources required by large stores of inter-related data. It supports sessions, lazy on-demand, one-time evaluation and file-based storage/retrieval operations for resource-heavy data.
3
+ Sadie is a general-purpose data server written in Ruby and it's intended to be used by a Rubie developer to simplify access to inter-related data sets.
4
4
 
5
- It can be downloaded via its rubygems page
5
+ It is designed to provide handle-based access to data of all types, much like a simple hash. Unlike a hash, a sadie instance is created with a pathname which points to a directory of primers which tell sadie how to determine what the value of a given hash key should be, but values are not assigned until the hash keys are requested. In this way, only necessary data transformations and/or accesses are performed.
6
6
 
7
- https://rubygems.org/gems/sadie
7
+ Valid primers currently are:
8
8
 
9
- or from github:
9
+ .ini - provide access to section, key, value data in ini-style-files
10
+ .dbi.conx - simple access to database handles
11
+ .sql2ar - simple access to database data
12
+ .res, .res.rb - provides access to general-purpose, programatic manipulation of data (i.e. just use sadie instance for input and output of data)
13
+ .tmpl - simple templating engine for text-based file types
10
14
 
11
- https://github.com/FredAtLandMetrics/sadie
12
-
13
- ==Summary
15
+ It's very simple to add new primer types, so it would be simple to create primers for html, xml, csv, xls, pointers to all of the above on remote machines, or any- and everything else.
14
16
 
15
- Sadie exists to de-couple the assembling of large, related datasets from the rest of an application so that intelligent, manual optimizations become more apparent. A common usage would be to query an entire table, then, as the single query is iterated on, perform multiple, simultaneous calculations on the dataset where, in other situations, the calculations might have required multiple similar queries to the database.
17
+ At Landmetrics, we use a predecessor to Sadie to power perimetercomps[http://perimetercomps.com], producing each 50+ page report with charts, graphs and tables with only 12 queries to the database.
16
18
 
17
- In LandMetrics' perimetercomps ( http://perimetercomps.com ), a similar framework was developed such that, given just a few initial parameters, all of the information for the 50+ page report was assembled with only 12 queries and a myriad of graphs, charts and tables are constructed from the single optimized data storage mechanism.
19
+ Sadie can be downloaded via its rubygems page[https://rubygems.org/gems/sadie] or from github[https://github.com/FredAtLandMetrics/sadie].
data/lib/sadie/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # this file sets the version of the Sadie gem
3
3
 
4
4
  class Sadie
5
- VERSION = "0.0.10"
5
+ VERSION = "0.0.11"
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sadie
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 10
10
- version: 0.0.10
9
+ - 11
10
+ version: 0.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Fred McDavid