Spore - RESTful PHP with Annotations

290 views
Skip to first unread message

Danny Kopping

unread,
Oct 17, 2012, 3:49:08 PM10/17/12
to api-...@googlegroups.com
Hi all

At the suggestion of Brian Mulloy, I'm posting here about a new PHP library I've written called Spore.
Spore is a set of RESTful extensions based on the great Slim Framework.

You can find the GitHub project here:

In the wiki, you'll find extensive documentation and access to a sample project (http://whatisthatstat.us).

I'm looking for constructive criticisms, interesting ideas & implementation suggestions.
I've got a number of open-ended feature requests listed, all of which I'm still looking into and / or implementing currently.

Thanks

Danny Kopping

unread,
Oct 17, 2012, 3:51:49 PM10/17/12
to api-...@googlegroups.com
I suspect I may have posted this to the general board - sorry, I don't mean to look like a petty peddler of goods!
Is there any way to move this post to another thread?

Sam Ramji

unread,
Oct 17, 2012, 5:14:19 PM10/17/12
to api-...@googlegroups.com
No embarrassment need apply to this - it looks like a free, open source project to help people improve the craft of APIs.  You are posting in the right place.

Keep open and carry on ;)

Cheers,

Sam



--
You received this message because you are subscribed to the Google Groups "API Craft" group.
To unsubscribe from this group, send email to api-craft+...@googlegroups.com.
Visit this group at http://groups.google.com/group/api-craft?hl=en.
 
 

Mike Schinkel

unread,
Oct 17, 2012, 6:19:00 PM10/17/12
to api-...@googlegroups.com
Hi Danny,

This looks really interesting. I could potentially see myself using it if the right project emerges.

How long have you been working on it?  What was your motivation to build it vs. using other potential solutions? Did you have a specific project you needed it for?  Just curious about how these things come about.

I tried to install it but kept getting errors.  I'll email you privately and if they are more than simple to fix I can add an issue to GitHub.

-Mike

Danny Kopping

unread,
Oct 18, 2012, 3:32:50 PM10/18/12
to api-...@googlegroups.com
Hey Mike

Thanks for spotting the issue - I have fixed the documentation on the wiki.

I've been working on Spore in several different iterations for about a year. It started out as a project that would easily allow me to port a Flex project using amfPHP (a very popular Flash-PHP library) to HTML5 / JSON.

I'm the kinda guy that likes to build things to understand them deeply, so I decided to roll me own. There are several other solutions out there like RESTler, Silex and Symfony - but I decided to write my own because the other options were either too complex (Symfony), lacking in features or unnecessarily bloated. Spore is very lightweight, fast and simple - thanks to its Slim base.

Thanks for the question!

Vance Lucas

unread,
Oct 18, 2012, 4:20:13 PM10/18/12
to api-...@googlegroups.com
What does this add to Slim that it can't already do? It seems like all you have really done is just add an annotation parser, which is really just a different style of doing the same thing. Is there something more here that I am missing?

--
Vance Lucas

Danny Kopping

unread,
Oct 18, 2012, 4:25:52 PM10/18/12
to api-...@googlegroups.com
Hey Vance

That's true - but I've also included features such as automatic request and response (de)serialization, an authorization model, and a number of small things like GZIP compression, etc.
Reply all
Reply to author
Forward
0 new messages