The Power of Quads To Generate a Web Form

This is all it took ...
____________________

To generate the following web form ...

_________________________

I guess i'm pretty happy with the power of Quads !


Tags

  1. quads
  2. dev
  3. tagtalking.net

Comments


Seth says
Wow! I'm so totally tempted to take the styles out of hard coding.  It's really easy to do ...
source: hard coded and not chageable by the user it looks like
    <style type="text/css">
    body     {margin: 0em;
        font-family: "Comic Sans MS";
        color: rgb(57, 38, 223);
        background-color: rgb(160, 212, 255);
        color: rgb(57, 38, 223);}
    .header    {border-style: groove;
        border-width: 1em;
        border-color: blue;
        font-size: 150%;
        margin: 4%;
        text-align: center;
        padding: 1%;}
    .trailer{text-align: center;
        border-style: solid;
        border-width: 3px;
        border-color: green;
        font-size: 130%;
        margin: 2%;
        margin-left: 10%;
        margin-right: 10%;
        padding: 1%;}
    </style>

... this becomes the following quads. 
____________________________________

The good news is that now it can be changed by the Quad user and not a line of coding needs to be changed by the webmaster.

Seth says
M 2009-12-03 09:08:13 12961
Why is this any more powerful than PHP on Rails, or Ruby on Rails or Grails or those frameworks that are driven off of other scripting languages like even Python? 4-element web pages notwithstanding, can you combine elements from different contexts on the same or different quad databases & do something more complex?
Well you mentioned several general purpose programing languages or systems; but these Quads are not a programming system.  It is a data structure for representing things that can change during the life time of a system.  As such it is orthogonal to PHP, or Rails.   In this item i have used it to specify all the data necessary to generate a web form.  I programmed the web page in PHP which extracts its specifications from the data structure, which in the end is just a MySql database table.  Obviously i can put as many elements on a complex page as i want and change them whenever i want.  Perhaps i can even construct a system where a blind person could go make their own form to describe the media that they want to project into the podisphere.  This is just data driven design.  I've used it so often that i'm getting good at it ... this being just my latest gyration.

Seth says
Total coding necessary for taking styles out of Quads ...
source: my coding

... during retrieval of quads

        case "style":
            $styles .= sprintf(".%s{%s}",$r['verb'],$r['object']);
            break;

... and then in the document

    <style type="text/css">
    <?php echo $styles ?>   
    </style>

Btw there is a bug in picture of my quads coding above ... LOL see if you can find it.

See Also

  1. Thought Getting a new emoticon at fastblogit with 55 viewings related by tag "dev".
  2. Thought An Event is something that the news reports on with 42 viewings related by tag "quads".
  3. Thought Thinking Domain Quads with 13 viewings related by tag "quads".
  4. Thought Automating Selling on Amazon with 8 viewings related by tag "dev".
  5. Thought about: Open Mic with 6 viewings related by tag "tagtalking.net".
  6. Thought Why quads? Quads vs RDF with 6 viewings related by tag "quads".
  7. Thought The Mentography of Rights with 6 viewings related by tag "quads".
  8. Thought The CSS font-size statement does not work on the MacAir in Chrome with 4 viewings related by tag "dev".
  9. Thought Linking fastblogit tags to other sites with 4 viewings related by tag "dev".
  10. Thought Quads with 3 viewings related by tag "quads".
  11. Thought mentography of items with 3 viewings related by tag "quads".
  12. Thought A sustainable fastblogit with 3 viewings related by tag "dev".
  13. Thought Everything ? with 3 viewings related by tag "quads".
  14. Thought about: Testing Spin To Win with 2 viewings related by tag "dev".
  15. Thought Google SEO for speaktomecatalog.com with 1 viewings related by tag "dev".
  16. Thought upload from computer to cartoon stopped working with 1 viewings related by tag "dev".
  17. Thought SQL for selecting triples inside of one field. with 1 viewings related by tag "dev".
  18. Thought A Gremlin on your items ? with 1 viewings related by tag "dev".
  19. Thought [title (18144)] with 1 viewings related by tag "dev".
  20. Thought items vs quads gives us forms with 0 viewings related by tag "quads".
  21. Thought Simplifying URLs with 0 viewings related by tag "dev".
  22. Thought Repeating Quads Structure on tagtalking dev blog with 0 viewings related by tag "dev".
  23. Thought dynamic cartoons with 0 viewings related by tag "dev".
  24. Thought Replacing live search with 0 viewings related by tag "dev".
  25. Thought Building stufftalks.com with 0 viewings related by tag "dev".
  26. Thought tagtalking feeds with 0 viewings related by tag "tagtalking.net".
  27. Thought form vs data with 0 viewings related by tag "quads".
  28. Thought Rooms and People ... Tags and Names with 0 viewings related by tag "tagtalking.net".
  29. Thought Revision of our catalog request form with 0 viewings related by tag "dev".
  30. Thought Follow dev here with 0 viewings related by tag "dev".
  31. Thought quads table in the database with 0 viewings related by tag "quads".
  32. Thought Eliminating the large shopping cart ...... with 0 viewings related by tag "dev".
  33. Thought Making Cool URLs with 0 viewings related by tag "dev".
  34. Thought [title (18273)] with 0 viewings related by tag "dev".
  35. Thought about: Seasons Greetings for Everyone with 0 viewings related by tag "tagtalking.net".
  36. Thought about: Development at tagtalking with 0 viewings related by tag "dev".
  37. Thought Quads Factoring with 0 viewings related by tag "quads".
  38. Thought The server crashed with 0 viewings related by tag "dev".
  39. Thought Showing a YouTube video demo at speaktomecatalog.com with 0 viewings related by tag "dev".
  40. Thought about: five years, building a culture, and handing it off. - laughing meme with 0 viewings related by tag "dev".
  41. Thought about: tvos for developers - apple developer with 0 viewings related by tag "dev".
  42. Thought Permalinks now have a facebook share button on them. with 0 viewings related by tag "dev".
  43. Thought about: d&#039;artagnan&#039;s code - code and plugins for everyone with 0 viewings related by tag "dev".
  44. Thought about: Quick Say at tagtalking.net with 0 viewings related by tag "tagtalking.net".
  45. Thought about: Voice on the Go Inc. with 0 viewings related by tag "tagtalking.net".
  46. Thought [title (19071)] with 0 viewings related by tag "dev".
  47. Thought My Objectives for with 0 viewings related by tag "tagtalking.net".
  48. Thought Seriously considering developing tagtalking.net based upon ... with 0 viewings related by tag "dev".
  49. Thought Feedback with 0 viewings related by tag "tagtalking.net".
  50. Thought about: php html editor, rich text editor for php with 0 viewings related by tag "dev".