Engineering Deep-Dive

Bit of Web Engine Capabilities

Engineered with a minimalist philosophy: zero runtime overhead, instant cold boots, and modular extensibility. Explore every core subsystem below.

1. Subsystem • DOM Template Engine

Declarative HTML Directives (data-rbow-*)

Instead of inventing esoteric DSLs or imposing heavy build transforms, BOW operates on standard HTML attributes. Our server-side recursive DOM walker transforms components in microseconds.

data-rbow-include:

Embed partial templates (navbars, cards, modals) while preserving child DOM tags.

data-rbow-inject:

Completely replace the host element with dynamically evaluated output (e.g., SEO tags, schema).

data-rbow-loop:

Iterate collections and arrays declaratively with scoped loop metadata (@loop.first, @loop.index).

layouts/default.html HTML + BOW Directives
<!-- Master Layout Template -->
<html lang="en" data-theme="dark">
  <head>
    <title>Bit of Web Engine Capabilities & Architecture | Bit of Web | Bit of Web (BOW)</title>
    <script data-rbow-inject="components/seo.php"></script>
  </head>
  <body>
    <header data-rbow-include="components/nav.html"></header>
    
    <main>
      <!-- Auto Language File Shadowing: content.en.html > content.html -->
      <div data-rbow-include="content.html"></div>
    </main>
    
    <footer data-rbow-include="components/footer.html"></footer>
  </body>
</html>
3-Tier Calendar Hierarchy Real-time API
Tier 1: Shifts Calendar
+ Working Hours
Tier 2: Private Busy Blocks
- Breaks, Vacations
Tier 3: Confirmed Bookings
- Booked slots
Result: Precise available slots computed on the fly with atomic conflict prevention.
2. Subsystem • AppointmentEngine

Zero-Database Google Calendar Engine

Eliminate external booking subscriptions. BOW communicates directly with the Google Calendar API via a secure Service Account JSON credentials file.

  • ✓ Multi-provider and "Any Provider" earliest slot aggregation
  • ✓ 1-on-1 private appointments and multi-person group workshops
  • ✓ Automatic RFC 5545 calendar invitations (.ics attachments)
  • ✓ Configurable advance notice rules and buffer intervals
3. Subsystem • Remote AI Server

Model Context Protocol (MCP) & AI Integration

Transform your website from a static showcase into an intelligent AI agent endpoint. The native MCP server allows LLM clients (Claude Desktop, Cursor, Gemini) to inspect slots, services, and trigger authorized tools.

Built-in MCP Tools:
• get_available_slots: Query open calendar slots for any date
• book_appointment: Commit a verified appointment
• get_site_services: Retrieve active catalog and pricing
• query_content: Search markdown and flat-file pages
claude_desktop_config.json Remote MCP Server
{
  "mcpServers": {
    "bitofweb": {
      "url": "https://bitofweb.com/mcp",
      "transport": "sse",
      "headers": {
        "Authorization": "Bearer bow_master_ai_key_8f7b2c91a04d"
      }
    }
  }
}

Privacy & Cookies

This website uses essential technical cookies and Google Calendar integration to ensure a seamless experience.

Preferences