how many instances of "t" are there in:
q: can i get a clear summary of how and when each part of a chef cookbook is loaded/executed? here's what a chef cookbook looks like:
.
├── attributes
│   ├── default.rb
│   └── bla.rb
├── files
│   ├── default
│   │   └── some_file.txt
│   └── windows
│       └── some_file.txt
├── libraries
│   ├── mylib.rb
│   └── default.rb
├── providers
│   ├── default.rb
│   └── foo.rb
├── recipes
│   ├── bar.rb
│   └── default.rb
├── resources
│   ├── default.rb
│   └── foo.rb
└── templates
    ├── default
    │   └── some_template.erb
    └── windows
        └── some_template.erb

i went through the docs, but i'm still confused about how and when each part of a chef cookbook is loaded/executed, and whether it's automatic (and if so in what order?) or on-demand.  could you please provide a summary or point to one?
i'm specifically confused about the logic for loading files under the attributes, libraries, providers, recipes and resources directories.  they all contain a default.rb file, but it seems that in some cases it's automatically loaded (for attributes, for example), and in some cases it is not (for recipes, for example).  there's a page in the doc about the order in which attribute files are loaded, but it's not clear in what order within the attributes directory.  it's not clear to me why you would want to have attribute files other than default.rb (it seems that most cookbooks only use default.rb).  what would the use-case be?
perhaps i should ask separate questions, but i thought it might be useful for other chef-newbies to have a summary here.
thanks a lot.

a: this is actually a fairly complex question and often the hardest part of chef to wrap your brain around. i found this podcast very helpful. 
http://foodfightshow.org/2013/06/episode-53-chef-internals-with-dan-deleo.html

user
There are one hundred and twenty-three "t"s.
assistant