Developer Notes

Temporary for Development Phase

Multilingual

The base language of the website will be English. What are the options for making accommodating other languages?

Data – Seeking knowledgeable help to implement.

This is the data that is collected and stored behind the scenes and used to populate the downloadable data files and the displayable pdf files.

Live Counters: The live counters that are maintained continuously in response to the add/remove household and add/remove organization inputs. For every country, a household counter and an organization counter.

00:01 UTC Snapshots: The snapshots of the live counters taken at the most recent 00.01 UTC. Included with the 00:01 snapshots is <All Countries: sum of the household counts>, <All Countries: sum of the organization counts>. Except for each first-of-the-month 00:01 UTC snapshot which is kept for multiple uses, the 00:01 UTC snapshot is only kept for possible recovery purposes until the next 00:01 UTC snapshot is taken.

Monthly Snapshots: For every month, the Monthly Snapshots are the first-of-the-month 00:01 UTC snapshots. All Monthly Snapshots are saved, starting with the first Monthly Snapshot and continuing into the future as long as the web site exists.

Page: GreenBetween Status – Seeking knowledgeable help to implement.

Displayable pdf Files: These pdf files are prepared ahead of time and available for display upon request. They are downloaded in the process of being displayed. The pdf files are prepared ahead of time to eliminate repetitious computing and to optimize response time.

Table of Recent Status: As described on the web page, this is a table of the most recent first-of-the month cumulative counts of households and organizations that have identified themselves on this website as a GreenBetween household or a GreenBetween organization. The table will include a line for the total of all countries, and a line for each individual country. The user will select the language to be used for the file, so there will be as many pdf files of recent status as there are languages. Show the following title in the selected language at the top of the first page: “Households and Organizations Identifying* as GreenBetween as of <first-of-month date>”. Show the following note in the selected language at the bottom of the last page: “*Identifying themselves as GreenBetween on the GreenBetween website.” Repeat column headings on each page of the multi-page table. Show at the bottom of each page in the appropriate language “<page #> of <total pages>”.

Graphs of Historical Status: There is a pdf file for Total and one for each country, except more than one for countries with multiple official non-English languages. Each pdf file plots all the applicable household counts and all the applicable organization counts from the Monthly Snapshots data. Landscape mode 8.5″ x 11″ page will be the default format. The vertical axis (count) and horizontal axis (time) will be adjusted to fit the available data. The vertical and horizontal axes shall be linear. (Keep it simple. That’s what most of the population understands.) Given that the household count might be significantly different than the organization count, use the left vertical axis for the household count and the right vertical axis for the oorganization count. Label graph clearly (title, axes, legend for households and organizations). For Total graph, label in selected language. This means there will as many Total graphs as selectable languages. For country graph, bilingual (non-English +English) labeling based on country. For countries that have more than one official non-English language, the request for the county graph will respond with a popup window with a dropdown menu for selecting the non-English language. This means for countries with more than one official non-English language there will be as many country graphs as selectable official non-English languages for that country. Show in the second line at the top of the page the following title: “Households and Ortganizations Identifying* as GreenBetween, <Country>”. If the country’s language is not English, show in the first line at the top of the page the title in the country’s (selected if applicable) non-English language. Show in the second line at the bottom of the page the following note: “*Identifying themselves as GreenBetween on the GreenBetween website.” If the country’s language is not English, show in the first line at the bottom of the page the note in the country’s (selected if applicable) non-English language.

Downloadable Data Files: These data files are prepared ahead of time and available for download upon request. Keeping things simple, we will not provide additional files. Monthly resolution is considered sufficient. The data file is prepared ahead of time to eliminate repetitious computing and to optimize response time.

CSV File of Historical Data: This file contains the data from all of the monthly snapshots. The file will be updated monthly to incorporate the new monthly snapshot. The user will select the language for the file, so there will be as many CSV files as there as there are selectable languages.

Page: Add/Remove My Organization – Seeking knowledgeable help to implement.

Note that the Add/Remove My Organization Page is almost identical to the Add/Remove My Household page.

The country dropdown menu initializes with nothing selected.

The add/remove buttons increment or decrement the appropriate country
organization count.

Success message returned: “Your organization was added/removed to/from the count for <country>.”

Error message returned: ” Operation failed: Try again after selecting a country.” or “Operation failed: Try again after completing I Am Not A Robot.” or “Operation failed: Your organization could not be removed from the count of GreenBetween organizations for <country> because the count was already at zero.”

Page: Add/Remove My Household – Seeking knowledgeable help to implement.

Note that the Add/Remove My Household Page is almost identical to the Add/Remove My Organization page.

The country dropdown menu initializes with nothing selected.

The add/remove buttons increment or decrement the appropriate county household counter.

Success message returned: “Your household was added/removed to/from the count for <country>.”

Error message returned: ” Operation failed: Try again after selecting a country.” or “Operation failed: Try again after completing I Am Not A Robot.” or “Operation failed: Your household could not be removed from the count of GreenBetween households for <country> because the count was already at zero.”

Page: Materials for Promoting GreenBetween

I picture the links on this page pointing to various files, e.g. pdf files, that are stored as part of the web site.

To accommodate the global diversity of languages pdf files may not be a good choice. Files editable with open source software may be a good choice to allow users to edit files into different languages.

Perhaps there will be subpages for different languages. Would there be a mechanism for users to save their modifications to the appropriate subpage where the modifications would be available to other users?

Page: Climate – Global Warming

I picture this as links to reputable established sites – plus a bit of intro. Leave the heavy lifting of arguing climate change to the reputable established sites. The GreenBetween site will concentrate on no heating/cooling between 13C/55F and 30C/85F.

Page: FAQ

Having a bit of trouble getting working a table of contents with links to the answers lower on the page. How to facilitate finding posts since a given date? Simply date posts? or?

FacebookTwitter InstagramYouTubeEmail
Thanks to <tbd>, the current sponsor of this website.