librelist archives

« back to archive

Flask Web Development book now available through Packt

Flask Web Development book now available through Packt

From:
Ron DuPlain
Date:
2013-08-28 @ 12:54
Hello Flask community!

I just published Flask Web Development with Packt.
http://www.packtpub.com/flask-web-development/book

It is available in print and ebook. The sample code (in Support tab)
with the book works on Python 2.7 and Python 3.3, on Unix-like systems
and Windows. The book goes beyond the quickstart in the docs to walk
through what I think is a representative Flask application based on my
experience with Flask. I had two major motivations in working with
Packt on this title.

First, I want to show how to organize a Flask project for developers
who are ready to use Flask in their projects. Once you get past the
quickstart in the Flask docs, it helps to walk through a
production-ready project and learn how to handle things like databases
(SQLAlchemy), forms (WTForms), base templates (with Bootstrap and
jQuery), and user authentication. Since Packt wanted an Instant book
at +/- 60 pages, it means that the text gets to the point. All of the
projects discussed in the book have excellent documentation -- the
book shows how to put it all together.

Second, Flask is a great option for all kinds of organizations. Having
peer-reviewed titles on the market supports Flask. No one here doubts
that Flask is valid, and its not that we need appease pointy-hair
bosses, but market validation is a good thing.

I learned a lot about where new Flask users have questions in my time
as a contributor to Flask. A lot of people want to know "what is the
Flask way to do X?" when I think that they are really asking "what is
the Python way to do X?" My technical goal was to answer the latter
while using Flask. I did not depend too heavily on extensions, because
I want the reader to understand how it all comes together.

The publisher made a lot of decisions for the book, but I put forth
every effort to make sure that the book is a useful one that you can
provide to developers new to Flask. I hope that you like it.

Here's to Flask!

Ron


PS: Yes, Python 3.3 and Windows are supported as well as the usual.

Re: [flask] Flask Web Development book now available through Packt

From:
ureal frank
Date:
2013-08-28 @ 16:15
On Wed, Aug 28, 2013 at 1:54 PM, Ron DuPlain <ron.duplain@gmail.com> wrote:

> Hello Flask community!
>
> I just published Flask Web Development with Packt.
> http://www.packtpub.com/flask-web-development/book
>
> It is available in print and ebook. The sample code (in Support tab)
> with the book works on Python 2.7 and Python 3.3, on Unix-like systems
> and Windows. The book goes beyond the quickstart in the docs to walk
> through what I think is a representative Flask application based on my
> experience with Flask. I had two major motivations in working with
> Packt on this title.
>
> First, I want to show how to organize a Flask project for developers
> who are ready to use Flask in their projects. Once you get past the
> quickstart in the Flask docs, it helps to walk through a
> production-ready project and learn how to handle things like databases
> (SQLAlchemy), forms (WTForms), base templates (with Bootstrap and
> jQuery), and user authentication. Since Packt wanted an Instant book
> at +/- 60 pages, it means that the text gets to the point. All of the
> projects discussed in the book have excellent documentation -- the
> book shows how to put it all together.
>

I've some questions:
- Is this book good for newbies?
- Do you cover how to build blueprint projects?
- Any topic on (pymongo|mongoengine|mongokit)?


>
> Second, Flask is a great option for all kinds of organizations. Having
> peer-reviewed titles on the market supports Flask. No one here doubts
> that Flask is valid, and its not that we need appease pointy-hair
> bosses, but market validation is a good thing.
>
> I learned a lot about where new Flask users have questions in my time
> as a contributor to Flask. A lot of people want to know "what is the
> Flask way to do X?" when I think that they are really asking "what is
> the Python way to do X?" My technical goal was to answer the latter
> while using Flask. I did not depend too heavily on extensions, because
> I want the reader to understand how it all comes together.
>
> The publisher made a lot of decisions for the book, but I put forth
> every effort to make sure that the book is a useful one that you can
> provide to developers new to Flask. I hope that you like it.
>
> Here's to Flask!
>
> Ron
>
>
> PS: Yes, Python 3.3 and Windows are supported as well as the usual.
>

Re: [flask] Flask Web Development book now available through Packt

From:
Ron DuPlain
Date:
2013-08-28 @ 22:17
> I've some questions:
> - Is this book good for newbies?

Yes. I had some new developers try it and give feedback. Although, I
will say that web development generally has a lot to learn, and the
book focuses specifically on Flask. You may need references for
HTML/CSS/JS and database management.

Speaking of the Flask docs, there is a gap between the quickstart and
the reference documentation. There's a reason for that: Flask lets you
make many decisions. This is why you see so many "skeleton" projects
out there -- those which have a project structure and loaded
dependencies, but no application-specific code.

I wanted to write a project from scratch that represents how I've
built several projects with Flask. The best way to know if the book is
for you is to download the source that ships with the book, run the
code, and decide if you want a walk-through on how to build exactly
that, with narrative to explain it and pointers on different decisions
that you might make.

Source is here:
http://www.packtpub.com/support/14087

I have not tested the download, so I don't know much the email form
gets in the way.


> - Do you cover how to build blueprint projects?

No. I originally had reuse patterns in my outline, but the compressed
layout of the book meant that a few topics had to go.


> - Any topic on (pymongo|mongoengine|mongokit)?

I only mention Mongo as an alternative to SQL, once. Packt
specifically requested a format that shows one way to do it before
explaining your options. I show how to use SQLAlchemy directly, using
Flask-SQLAlchemy for the database session. That said, the only
relationship in the sample project is that between a database record
and a user record. I made it a point to code the project with the data
model separated from the application code -- you could port the code
to Mongo in a straightforward way if you have a good intro to Mongo
and Python.

Thanks for the questions!

Ron

Re: [flask] Flask Web Development book now available through Packt

From:
ureal frank
Date:
2013-08-29 @ 16:04
On Wed, Aug 28, 2013 at 11:17 PM, Ron DuPlain <ron.duplain@gmail.com> wrote:

> > I've some questions:
> > - Is this book good for newbies?
>
> Yes. I had some new developers try it and give feedback. Although, I
> will say that web development generally has a lot to learn, and the
> book focuses specifically on Flask. You may need references for
> HTML/CSS/JS and database management.
>

HTML/CSS/JS is not for me... I can really build horrible things :)


>
> Speaking of the Flask docs, there is a gap between the quickstart and
> the reference documentation. There's a reason for that: Flask lets you
> make many decisions. This is why you see so many "skeleton" projects
> out there -- those which have a project structure and loaded
> dependencies, but no application-specific code.
>

true, and newbies are sensible to that. I've seen some Pyramid
documentation and I think the same 'problem' persists.


>
> I wanted to write a project from scratch that represents how I've
> built several projects with Flask. The best way to know if the book is
> for you is to download the source that ships with the book, run the
> code, and decide if you want a walk-through on how to build exactly
> that, with narrative to explain it and pointers on different decisions
> that you might make.
>
> Source is here:
> http://www.packtpub.com/support/14087
>
> I have not tested the download, so I don't know much the email form
> gets in the way.
>

it works. 10x


>
>
> > - Do you cover how to build blueprint projects?
>
> No. I originally had reuse patterns in my outline, but the compressed
> layout of the book meant that a few topics had to go.
>
>
> > - Any topic on (pymongo|mongoengine|mongokit)?
>
> I only mention Mongo as an alternative to SQL, once. Packt
> specifically requested a format that shows one way to do it before
> explaining your options. I show how to use SQLAlchemy directly, using
> Flask-SQLAlchemy for the database session. That said, the only
> relationship in the sample project is that between a database record
> and a user record. I made it a point to code the project with the data
> model separated from the application code -- you could port the code
> to Mongo in a straightforward way if you have a good intro to Mongo
> and Python.
>

maybe it would be nice to see that chapter in the future :)


>
> Thanks for the questions!
>


And, many thanks for your reply. As a very newbie flask developer, I'm gona
buy it.

Cheers,
Frank


>
> Ron
>

Re: [flask] Flask Web Development book now available through Packt

From:
Anthony Ford
Date:
2013-08-28 @ 16:04
Cool! I'll have to get a copy soon. Congrats, and hope sales are through
the roof!

Anthony Ford,
KF5IBN,
ford.anthonyj@gmail.com


On Wed, Aug 28, 2013 at 8:54 AM, Ron DuPlain <ron.duplain@gmail.com> wrote:

> Hello Flask community!
>
> I just published Flask Web Development with Packt.
> http://www.packtpub.com/flask-web-development/book
>
> It is available in print and ebook. The sample code (in Support tab)
> with the book works on Python 2.7 and Python 3.3, on Unix-like systems
> and Windows. The book goes beyond the quickstart in the docs to walk
> through what I think is a representative Flask application based on my
> experience with Flask. I had two major motivations in working with
> Packt on this title.
>
> First, I want to show how to organize a Flask project for developers
> who are ready to use Flask in their projects. Once you get past the
> quickstart in the Flask docs, it helps to walk through a
> production-ready project and learn how to handle things like databases
> (SQLAlchemy), forms (WTForms), base templates (with Bootstrap and
> jQuery), and user authentication. Since Packt wanted an Instant book
> at +/- 60 pages, it means that the text gets to the point. All of the
> projects discussed in the book have excellent documentation -- the
> book shows how to put it all together.
>
> Second, Flask is a great option for all kinds of organizations. Having
> peer-reviewed titles on the market supports Flask. No one here doubts
> that Flask is valid, and its not that we need appease pointy-hair
> bosses, but market validation is a good thing.
>
> I learned a lot about where new Flask users have questions in my time
> as a contributor to Flask. A lot of people want to know "what is the
> Flask way to do X?" when I think that they are really asking "what is
> the Python way to do X?" My technical goal was to answer the latter
> while using Flask. I did not depend too heavily on extensions, because
> I want the reader to understand how it all comes together.
>
> The publisher made a lot of decisions for the book, but I put forth
> every effort to make sure that the book is a useful one that you can
> provide to developers new to Flask. I hope that you like it.
>
> Here's to Flask!
>
> Ron
>
>
> PS: Yes, Python 3.3 and Windows are supported as well as the usual.
>

Re: [flask] Flask Web Development book now available through Packt

From:
ureal frank
Date:
2013-08-28 @ 16:01
On Wed, Aug 28, 2013 at 1:54 PM, Ron DuPlain <ron.duplain@gmail.com> wrote:

> Hello Flask community!
>
> I just published Flask Web Development with Packt.
> http://www.packtpub.com/flask-web-development/book


Awesome, congrats and success on sales :-)


>
>
> It is available in print and ebook. The sample code (in Support tab)
> with the book works on Python 2.7 and Python 3.3, on Unix-like systems
> and Windows. The book goes beyond the quickstart in the docs to walk
> through what I think is a representative Flask application based on my
> experience with Flask. I had two major motivations in working with
> Packt on this title.
>
> First, I want to show how to organize a Flask project for developers
> who are ready to use Flask in their projects. Once you get past the
> quickstart in the Flask docs, it helps to walk through a
> production-ready project and learn how to handle things like databases
> (SQLAlchemy), forms (WTForms), base templates (with Bootstrap and
> jQuery), and user authentication. Since Packt wanted an Instant book
> at +/- 60 pages, it means that the text gets to the point. All of the
> projects discussed in the book have excellent documentation -- the
> book shows how to put it all together.
>
> Second, Flask is a great option for all kinds of organizations. Having
> peer-reviewed titles on the market supports Flask. No one here doubts
> that Flask is valid, and its not that we need appease pointy-hair
> bosses, but market validation is a good thing.
>
> I learned a lot about where new Flask users have questions in my time
> as a contributor to Flask. A lot of people want to know "what is the
> Flask way to do X?" when I think that they are really asking "what is
> the Python way to do X?" My technical goal was to answer the latter
> while using Flask. I did not depend too heavily on extensions, because
> I want the reader to understand how it all comes together.
>
> The publisher made a lot of decisions for the book, but I put forth
> every effort to make sure that the book is a useful one that you can
> provide to developers new to Flask. I hope that you like it.
>
> Here's to Flask!
>
> Ron
>
>
> PS: Yes, Python 3.3 and Windows are supported as well as the usual.
>

Re: [flask] Flask Web Development book now available through Packt

From:
Robert Picard
Date:
2013-08-28 @ 16:12
Congrats on publishing! 

Robert Picard
http://robert.io



---- On Wed, 28 Aug 2013 07:54:10 -0500 Ron 
DuPlain<ron.duplain@gmail.com> wrote ---- 


Hello Flask community! 
 
I just published Flask Web Development with Packt. 
http://www.packtpub.com/flask-web-development/book 
 
It is available in print and ebook. The sample code (in Support tab) 
with the book works on Python 2.7 and Python 3.3, on Unix-like systems 
and Windows. The book goes beyond the quickstart in the docs to walk 
through what I think is a representative Flask application based on my 
experience with Flask. I had two major motivations in working with 
Packt on this title. 
 
First, I want to show how to organize a Flask project for developers 
who are ready to use Flask in their projects. Once you get past the 
quickstart in the Flask docs, it helps to walk through a 
production-ready project and learn how to handle things like databases 
(SQLAlchemy), forms (WTForms), base templates (with Bootstrap and 
jQuery), and user authentication. Since Packt wanted an Instant book 
at +/- 60 pages, it means that the text gets to the point. All of the 
projects discussed in the book have excellent documentation -- the 
book shows how to put it all together. 
 
Second, Flask is a great option for all kinds of organizations. Having 
peer-reviewed titles on the market supports Flask. No one here doubts 
that Flask is valid, and its not that we need appease pointy-hair 
bosses, but market validation is a good thing. 
 
I learned a lot about where new Flask users have questions in my time 
as a contributor to Flask. A lot of people want to know "what is the 
Flask way to do X?" when I think that they are really asking "what is 
the Python way to do X?" My technical goal was to answer the latter 
while using Flask. I did not depend too heavily on extensions, because 
I want the reader to understand how it all comes together. 
 
The publisher made a lot of decisions for the book, but I put forth 
every effort to make sure that the book is a useful one that you can 
provide to developers new to Flask. I hope that you like it. 
 
Here's to Flask! 
 
Ron 
 
 
PS: Yes, Python 3.3 and Windows are supported as well as the usual.