[openspending-dev] Porting OpenSpending to Flask

Rufus Pollock rufus.pollock at okfn.org
Sun Dec 21 22:23:33 UTC 2014


Hi Friedrich,

I'll overall defer to Tryggvi here who is the head cat-herder here :-)

My 2c:

- Time to re-open this pull request
https://github.com/openspending/openspending/issues/247 :-) (and
https://github.com/openspending/osep/blob/gh-pages/03-flask-web-framework.md
)
- I definitely think getting from Pylons to Flask is an excellent idea
- My only question is the relation of the port to the larger rework of OS
to smaller micro-services (e.g.
https://github.com/openspending/osep/blob/gh-pages/02-data-storage-and-data-pipeline.md
and http://notebook.okfn.org/2014/10/25/openspending-overview-in-diagrams/
and work in progress OSEP on this - forthcoming!)

Rufus

On 21 December 2014 at 20:24, Friedrich Lindenberg <friedrich at pudo.org>
wrote:

> Hey all,
>
> as most of you will know, OpenSpending is still based on the Pylons web
> framework, which has been discontinued and unsupported for a few years now.
> Pylons was a bit notorious for encouraging questionable design practices,
> for example a variety of semi global bucket variables (c, g, and h).
>
> With a slight attack of Sunday enthusiasm, I started porting OpenSpending
> to Flask today. The idea is that Flask would make the whole thing a bit
> cleaner and provide a good reason to cut out the messy scope stuff.
> Unfortunately, it also means touching virtually every corner of the code
> base.
>
> In any case, I've got a running version of some of OpenSpending in Flask,
> only the home page and account management are working so far. Would love to
> hear people's thoughts as to whether this is a bit too radical after all...
>
> https://github.com/openspending/openspending/pull/833
>
> Cheers,
>
> - Friedrich
>
>
>
> _______________________________________________
> openspending-dev mailing list
> openspending-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/openspending-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/openspending-dev
>
>


-- 

*Rufus PollockFounder and President | skype: rufuspollock | @rufuspollock
<https://twitter.com/rufuspollock>Open Knowledge <http://okfn.org/> - see
how data can change the world**http://okfn.org/ <http://okfn.org/> | @okfn
<http://twitter.com/OKFN> | Open Knowledge on Facebook
<https://www.facebook.com/OKFNetwork> |  Blog <http://blog.okfn.org/>*

The Open Knowledge Foundation is a not-for-profit organisation.  It is
incorporated in England & Wales as a company limited by guarantee, with
company number 05133759.  VAT Registration № GB 984404989. Registered
office address: Open Knowledge Foundation, St John’s Innovation Centre,
Cowley Road, Cambridge, CB4 0WS, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/openspending-dev/attachments/20141221/4a0fecc3/attachment-0002.html>


More information about the openspending-dev mailing list