You can clone with
HTTPS or Subversion.
Don't leave a trailing . on bash_safe strings
Thanks @notwa :)
inspired by @ScriptFanix, use bash parameter substitution instead of
Also, actually execute the calculated query instead of just ignoring it
update the blog url
portable grep -q
MIT license (fixes #6)
backslash- and EOT-safe getc
turns out grep has an option to do this. Who knew :)
add a reference to the long-winded explanation of getc
cache balls::model.fields globally
mysql_safe -> db_safe and docs
first try at mysql_safe
add in "instance methods" of a sort
Person find 'id=1' | Person first_name # => John
Person find 'id=1' | Person last_name # => Public
echo "$first_name $last_name"
Person find 'id=1' | Person full_name # => "John Public"
factor out balls::model.execute()
initial model code. `Person find 'id = 1'` totally works.
Edited README.md via GitHub
a stubby readme
read_char -> getc
compile the views on an intelligent basis
code reloading. man that was easy
use $BALLS_TMP instead of $TMP_DIR
make balls::route echo to stdout
rather than write to the socket directly
http needs an empty line between headers and body
headers_sock belongs to router.sh
use the new trim
options options options
usage goes to stdout, not stderr
oh yeah, grep already does this.
implement <%= %> and <%- %>
also factor out some things into util.sh
basic esh in 57 loc. win.
options where they're useful, none when they're not
huge ugly commit :) ...but it works!
routing works, sorta