On Feb 24, 2011, at 8:47 AM, Markus Roberts wrote:

> L --
> 
>> BTW this is discussed a bit in Analysis Patterns by Martin Fowler as the 
>> operational layer and knowledge layer (where the classes are at the 
>> operational layer and the instances are the knowledge layer).
> 
> Yeah.  I like Martin's stuff in general but on this I've never found
> his distinction particularly useful.  More broadly, I think I come
> from a more code-is-math perspective and he's addressing it from a
> code-is-process perspective (IIRC).

What about the distinction in the RAL?

I think a big problem in the RAL is that Puppet::Type -> Puppet::Type::File -> 
File["/etc"] makes much less sense than Puppet::Type -> Puppet::Type.new(:file) 
and Puppet::Resource -> File["/etc"].

You can pretty easily compare these in Puppet right now - the RAL uses the 
class/subclass model, and the parser uses classes and instances 
(Puppet::Resource::Type for types, and Puppet::Resource for resources).

-- 
I am a kind of paranoiac in reverse. I suspect people of plotting
to make me happy.                     --J. D. Salinger
---------------------------------------------------------------------
Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199




-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to