metabahn/pakyow — pull request #59 by rjclardy (2013-06-26 17:58:13+00:00)
Title: 0.8 misc changes

List of TODOs completed in this request:

- Create a 'logs' directory when generating an application.
- The return value from `with` (and other view methods) should be the view, not the last statement in the block.
- Need to add some sanity to when bindings are refound (e.g. two :foo scopes, one removed, bindings still reflect two).
- Add some output to the pakyow new command that shows the structure as it's created.
- Attributes aren't working for a view that is a single input (kapow).
- Global configure block.
- Handlers need hooks.

Decided against implement the following TODO: "Add restful to root instead of requiring data-action attr". Making that change would have a few negative side effects:
- `method` and `action` attributes would be added to every scope by default
- restful functionality would be overwritten if a developer creates a `_root` binding in their app
- would lose the ability to nest a scope-less `form` within a scoped `div` and still get restful functionality