← Back to team overview

phpdevshell team mailing list archive

Re: [Question #223441]: Tags Manager

 

Question #223441 on PHPDevShell changed:
https://answers.launchpad.net/phpdevshell/+question/223441

Greg proposed the following answer:
Hello and thanks for the compliment! :)

As Jason said, you can use tags to glue things together. In fact you are
totally free to use them any way you like. You can think as tags as
little paper strips you stick on an object. Each tags has a "type"
(free, up to you to decide) and "content" (also free).

Three sample cases:

 - Consider a list of students; you want to track which ones did
physically attend your class. You can create in a few minutes a
"presence list" page where you can "tag" students with a "present this
day" tag, containing the date. Then you can easily fetch the list of
student which did attend, and even group them by date. All this without
creating a database table.

- Consider a VOD site where people can buy a video. When a user makes a
purchase, you tag him with a tag of type "video purchase" containing the
reference of the video. Then it's easy to present the user the list of
his/her videos.

- Consider you're debugging a site which is production ; you want your
team to get the debug messages but not the casual users. Tag your "team"
group with a "debug" tag which will trigger the debug report only when
the tag is present.

There is even a most powerful feature: link node. You create a "base
node", which is a controller; for example a film review template
fetching data from IMDB. Then you create "link nodes" based on this
controller, and you give each of these link nodes a tag with the movie
reference. You now have a lot of nodes each with a different movie, that
you can sort as you want.

Possibilities are quite infinite.

Also note that although we provide free support here depending on our
free time, we are also available for hire ;)

greg

-- 
You received this question notification because you are a member of
PHPDevShell, which is an answer contact for PHPDevShell.