Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example App based on Flask + Extensions #68

Closed
mitsuhiko opened this issue Jun 21, 2010 · 10 comments
Closed

Example App based on Flask + Extensions #68

mitsuhiko opened this issue Jun 21, 2010 · 10 comments
Labels

Comments

@mitsuhiko
Copy link
Contributor

It would be nice to see an example application for 0.5 that is based on Flask plus a few Flask extensions that represents a semi-realworld example of how to do applications.

Example proposals:

A Wiki

  • showcase how config management works
  • how to unittest more complex apps
  • maybe even use modules
  • Flask-Fungiform for the form handling
  • Flask-SQLAlchemy for database
  • flask-mail for sending mail notifications
  • Flask-OpenID for user authentication
  • Flask-Babel for i18n
  • jQuery for client side JavaScript
  • a creoleparser for the wiki Syntax

Thanks to all the extensions that application could still be reasonable small (~1000 lines of code I guess without the templates)

@leafstorm
Copy link

Good idea. This was kind of what my goal was with Ryshcate.

@dcolish
Copy link

dcolish commented Jul 12, 2010

If you'd like you can use my GSoC project Cockerel, http://github.com/dcolish/Cockerel. Its still in heavy stages of dev, but it uses most of those core elements.

It also uses the newly registered Flask-Markdown and a soon to be registered Flask-Flatland.

@jokull
Copy link

jokull commented Jul 19, 2010

I've got an app that uses signed cookies for a shopping cart, sqlalchemy models, fungiform, jquery, multienv config. No tests, no mail, no babel though.

@ghost
Copy link

ghost commented Jun 16, 2011

I did several Flask application:

https://bitbucket.org/abki/nuagecms
https://bitbucket.org/abki/presence
both are built with:

  • google appengine
  • flas-wtforms

https://bitbucket.org/abki/andalucia

@mitsuhiko
Copy link
Contributor Author

Pushed for 0.8

@nhoad
Copy link

nhoad commented Aug 10, 2011

How big would you want this exampleapp? Would a blog suffice? Or how about a forum?

I'm more than happy to work weekends on churning something out.

@ghost
Copy link

ghost commented Aug 11, 2011

I think they are already many example apps using Flask 0.6. What is laking
is a step by step tutorial to help understand the code, referencing the doc
when needed.

My next project involves Blueprint i will try to make a tutorial long the
way.

Amirouche Boubekki
Developpeur web pour libération & pilotsystems
" The most basic of all human needs is the need to understand and be
understood " Ralph Nichols
Le 10 août 2011 08:46, "nathan-hoad" <
reply@reply.github.com> a
écrit :

How big would you want this exampleapp? Would a blog suffice? Or how about
a forum?

I'm more than happy to work weekends on churning something out.

Reply to this email directly or view it on GitHub:
#68 (comment)

@ghost
Copy link

ghost commented Jul 18, 2013

Is this issue still matter? Because I'm willing to do that.Here is my question

1.I'd like to try the wiki proposal and all the needs remain the same although it is proposed 3 years ago
2.I just create a branch,make it and pull request or Is there any things need to be done such as assigned or else
3.now flask's version is 0.10 and maybe this should base on the newest version

I'm not new to web programming and I'm new to be an contributor.tell me if anything wrong

@untitaker
Copy link
Contributor

There is a fairly large tutorial available at http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xviii-deployment-on-the-heroku-cloud

I am not sure if it makes sense to keep a tutorial with third-party extensions in the main documentation. The current Flaskr tutorial is big enough to get the user started, OTOH it is small enough to not get outdated quickly. Maybe change the Flaskr tutorial to use Flask-SQLAlchemy and leave it like that.

@groteworld
Copy link

I agree with @untitaker, the addition of another tutorial app in main documentation doesn't sound necessary. Instead maybe a list of different popular Flask tutorial compiled by the community?

@brunsgaard
Copy link

I just thought that I would add https://github.com/mattupstate/overholt/ to the list.
Overholt is one of the bigger flask examples I have learned most from.. And it is just not extensions, the way that the factory pattern is used to create applications gives a great understanding of how flask works, and also how @mattupstate declares his own route decorators. It is just a great and very educational example project.

The extensions used include

Flask-Assets
Flask-Login
Flask-Mail
Flask-Principal
Flask-SQLAlchemy
Flask-Script
Flask-Security
Flask-WTF

Also @mitsuhiko, now it is ~4 year since this issue was opened. Maybe you could present a revamped list of goals in example project, that would make it possible to close this ticked. If the goals has changed of cause.

@untitaker
Copy link
Contributor

Since this need has already been fulfilled by the community, i think this issue should be closed. See https://github.com/pocoo/metaflask/issues/47 for further discussion.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

8 participants