Re: [flask] ANN: Flask project
- From:
- Stephane Wirtel
- Date:
- 2010-07-28 @ 05:17
Hi Dan,
Thank you for your project, without a such example, we can't learn more.
Your code is great because you use flask-script, flask-openid,
flask-sqlalchemy and flask-mail.
With flask-script, I dropped my init_db and runserver.py scripts and
replace them with a new manage.py script and some options ( based
flask-script )
Good examples as yours is very useful for the community, because we can
learn more.
Thank you
PS: Sorry if there is a lot of mistakes in my english.
Stéphane
On 28 Jul 2010, at 01:16, Dan Jacob wrote:
> I've been working on a part-time Flask project. You can see the source here:
>
> bitbucket.org/danjac/newsmeme
>
> The project is in of itself not very interesting - it's basically a
> Reddit/Hacker News clone. It's really just an attempt at building a
> "larger" project using Flask and a number of extensions. I wanted to
> see how quickly such a site could be built, and what issues, if any,
> would arise when using Flask or any of the extensions. I also wanted
> to see what the optimum patterns would emerge in a larger site.
>
> So far, no major problems. The fact that Flask is quite a new
> framework has meant some minor code changes every so often but nothing
> problematic. It's actually one of the easiest frameworks I've used, as
> it allows you to start small and expand as you need to. Where I've
> found issues with an extension I've been able to fix or report
> upstream. I might blog about this in more detail at a later date.
>
> This is really a "kick the tyres" kind of project, so I'm not planning
> on official releases and the like. I will be adding new features such
> as OpenID and localisation as and when I find the time. I am quite
> useless at design, so it's just thrown together with Blueprint for
> now.
>
> There is a live demo here:
>
> http://thenewsmeme.com
>
> Please feel free to sign up and post stuff. It's on shared Webfaction
> hosting, so don't expect blazing performance ;-). The site runs on
> Apache/mod_wsgi, Python 2.7 and PostgreSQL, and (as of writing) Flask
> 0.6.
>
> PS: you will probably find bugs and major fails. If it's worth it,
> just report them on Bitbucket.
Re: [flask] ANN: Flask project
- From:
- Thadeus Burgess
- Date:
- 2010-07-28 @ 00:39
This is a great example of a larger project!
I would love to see an extension of
http://flask.pocoo.org/docs/patterns/packages/#modules-and-resources.
Namely, keep a frontend version of newsmeme exactly what it is now,
but add a dashboard site, that accesses all of the same data models,
but contains its own templates, views, and wsgi file so that both
sites can be ran on separate domains.
Its not obvious to me how you can do this with flask
--
Thadeus
On Tue, Jul 27, 2010 at 6:16 PM, Dan Jacob <danjac354@gmail.com> wrote:
> I've been working on a part-time Flask project. You can see the source here:
>
> bitbucket.org/danjac/newsmeme
>
> The project is in of itself not very interesting - it's basically a
> Reddit/Hacker News clone. It's really just an attempt at building a
> "larger" project using Flask and a number of extensions. I wanted to
> see how quickly such a site could be built, and what issues, if any,
> would arise when using Flask or any of the extensions. I also wanted
> to see what the optimum patterns would emerge in a larger site.
>
> So far, no major problems. The fact that Flask is quite a new
> framework has meant some minor code changes every so often but nothing
> problematic. It's actually one of the easiest frameworks I've used, as
> it allows you to start small and expand as you need to. Where I've
> found issues with an extension I've been able to fix or report
> upstream. I might blog about this in more detail at a later date.
>
> This is really a "kick the tyres" kind of project, so I'm not planning
> on official releases and the like. I will be adding new features such
> as OpenID and localisation as and when I find the time. I am quite
> useless at design, so it's just thrown together with Blueprint for
> now.
>
> There is a live demo here:
>
> http://thenewsmeme.com
>
> Please feel free to sign up and post stuff. It's on shared Webfaction
> hosting, so don't expect blazing performance ;-). The site runs on
> Apache/mod_wsgi, Python 2.7 and PostgreSQL, and (as of writing) Flask
> 0.6.
>
> PS: you will probably find bugs and major fails. If it's worth it,
> just report them on Bitbucket.
>