greptilian logo

IRC log for #sourcefu, 2015-04-05

http://sourcefu.com

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
14:03 prologic Heya all :)
14:03 prologic Did I miss anything ? :)
18:45 * pdurbin has been busy dying easter eggs
18:45 pdurbin prologic: back from your flight already?
21:17 prologic pdurbin: ping?
21:26 pdurbin prologic: hi
23:38 prologic pdurbin: hi hi :)
23:39 prologic I’m in your country tlil tomororw (landed yesterday)
23:39 prologic not sure what state you’re inthough :)
23:39 prologic Also made much more progress with addressbookmvc example for circuits
23:40 prologic you can see my latest code at https://github.com/prologic/addressbookmvc
23:40 prologic I *am* however running into some interesting problems
23:40 prologic even implementing something that you’d think is as trivial as an address book *IS NOT* trivial :)
23:40 prologic There are quite a few things to consider
23:41 prologic So in my example; my UI is going to (by default) look a lot more modern than yours (Twitter Bootstrap, Yota, etc)
23:41 prologic I’m ignoring security — Session based Auth and Basic Auth (API)
23:41 prologic passwords sent in the clear
23:42 prologic in a production sense you’d want to run the app under SSL
23:42 prologic what else
23:42 prologic I’ve finished (bar one minor thing) the API itself
23:42 prologic it’s a CRUD Resource-driven API
23:42 prologic e.g:
23:43 prologic curl -i -u 'admin:admin' -X GET http://localhost:8000/api/addresses/
23:43 prologic curl -i -u 'admin:admin' -X GET http://localhost:8000/api/addresses/0
23:43 prologic curl -i -u 'admin:admin' -X PUT -d ‘a=1;b=2’ http://localhost:8000/api/addresses/
23:43 prologic and so forth
23:43 prologic the addresses endpoint implements GET, PUT, POST and DELETE
23:44 prologic One thing though (the bar one minor thing) is that the API lets you quite literally store anything you want; there is no validation or types of resources
23:44 prologic the endpoint is arbitrary at this point
23:44 prologic so I’m thining of using JSON Schema here
23:45 prologic thoughts?

| Channels | #sourcefu index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

http://sourcefu.com