Favourites Poll Email Moderation Primer Tutorial

Favourites Poll Email Moderation Primer Tutorial

Favourites Poll Email Moderation Primer Tutorial

Any web application that asks for user input and stores it from an online user via an online webpage …

  • will need to be coded in a serverside language … check … we’ll use PHP
  • ideally should have an interim “moderation mechanism” … check … we’ll use Email (for one administration user)
  • will need a “database type of storage mechanism” to store (the) too many entries (that may happen) for localStorage or Cookies (methodologies) … check … will not use a large database product such as MySql but will use …
    1. a flat file
    2. that is readable
    3. that is ascii
    4. that doubles as webpage content (ie. takes the form of HTML) … yet …
    5. of itself, is hidden to your non-administration user … just by virtue of …
    6. residing “outside the public domain parts of the RJM Programming domain” … in …
    7. a chosen $HOME (for an RJM Programming user account) folder on the RJM Programming web server … but …
    8. an administration user can use the PHP to pull in that “outside the public domain parts of the RJM Programming domain” file content, when asked for (which we’ve decided, is any time anyone from the public accesses our “Favourites Poll”)

Yes, this is a nuance of data storage we’ve never tried before, it’s weirdness being that if that content could be expressed in a web browser address bar URL, any web browser web inspector would have a field day telling you all about it, and yet it is not accessible directly by the usual online user. We realize there is nothing to accessing the PHP to effectively access it, but that is because of a genuine interest from an interested player, and we see this as a nuanced difference in data storage, at least for us here at RJM Programming.

Perhaps you’d like to examine the PHP favourites_midair.php code for (the obviously optional) Favourites Poll and/or see the animated GIF presentation of us polling ourself to get the ball rolling!

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Tutorials and tagged , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *