Skip to content

marcins/fw1-rest-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FW/1 2.2 Resource Routes and renderData example

A simple example of using the new Resource Routes and renderData in FW/1 to create a REST API and consume this with Javascript.

Tested on Railo 4.1, should run on ACF (except the tests), but really you're probably only just going to browse the code instead of running it.

Complementary blog post

Not totally finished, but I thought I'd get it out there all the same:

TODO

  • list count doesn't get updated when a new item is added
  • not much error handling
  • rewrite UI using Backbone as a coding exercise
  • probably a bunch of other bugs

About

FW/1 2.2 Resource Routes and REST example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published