Cooperstorz.com is a web hosting service in which all websites are written in Cooperscript and Coopertags. Cooperscript is an open source Python dialect which is used for both client-side and server-side program logic. Coopertags is a simplified form of HTML. One of the target markets consists of small retailers like my friend's perfume store, which faces stiff competition from Amazon and Shoppers Drug Mart. Every website is eligible for a free subdomain, such as mysite.cstorz.com. Backup project: Cooprzone.
Business Model
All customers pay a minimum amount for each website hosted by Cooperstorz, equal to $20/year. For billing purposes, the amount M of monthly web hosting resources used by each website is calculated as the product of node-count (no. of nodes created) and kilobytes of bandwidth. A node is a 12-byte unit of RAM which is used by Cooperscript as a basic unit of memory. Those websites in which M is in the top 95th percentile pay $20/month. Those websites in which M is in the top half of the top 99th percentile pay $100/month, and they may be subject to throttling in case of excessively large M values.
Monthly Revenue
For every 2000 websites, 10 are in the top half of the top 99th percentile, multiplied by 100 equals $1000. In the next tier, 90 are in the top 95th percentile, multiplied by 20 equals $1800. In the bottom tier, 1900 sites multiplied by 20 equals $38,000/year or $3170/month. So the total monthly revenue is 1000 + 1800 + 3170 which is almost $6000/month.
Scalability
The Cooperscript compiler and SDK, which includes the code editor and other tools, are both open source. The Javascript-based client-side functionality of Cooperscript is also open source. Most of the Cooperstorz website, including the functionality which supports massive scalability, is closed source. This technology is licensed to third parties which provide external Cooperscript-based web hosting. The licensees pay fees in proportion to the amount of web hosting resources used by their customers, as measured by multiplying node counts and kilobytes of bandwidth, summed up for all end-users.
Static HTML
Every website has an unlimited no. of static HTML web pages which contain no Javascript, and each of those web pages has a CSZ logo (red text, white background) at the upper left-hand corner. Clicking on that logo takes the user to a Coopertags web page. The CSZ logo is a continuous squiggle, similar to the CN railway company logo (Canadian National).
Monospace Mode
Monospace and rich-text modes pertain to websites created using Cooperscript and Coopertags. In monospace mode, all body text rendered to the screens of end-users is in a mono-spaced, typewriter-style font. Every character takes up 2 square cells: an upper cell and a lower cell. Superscripts and subscripts are handled by employing a vertical offset of one square cell. Header text is also mono-spaced, and each character takes up 2 oversized square cells.
Additional Formatting
The grid of characters can be subdivided into panels, which can themselves be subdivided into more panels, and so on. Any panel can contain zero or more text boxes, which may overlap each other. Vertical grid lines each take up one square cell per row of square cells. Horizontal grid lines are displayed in the same pixel row as underscore characters. Any row of square cells containing a horizontal grid line which is 2 pixels wide is taller by exactly one pixel. The following bracket characters: ( ) [ ] { } can be oriented vertically or horizontally, taking up a single column or row of at least 2 square cells, respectively. Widgets such as check boxes, radio buttons, and combo box arrows take up 4 square cells (2 by 2). Images, animations, and diagrams are contained in canvas objects, which can appear anywhere panels can appear.
Rich-Text Mode
In rich-text mode, a given header or paragraph of body text can consist of a single variable-width font. Paragraphs have before/after spacing, left/right indent, and line spacing (single, double, 1.5, etc.). Panels have margins on all 4 sides. In both rich-text and monospace modes, text is rendered to the HTML5 canvas object. Some features like form fields and submit buttons use hidden HTML. In case rich-text mode doesn't work very well, Cooperstorz will be abandoned and the backup project, Cooprzone, will be reactivated. Cooprzone.org is a website linking volunteer tutors with people who belong to marginalized groups and wish to learn coding skills.