Routelandia / routelandia-server

The server backend to power the Routelandia project.
Apache License 2.0
0 stars 1 forks source link

Investigate available PHP REST API frameworks. #1

Closed joshproehl closed 9 years ago

joshproehl commented 9 years ago

Which one do we want to use? Or are we going to roll our own?

Positives and negatives of each should be recorded here to be weighed.

joshproehl commented 9 years ago

Bullet PHP

Main website

Pros

Cons

Thoughts

I like the routing-based structure, but reading the code is a bit better if standing on your head. Because of the "handle if you can, if not try and consume the next bit of the route" structure I'm not entirely certain I like the way the code ends up looking, it doesn't seem super intuitive.

joshproehl commented 9 years ago

Restler

main website Github page

Pros

Cons

Thoughts

Restler is my favorite so far. I haven't created any example projects with it yet, but I believe I'll try to set something up and get some first hand experience to see if it lives up to promise.

pgicking commented 9 years ago

Guzzle

http://guzzle.readthedocs.org/en/latest/

This is what I came up in my google search, on a more thorough look, it looks like its only for client side.

pgicking commented 9 years ago

Slim

http://www.slimframework.com/

Pros

Cons

Thoughts

Looks really cool honestly but the code style is a huge turn off to using this framework, I like restlers style of having functions/classes for handing doGet and doPost because its what makes the most conceptual sense to me.

joshproehl commented 9 years ago

Restler chosen, closing issue.