Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. A tagging system (like html), support on the model please

A tagging system (like html), support on the model please

Scheduled Pinned Locked Moved Design and Architecture
htmltutorial
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Quake2Player
    wrote on last edited by
    #1

    Hi, I'm modeling a tagging system, like my own html, for an application... and this is what I have till now: class Tag: +Tag(string) //example new Tag("<i>...</i> ... <s>...</s>") +string Name //for example "b" (for a tag which is used like <b>..</b>) +string Content //example "<i>...</i> ... <s>...</s>" +Tag[] Tags //the subtags used within the content of the tag, in the example above it would return the tags t1 and t2 (i and s) But i need more ideas before getting into the code so I dont get a headache within the process Thanks.

    Q 1 Reply Last reply
    0
    • Q Quake2Player

      Hi, I'm modeling a tagging system, like my own html, for an application... and this is what I have till now: class Tag: +Tag(string) //example new Tag("<i>...</i> ... <s>...</s>") +string Name //for example "b" (for a tag which is used like <b>..</b>) +string Content //example "<i>...</i> ... <s>...</s>" +Tag[] Tags //the subtags used within the content of the tag, in the example above it would return the tags t1 and t2 (i and s) But i need more ideas before getting into the code so I dont get a headache within the process Thanks.

      Q Offline
      Q Offline
      Quake2Player
      wrote on last edited by
      #2

      Also somehow I need to have a list of possible tags, for the parsing -private- method.. Maybe another class, TagAnalyzer?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups