SpaceApi is the general spec for the json file -
https://hackerspaces.nl/spaceapi/ - that many hackerspaces around
the world now use for showing the status of their space. As you
can see in the link is have many available fields that wouldn't
suit LoLo to look after and is also extendible for our own custom
things,
e.g. {
membership : { fees : { student : "€20", unemployed : "€20",
employed : "€30", } form : { url : "https://stack.091labs.com/form
" } types : { student : "details", unemployed : "details",
employed : "details" } }
}
I'd like lolo-server to make a call on a
SpaceApi-focused app that deals with editing the json file. That
SpaceApi app should be able to be called by various other apps
like the Access Control one.
-- Padraic Harley Phone: +353 (0)85 213 8803 Email: pad...@091labs.com Tweet: @pauricthelodger
This is a very clear separation of concerns, I like the thinking behind the structure, and in particular how bite sized the work is.
I think I will have a look at what is involved in making a basic SpaceApi server and getting it published somewhere. There is some good documentation on it, and even a validator.
On Fri, Nov 16, 2012 at 1:55 PM, Padraic Harley <pad...@091labs.com> wrote:
Aye, I should explain it a bit better.
LoLo specifically deals with the open/closed status of the 091 Labs building.
SpaceApi deals with the general public information for a hackerspace of which open/closed (LoLo) is a single part.
LoLo code on the server should be completely separated from the SpaceApi code and instead be making a call to it.
This will allow SpaceApi more freedom to be accessed by other upcoming Labs projects (like Project F5) and releases LoLo from dealing with updating the json file.
==
We have
- LoLo: the Android app
- lolo-server : The part that listens for the button, changes the SpaceApi json file, and changes the image on the site
SpaceApi is the general spec for the json file - https://hackerspaces.nl/spaceapi/ - that many hackerspaces around the world now use for showing the status of their space. As you can see in the link is have many available fields that wouldn't suit LoLo to look after and is also extendible for our own custom things,
e.g. { membership : { fees : { student : "�20", unemployed : "�20", employed : "�30", } form : { url : "https://stack.091labs.com/form " } types : { student : "details", unemployed : "details", employed : "details" } } }
I'd like lolo-server to make a call on a SpaceApi-focused app that deals with editing the json file. That SpaceApi app should be able to be called by various other apps like the Access Control one.
On 16/11/12 13:00, Richard Conroy wrote:
So you actually want 2 applications now ...
� �the LoLo app itself,�� �and something that is a service endpoint for the SpaceApi ?
there are actually quite a few ways to do the second point, roughly equivalent to the number of cats to be skinned.
It might be worth seeing how SpaceApi is hosted elsewhere. There might be a deployable project that works out of the box, or may be readily adapted.
-- Padraic Harley Phone: +353 (0)85 213 8803 Email: pad...@091labs.com Tweet: @pauricthelodger
Great.. let us know when is ready
Send from a portable device