Just released version 0.2.5 of Drab - the Phoenix extension to access the browser directly from Elixir and eliminate JS/Ajax.
Since I wrote to the forum the last time (v 0.1.0) many exctiting changes has been made:
- modularity: based on popular React fans request (@vic) now you can choose which Drab modules you want to use, so you are not fixed to jquery anymore
- new Query functions, like cycling (
update(:text, set: ["One", "Two", "Three"], on: "#thebutton")) - @Eiji
- more callbacks, like
- own Store (similar to Plug Session, key/value store available in your functions)
- access to Plug Session values (read-only, we don’t want to mess with Phoenix core)