legs-js
legs-js copied to clipboard
TODO: Legs.Service CRUD extension
Hi,
well i don't know if it's cool to implements in the services a CRUD interface...
Maybe a tiny version of sammy-js its better... You have than a full RestfulClient...
Well is only what i think :)...
Hey Francis,
I should probably update that part of the readme, it was more coming off the top of my head than anything.
So first, I wasn't clear enough with that item on the wish-list. What I meant by builtin REST functionality was more something along the lines of backbone's models. They provide convenience methods that map to CRUD operations for your actual service. I think this sort of functionality could be great to be able to just plug-in to an app.
But thanks for pointing out sammy! Looks really slick, I think that routing is a very powerful mechanism and sammy looks like it does a great job. I'm going to add a sammy-legs-js actor/router of some sort to my todo list for sure.