[Solar-talk] Solar_Model_Areas, Solar_Model_Nodes and Solar_Model_Tags
Paul M Jones
pmjones at ciaweb.net
Tue Nov 14 14:11:06 PST 2006
Hi,
On Nov 3, 2006, at 10:14 AM, Matt M. wrote:
> OK, I want to know more about these classes, but can't find much on
> how they work. Can someone explain the idea behind these classes
> and how they work together?
>
> I'm building a very simple e-commerce package right now. Can these
> classes help me? :)
>
Probably not specifically to e-commerce. The areas/nodes/tags are
designed for general-purpose user-provided content: blog entries,
forum postings, wiki pages, user comments, etc. The "model" classes
correspond to the TableModule pattern.
You can use the tables individually if you like, but they work best
when you coordinate them. The Solar_Content_* classes coordinate
activity between the tables, and as such adhere more to the
DomainModel pattern.
"Nodes" are individual pieces of content: a single blog entry, one
comment, a top-level forum posting, a wiki page, etc.
"Tags" are tags (think "del.icio.us") on the pieces of content.
"Areas" are logical groups of nodes; think "multiple sites" that all
use the same table so they can reference each other's content.
Does that begin to help at all?
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list