Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTPL - Hyper Text Programming Language #2

Open
ronnygunawan opened this issue Sep 29, 2021 · 0 comments
Open

HTPL - Hyper Text Programming Language #2

ronnygunawan opened this issue Sep 29, 2021 · 0 comments

Comments

@ronnygunawan
Copy link

Basically set of web components tags which allows us to code an app using only HTML tags:

Tags (draft)

<if cond=""></if>
<else></else>
<elseif cond=""></elseif>
<switch value=""></switch>
<case value=""></case>
<for var="" in=""></for>
<while cond=""></while>
<data var="" src="" />

Example:

<body>
  <data var="cities" src="/cities.json" />
  <select>
    <for var="city" in="cities">
      <bind prop="value" value="city">
        <option><text value="city" /></option>
      </bind>
    </for>
  </select>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Incubator
Idea box
Development

No branches or pull requests

2 participants