-
Notifications
You must be signed in to change notification settings - Fork 44
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
please post some example #2
Comments
We're working on some examples and tutorials, but for fun you can try out esh. For example: # test.html.esh
<html>
<head>
<title><%= "$title" %></title>
</head>
<body>
<ul>
<%- for i in {1..10}; do -%>
<li>Here's number <%= "$i" %>!
<%- done -%>
</ul>
</body>
</html> And then run % ./bin/esh test.html.esh > test.html.esh.o # this will be slowish
% title=FOOBAR bash test.html.esh.o # this will be lightning fast Voila! |
I'm going to try to have an example blog written in BoB by the end of the weekend. We didn't actually intend to post this before having more work into this project, but reacted to the OOP bash post on Hacker News. |
+1 |
@Voronoff still nothing? :) |
I liked very much when I knew that there is a project for a Web application framework like Ruby on Rails and Groovy on Grails: Bash on Balls! As @seletz said, reading the source code is interesting, Balls apparently creates a web server and renders HTML pages with server-side scripting. @jneen You really made a nice work! I'm a Linux user that learned Bash language some years ago. I've made some relatively complex desktop applications using Bash and YAD/zenity for GUI. Although Balls is a really useful and inovative software, its GitHub repository and source code doesn't encourage programmers to use it.
In short, we can not know how to use Balls, to create Web applications properly by the way it is, and I reinforce the request of @seletz to post some example of complete usage of Balls and all its features. I can contribute to this nice project, but as I said, I don't know how to use it. I have some ideas of implementing a Bash framework with MVC architectural pattern with similar usage in the command line like Grails:
|
+1 |
While reading the source is fun and entertaining, having an actual example would be very helpful for us non-bash-$deities.
The text was updated successfully, but these errors were encountered: