snippets and chunks
I scratched his head long before these terms a bit confused. I even found somewhere a definition that indicates that a chunk is nothing but a phrase, meaning "a unit consisting of a series of words all contiguous to each other and grouped around a lexical head. "
not easy. Friday, February 1, 2008
Flying Rc Helicopter Shop In Mumbai
Fortunately, I found a clearer explanation of David Mollière, active contributor to the site MODx official, who said in this thread
that:
- modules are extensions of the admin
- the plugins are php extensions can monitor system events (OnWebPageRender, OnLoginSuccessful ... etc. ...), and may act on the admin or on the frontend
- are snippets of php extensions that can be called in templates via a tag (so YES you can put php in a template, the snippets of MODx are exactly the same as the Textpattern plugin)
- the chunks are snippets of html, php excluded (exactly the same function as the forms (module) in Textpattern).
is still a bit clearer. So I think we can say that the snippets are dynamic, they attack pardce a database, while the chunks are static.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment