Belaws beta

418 views
379 views

Published on

introduction to the belaws backend (developer oriented)

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
418
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Belaws beta

  1. 1. BeLaws – a webui for Belgian laws 2.0 style
  2. 2. Context <ul><li>Written by Tim Esselens
  3. 3. Under the iRail vzw umbrella
  4. 4. We had the need to research the Belgian law
  5. 5. We are about #opendata
  6. 6. We add spice to anything stuck in web 1.0 land </li></ul>
  7. 7. History <ul><li>Created an alpha version a few months back
  8. 8. It had issues , mainly in mastering the data
  9. 9. An effort was made to resolve these issues
  10. 10. The beta version is ready
  11. 11. API driven , for all you opendata hackers </li></ul>
  12. 12. Problems with the Alpha version <ul><li>How to get to know your datasource ?
  13. 13. How to introduce other developers ?
  14. 14. How will we continuously replicate ? </li></ul>
  15. 15. Solutions for the Beta version <ul><li>a KISS sql sheme to: </li><ul><li>FETCH then PARSE then FORMAT </li></ul><li>As to keep track of differences in </li><ul><li>Fetches: history to learn from
  16. 16. Parses: early warning if source behaves badly
  17. 17. Formats: better view of documents affected </li></ul><li>Direct HTTP access to internal API </li><ul><li>/api/internal/{fetch,parse,format}/staatsblad.json?d= </li></ul></ul>
  18. 18. The Beta rewrite <ul><li>perl PSGI on the server
  19. 19. PostgreSQL database
  20. 20. jQuery for the frontend </li></ul>
  21. 21. The Result
  22. 22. What we have <ul><li>A method for storing other datasources as well
  23. 23. A measure of quality in our db
  24. 24. Internal API with access to raw fetches
  25. 25. External API for easy client creation
  26. 26. Web 2.0 HTML5 frontend
  27. 27. Interactive API documentation
  28. 28. Some infographics </li></ul>
  29. 29. What we need <ul><li>French/German fetchers (quite easy)
  30. 30. A fetchrun for all the laws
  31. 31. A db analysis of how the data changes
  32. 32. Better formatters (natural language dependant)
  33. 33. More accurate data </li></ul>
  34. 34. The future : data mining
  35. 35. The future : new interfaces
  36. 36. Where to find us? <ul><li>http://project.irail.be
  37. 37. http://github.com (search for belawshub)
  38. 38. irc.freenode.org #irail
  39. 39. Me: [email_address] </li></ul>
  40. 40. Any Questions? <ul>42! </ul>

×