newer megukana 🡪

    new bumblehead.com

    • bumblehead
    • /blog
    • 2017-06-08

    This site is relaunched today! It uses a unique static system developed to quickly build and customize web interfaces. I hope it runs quickly for you and is fun to use :).

    I'm not sure how focused this site will be on any one topic, but I plan to host my own web experiments here and possibly start a video blog related to software development culture.

    {
      "page" : "pgls",
      "name" : "blogslist",
      "maplist" : {
        "type" : "fn",
        "fnname" : "getchildkeys",
        "argprops" : ["/blogs/datablogs"]
      },
      "child" : [{
        "fkey" : "blogkey",
        "spec" : { 
          "type" : "local-ref",
          "path" : "../page-blogs-list-blog/"
        }
      }]
    }
    

    gani renders documents using a JSON-formatted design language to define layout, appearance and behaviour. JSON "patterns", such as above, are resolved by an interpreter to complete a graph. Inspect the graph for bumblehead.com by opening a browser console and entering _cfg._rgraph.toJS().

    gani is still a work in progress. Building a design language is difficult. The language must be generic enough to describe future designs unknown to the author. If too verbose, the language becomes unwieldy. Modifying the language may cause backward-compatibility issues for the interpreter software (also challenging to write).

    If pattern files are web-accessed, one needs to organize them in ways to minimize requests. The difficulty increases if you have locale and/or language specific content in your application.

    tags art