Author: admin_alwaysvw

  • Table Test 5 – Hybrid Block (SSR, DOM, JS)

    Row 1 Col 1 Row 1 Col 2 Row 1 Col 3
    Row 2 Col 1 Row 2 Col 2

    Purpose:

    Validate data passing from PHP to DOM to JS

    Expected Behavior

    • PHP embeds JSON in ‘data-*” attribute
    • JS reads it and uses it
    • Editor and frontend behave identically

    Block Requirements:

    • render.php outputs ‘date -config=’ {“foo”:”bar”}’
    • JS reads ‘dataset.config’
    • JS logs or displays value

    Pass/Fail Criteria:

    • Editor shows correct data
    • Frontend shows correct data
    • No hydration mismatch

    Results:

  • Table Test 4 – SSR plus JS

    SSR Hybrid Block Test (SSR plus JS)
    Column A Column B Column C
    A1 B1 C1
    A2 B2 C2
    A3 B3 C3

    Purpose:

    Hybrid Block (SSR, JS, No Data)

    Expected Behavior

    • PHP outputs HTML
    • JS attaches behavior (e.g. click handler)
    • Editor loads both PHP preview and JS
    • Frontend loads both

    Block Requirements:

    • render.php outputs stable DOM
    • JS finds DOM node and attaches behavior
    • No data attributes yet

    Pass/Fail Criteria:

    • Editor preview shows PHP HTML
    • JS behavior works in the editor
    • JS behavior works on frontend

    Results:

    • 6/18/26: ?? with Test 4 scaffolder baseline

  • Table Test 2 – CSR Block (JS, no PHP)

    Col ACol BCol C
    A1B1C1
    A2B2C2

    Purpose:

    Validate JS asset loading and editor/frontend JS execution

    Expected Behavior

    • Appears in inserter
    • Editor loads in ‘editorScript’
    • Frontend loads ‘script’
    • JS modifies DOM or displays dynamic content
    • no PHP involved

    Block Requirements:

    • block.json with ‘editorScript’ and ‘script’
    • save() returns minimal HTML container
    • JS writes content into container

    Pass/Fail Criteria:

    • Editor shows JS-generated content
    • Frontend shows JS-generated content

    Results:

    • 6/18/26: Passes with Test 4 scaffolder baseline

  • Table Test 3 – SSR

    Purpose:

    Validate server-side rendering and editor placeholder behavior

    Expected Behavior

    • Appears in inserter
    • Editor shows placeholder or static preview
    • Frontend renders HTML from render.php
    • No JS loaded

    Block Requirements:

    • block.json with render: file:./render.php
    • render.php outputs static HTML
    • No JS files

    Pass/Fail Criteria:

    • Editor inserts block
    • Editor shows placeholder
    • Frontend shows PHP output

    Results:

    • 6/18/26: Passes somewhat with Test 4 scaffolder baseline

  • Table Test 1 – Static Block (No JS, no PHP)

    Col ACol BCol C
    A1B1C1
    A2B2C2

    Purpose:

    Validate baseline block registration and static HTML save.

    Expected Behavior

    • Appears in inserter
    • Can be inserted
    • Can be Saved
    • Renders static HTML on the front end
    • No JS or PHP executed.

    Block Requirements:

    • block.json with save() returning static HTML
    • No render.php
    • No JS files

    Pass/Fail Criteria:

    • Block appears in editor
    • Block Saves without error
    • Front end shows expected HTML

    Results:

    • 6/18/26: Passes with Test 4 scaffolder baseline

  • Hello world!

    Welcome to Always VW Sites. This is your first post. Edit or delete it, then start writing!