2 ms·
Another concept in Forward that is new, REST-like models. The base Model defines 4 public methods: get(uri, data) put(uri, data) post(uri, data)
by ericingram 14y ago
Another concept in Forward that is new, REST-like models. The base Model defines 4 public methods:
get(uri, data)
put(uri, data)
post(uri, data)
delete(uri, data)
It's easy to code a model around this pattern, and the result is a system that functions entirely without procedures from the template's perspective.
For those used to WordPress style functions in templates, this model accomplishes something similar, but again without functions.