Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
state of docs overhaul
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chris McDonough  
View profile  
 More options Oct 31 2012, 8:22 pm
From: Chris McDonough <chr...@plope.com>
Date: Wed, 31 Oct 2012 20:22:00 -0400
Subject: state of docs overhaul
Hi folks,

It's been several months since we collected about $5K to overhaul
Pyramid documentation.  In that time, we've only got as far as
identifying the areas that need fixing:

<https://github.com/Pylons/pyramid/issues?labels=docoverhaul%2Cdocs&pa...>

Our original plans about getting the docs effort started in earnest fell
through.  This is entirely my fault.  I would have liked to have been
much further along by now.

So here it is: I need to find an experienced, opinionated tech writer
who can make measurable progress on their own without oversight.  This
person would need to lead the process and form their own opinions about
the relative importance of the open issues, because I'm not sure even
where to tell them where to start.  Ideally I'd pitch in fewer than 10
hours a week during this person's reign, to answer tech questions and
bounce ideas off of.

Does anyone know such a person?  They'd have to be willing to work for
somewhere around $25/hr.  That's been an issue so far. ;-)  That's
possibly a little flexible depending on their relative experience but
our budget is fixed to $5K without further contributions, so it's going
to go pretty fast.

If I don't find someone by Nov 30, I'll just take on the job myself, but
I'd really rather get someone in who knows what they're doing.

Bring on the bikeshed,

- C


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kusut  
View profile  
 More options Nov 2 2012, 12:10 pm
From: kusut <tinoku...@gmail.com>
Date: Fri, 2 Nov 2012 23:10:53 +0700
Local: Fri, Nov 2 2012 12:10 pm
Subject: Re: state of docs overhaul
On 1 November 2012 07:22, Chris McDonough <chr...@plope.com> wrote:

> Bring on the bikeshed,

Hello. You asked for the bikeshed?

The idea here is to ease beginners into pyramid, so this is kind of
unrelated to the docs overhaul tickets on github. Sorry. To make it
more accessible to beginners, we need to create an entry point
(getting started) docs. My take on this is to separate this starter
docs from the current docs (which is already a good narrative
reference).

Why the separation? Because both docs are different in nature. I also
had a good experience with djangobook.com which did a good job
hand-holding me, and it's not a part of django docs. So in the end, we
will have two docs, a starter one and a (narrative) reference one.
Maybe we can combine the starter docs with the current docs? That is
up to you. I'll refer them in this email as separate entities.

Starter Docs Ideas
- The point is, after reading through this docs, users wont feel
intimidated reading current docs
- Few examples to steal from: http://flask.pocoo.org/docs/quickstart
and djangobook.com
- At the end of every chapter, put reference links (more info/details,
examples, you might be interested in.. etc). These links point to
later chapters, current docs, cookbooks, or external sites (raydeo
auth, pyramid-blogr, etc).
- Move "Installing Pyramid", "Creating Your First Pyramid Application"
and "Creating a Pyramid Project" content here (of course with changes)
- Explain "Application Configuration" and "Startup" as simple as
possible. Maybe?
- Explain difference with PHP (long running process etc)?

Current Docs Ideas
- Simpler English

With this suggestion, hopefully there wont be much changes in our
current docs (re-ordering chapters wont be necessary, right? so some
docs tickets can be closed) since it will serve as our narrative
reference. The dumbing-down will happen in the starter docs. If there
is any need for beginner topic, let's say 'templating', we'll keep
templating chapter in current docs as it is, and write the newbie
version for starter docs.

Here is what I have in mind for starter docs layout (and contents);

1. Some forewords? long running process etc? wsgi? web server? how
python webdev in general

2. Installation, virtualenv, and packaging.

Pip, easy_install, pypi, etc. Things to consider: system python or
not? Can we point them to another docs when it comes to installing
python for their system?

3. One-file project.

Explain every line. "Creating Your First Pyramid Application" did
pretty well on this. Do NOT mention TCP, HTTP (if possible), logging,
and wsgi (unless wsgi is mentioned beforehand).

Explain Configurator and make_wsgi_app as plain as possible. Do not
mention registry. Also teach readers to get GET/POST parameters here.
Things to consider: add_view vs view_config. Maybe strictly use
add_view here?

4. Multiple files project without using scaffold.

Teach readers how to build a multiple-files project (within python
package and/or not?) without using scaffold (expanding the previous
one file app). Teach them about renderer and template here? If
possible, teach them ini files, pserve and waitress here. If not (too
complicated without scaffold/entry-points), save it for the next
chapter).

view_config + config.scan here? or wait until we use scaffolds?

This chapter will give them some python basic knowledge (packages,
modules, __init__ file etc). To spice it up, multiple template files
(and teach them about asset specification syntax) and changing
templating engine (built-ins only, mako and chameleon, with link to
pyramid_jinja at the end of the chapter). If this is too crowded,
split this to another chapter.

5. Creating a project with starter scaffolds.

Aside from the files, explain left-over topics from previous chapter
here. Paste deploy, entry-points, pserve, waitress and stuff (or put
this in a new chapter?).

6. Dumbed-down chapters

We ask ourself at the end of every chapter, is the information
provided here enough for them to jump straight to the current docs
(via links at the end of each chapter)? If not, what do we do? Three
options:

- giving brief explanation at the end of each previous chapter. E.g:
explain configurator briefly at the end of one-file app chapter.
- dumbing down the current docs (or add some newbie-friendly preamble).
- give them dumbed-down chapters here?

It looks like the last option only works if we separate this starter
docs from current docs.

Never write something like pyramid.foo.Bar in the starter docs. If we
want to make it a hyperlink, just use Bar not the full dotted name.
Explaining imported things should be as simple as possible, like "we
import Response from pyramid.Response. Response is needed for lorem
ipsum bla bla bla. End".  Delay detailed explanation as late as
possible (explain it at the end of the chapter, or just give them the
link to Response in current narrative docs).

IMO, always have all reference links at the end of the chapter. Some
people like to open-in-a-new-tab hyperlink in the middle of a
paragraph, but some people might find them distracting or wait to
finish the whole chapter before going somewhere else. I dont know,
worth considering maybe.

I think it would be better to keep the paragraph/code ratio small.
Save all the gory details for current docs. Also explain what approach
this starter docs has upfront. There will be some newbies who want to
have instant webapp with forms and db integration in 15 minutes.
Maybe, we can tell them pyramid, and this docs, do not provide that
and we can point them to external tutorials (pyramid-blogr). Put all
this upfront to minimize angry "pyramid obfuscates web development"
blog posts.

Those are some ideas for now. I'll be willing to review any beginner-level docs.

Regards

--
http://kusut.web.id


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris McDonough  
View profile  
 More options Nov 2 2012, 2:34 pm
From: Chris McDonough <chr...@plope.com>
Date: Fri, 02 Nov 2012 14:34:31 -0400
Local: Fri, Nov 2 2012 2:34 pm
Subject: Re: state of docs overhaul
On 11/02/2012 12:10 PM, kusut wrote:

> On 1 November 2012 07:22, Chris McDonough <chr...@plope.com> wrote:
>> Bring on the bikeshed,

> Hello. You asked for the bikeshed?

> The idea here is to ease beginners into pyramid, so this is kind of
> unrelated to the docs overhaul tickets on github. Sorry. To make it
> more accessible to beginners, we need to create an entry point
> (getting started) docs. My take on this is to separate this starter
> docs from the current docs (which is already a good narrative
> reference).

I general I agree with this.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Vanasco  
View profile  
 More options Nov 2 2012, 4:17 pm
From: Jonathan Vanasco <jonat...@findmeon.com>
Date: Fri, 2 Nov 2012 13:17:01 -0700 (PDT)
Local: Fri, Nov 2 2012 4:17 pm
Subject: Re: state of docs overhaul
Here's what I'd like to see in Narrative & Reference docs - in
addition to the above

1. The Pyramid Request Cycle

mod_perl does a decent job at this:
   http://perl.apache.org/docs/2.0/user/handlers/server.html
   http://perl.apache.org/docs/2.0/user/handlers/http.html

How does Pyramid handle a request?  Where does it start, where does it
stop?  where (visually) are the entrypoints for subscribers, tweens,
etc

2. Deploying your Pyramid App

you built it and it works on pserve. great.

what are some pros/cons/howtosof getting it to work in production ?
- pserve
- uwsgi
- mod_wsgi

what about deployment concerns / gotchas :
- clustering ?
- possible bottlenecks
- etc

3- Explain What Scaffolds Are , and why you might want - or not want -
to use them.

4- Give some best-practices and advice for common scenarios
I know this is sort of "cookbook" material - but its good to jump into
the official docs of something you're evaluating and see "oh, i could
do this, or i should do that". the cookbook stuff is too unstructured,
unofficial, and freeform.   think of it as marketing collateral.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »