HB (Hyper Builder)
![]() |
http://bachue.com/hb |
Description: | Hyper Builder (HB) is a language, which lets you easily create dynamic Websites. You can create your own HTML-tags, which are then substituted by self-defined blocks. Within a HB-page you can mark blocks, which could then be showed and are accessible through an URL from a webbrowser. So you can easily put HTML-pages which belong together into one HB-file. They could then separately shown as own HTML-pages. There exist pre-defined tags for following application-domains: Authentification, SQL-Queries (MySQL, PostgreSQL), polls, counter, emails, cookies... Altogether, in comparision to other languages like XML/XSL, PHP or Perl, a very easy-to-use language (also for designer) but which is therefore NOT less powerful. |
Hello World | Michael Neumann |
# definiere ein Objekt HelloWorld :set HelloWorld <b>HelloWorld</b> : # definiert das Startobjekt, welches man mittels URL aufrufen kann :out main <html><head></head><body> <HelloWorld> <!-- ruft das Objekt HelloWorld auf --> </body></html> : |
Shows "Hello World" in the
webbrowser. |
Simple HTML-form | Michael Neumann |
:set page <html> <head><title>Einfaches HTML-Formular</title></head> <body> : :set /page </body></html> : # definiert das Formular :set formular.show <form action="formular.send"> Anrede: <input type="radio" name="Anrede" value="Herr"> Herr <input type="radio" name="Anrede" value="Frau" checked> Frau <br><br> Ihr Name: <input type=text name="Name"> <input type=submit value="Senden"> </form> : # wird aufgerufen, wenn das Formular abgesendet wird # "hb.cgi" liest die vom Formular übergebenen Parameter :out formular.send <page> Hallo <hb.cgi name="Anrede"> <hb.cgi name="Name">! <br><hr> <formular.show> <br> <a href="main">Start</a> </page> : # wird ganz am Anfang aufgerufen :out main <page> <formular.show> </page> : |
Shows a formular in the webbroswer,
wherby you were asked for the name and title. If you send the
formular, you'll be greeted with "Hallo Herr/Frau X" (in English:
Hello Mr./Mrs. X). Below that, the formular is shown. |