You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Lee moon soo (JIRA)" <ji...@apache.org> on 2015/04/04 10:30:33 UTC

[jira] [Created] (ZEPPELIN-25) Ability to create rich gui inside of Notebook

Lee moon soo created ZEPPELIN-25:
------------------------------------

             Summary: Ability to create rich gui inside of Notebook
                 Key: ZEPPELIN-25
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-25
             Project: Zeppelin
          Issue Type: New Feature
          Components: Core, GUI, Interpreters
            Reporter: Lee moon soo


Discussed on mailing list http://mail-archives.apache.org/mod_mbox/incubator-zeppelin-dev/201503.mbox/browser

Basic idea is adding '%angular' to display system. 
Like currently supported '%html' that prints output as html code, '%angular' displays output as angular view. For example, 

{code}
println("""%angular Your name is {{ z.name }}. <a ng-click="z.onClickOkay()">ok</a>""")
{code}

will compiled and rendered as angular view code. For variable (z.name) and function (z.onClickOkay()), we can develop some kind of Js(angular controller) - JVM gateway so user will able to bind Object or Function into the angular scope, like
{code}
val name = "Zeppelin"
z.angularBind("name", name)

def onClickOkay() = {
    ...
}
z.angularBind("onClickOkay", onClickOkay)
{code}
In this way, user can implement their own customized visualizations and user interface without (almost) any limitation.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)