Standards: Generating Subdomains

Introduction

Both commonly shared host websites, contact4bdsm.net (c4b.net or c4b) and mastersparks.net (ms.net or ms) share common architecture and structure.

  • A three panel (banner,body,footer) frame based html
  • A custom content management system (CMS)
  • Focus upon Full Screen browser viewing and keyboard keys/functions for screen navigation
  • Extensive use of Graphics & Sound to compliment content themes and topics
  • usage of reStructuredText as the standard for templating and rapid html prototyping
  • utilization of awk, sed, bash (PowerShell) to develop custom utilities and standardized infrastructure
  • provision (hooks) for future enhancement of the the Q&A theme to be replaced with WordPress
  • extensive use of Apache Server's .htacess functionality to impliment security and manage user focused views

Web Development Standards

Blah, Blah, Blah

  • Minimize manual update(s) of generated html - automate (gawk) revision of rest2html generated output
  • Standardize on common tokens/attributes/identifiers
  • Utilize global css attributes for layout specifications
  • References to graphics by http: rather then relative reference addressing
  • Standaridized metadata specification nominclature and structure
  • Resasonable On-Line Documentation & Help Facility
  • Consistent Navigation and Layout throughout
  • Utilize Javascript and libraries where benefitial
  • Use Python for programming tasks
  • Documention of the WebDev process and relationships

Program Inventory

Hmmm Use a Table with "invisible" Lines or keep Lines & Columns?

"control-skel.html":
 Defines the number of frames and their attributes.
AWKc4b.py:edit result from step 2 (pgmname.rest) with narrative subject matter text and appropriate reST directives set baseline parameters for reStructuredText (icon, margins, background, default text size) .. edit reSTstd.awk
updates-skel.awk:
 set baseline parameters for reStructuredText (icon, margins, background, default text size) .. edit reSTstd.awk
update.awk:set baseline parameters for reStructuredText (icon, margins, background, default text size) .. edit reSTstd.awk
"banner-skel.html":
 Contains the Header and
"body-skel.html":
 Contains the Topic Names and htperlinks
"footer-skel.html":
 This is the "footer" for each Menu

Directory Structure and File List

  • approach is the subdomain name within contact4bdsm.net that relates to topic: Approach and is refenced internally with id: ""
  • idenity is the subdomain name within contact4bdsm.net that relates to topic: Identity and is refenced internally with id: ""
  • guidelines is the subdomain name within contact4bdsm.net that relates to topic: Guidelines and is refenced internally with id: ""
  • security is the subdomain name within contact4bdsm.net that relates to topic: Safety & Security and is refenced internally with id: ""
  • activity is the subdomain name within contact4bdsm.net that relates to topic: Activity & Events and is refenced internally with id: ""
  • blogc4b is the subdomain name within contact4bdsm.net that relates to topic: Questions & Answers and is refenced internally with id: ""
  • links is the subdomain name within contact4bdsm.net that relates to topic: Links and is refenced internally with id: ""
  • galleria is the subdomain name within contact4bdsm.net that relates to topic: Gallery and is refenced internally with id: ""
note:the subdomain name "wpc4b" & "wpms" have been reserved for the WordPress.org software

Procedural Steps

Here follows a list

  • set baseline parameters for reStructuredText (icon, margins, background, default text size) .. edit reSTstd.awk
  • generate baseline reStructuredText (.rst) code. using programe restbaseline.bat
  • edit result from step 2 (pgmname.rest) with narrative subject matter text and appropriate reST directives
  • edit generate skeleton html (rest2html)
  • edit update.awk to specify specify domain and relevant
  • copy skeleton source and dependency related source
  • apply updates.awk to skeleton modules to complete source
  • generate all html source via rest2html
  • generate all pdf source via rest2pdf

Glossary

TBD!