slcfwd / topics

Topics to discuss in upcoming meetups.
0 stars 0 forks source link

What a front-end application really wants => AN API!!! #9

Open jehoshua02 opened 9 years ago

jehoshua02 commented 9 years ago

Talk about moving front-end concerns to the client and having pure API backend, what that API backend should look like, what technologies are really good at building APIs.

jehoshua02 commented 9 years ago

https://www.google.com/search?q=everything%20you%20need%20to%20know%20about%20rest%20apis

jehoshua02 commented 9 years ago

Some of my ideas: https://gist.github.com/jehoshua02/c8fe4f6bf92a47d5dd39

jehoshua02 commented 9 years ago

JSON API, A standard for building APIs in JSON: http://jsonapi.org/

jehoshua02 commented 9 years ago

Twitter API: https://dev.twitter.com/rest/public

jehoshua02 commented 9 years ago

Loopback: https://www.npmjs.com/package/loopback

jehoshua02 commented 9 years ago

rest-sugar: https://www.npmjs.com/package/rest-sugar

jehoshua02 commented 9 years ago

express: https://www.npmjs.com/package/express

jehoshua02 commented 9 years ago

hapi: https://www.npmjs.com/package/hapi

jehoshua02 commented 9 years ago

restify: https://github.com/mcavage/node-restify

jehoshua02 commented 9 years ago

restful: https://github.com/flatiron/restful

jehoshua02 commented 9 years ago

baucis: https://github.com/wprl/baucis

jehoshua02 commented 9 years ago

sails: https://www.npmjs.com/package/sails

jehoshua02 commented 9 years ago

flatiron: http://flatironjs.org/

jehoshua02 commented 9 years ago

percolator: https://www.npmjs.com/package/Percolator

jehoshua02 commented 9 years ago

From my research (which wasn't very thorough or careful but quick and shallow) I'd probably try Hapi or Loopback.

Edit: But I'm still nervous I haven't found the best thing yet.

jehoshua02 commented 9 years ago

sanestack: http://sanestack.com/ https://github.com/mgenev/how-to-sane

jehoshua02 commented 9 years ago

I've been biased toward javascript (because it's the future), so here's a solution from PHP land: https://apigility.org/

jehoshua02 commented 9 years ago

And another from PHP land: https://github.com/FriendsOfSymfony/FOSRestBundle

salticus commented 9 years ago

There are tens, possibly hundreds, of api frameworks you could list here. Let's introduce a couple of constraints to narrow down the field:

Those are pretty arbitrary constraints. If you prefer, perhaps find a source on best API design practices (although that will get into data some more.)

jehoshua02 commented 9 years ago

@salticus I think you are pulling this in the right direction. The very first step, before we talk about how to implement the api, is to talk about what the api should look like from the front-end point of view. So yes, let's rewind and zero in on that.

I think the ideas I started off with still apply: https://gist.github.com/jehoshua02/c8fe4f6bf92a47d5dd39

jehoshua02 commented 9 years ago

This looks like a really good free open source alternative to firebase: http://deployd.com/