OK, so we have Stream Wrappers in D7. What does that mean? Who knows?

There's an old but potentially helpful blog post.

There's #517814: File API Stream Wrapper Conversion where this was done.

But we really have to have these things:

  • An article explaining basic usage of stream wrappers.
  • An explanation of how D6 constructs map to D7 stream wrappers
  • An overhaul of the 6/7 module upgrade page that fixes all the reference to the old paradigm.
  • An entry in the 6/7 module upgrade page that explains this
  • An example module that shows how to use stream wrappers.

Comments

joachim’s picture

A good way to proceed here might be to start a collaborative document (handbook page / wiki page on g.d.o), where the developers who created this system and therefore understand it can jot down brief notes, while documentation writers who are perhaps more skilled at presenting ideas can rewrite it into clear prose. A collaborative and iterative approach would be good, as it allows the writers to ask questions about things they don't understand, and the developers to correct anything that's misunderstood.

jhodgdon’s picture

Title: Stream Wrappers really, really need documentation, examples, and upgrade information » Stream Wrappers really, really need documentation and examples

Please discuss issues related to the upgrade guide on the original issue, and leave the discussion here to writing new documentation on how to use the new stream wrapper API. Which is desperately needed, I agree, and belongs within http://drupal.org/node/555118

And shouldn't the examples be a separate issue in the Examples for Developers project?

rfay’s picture

This was kind of a roadmap issue - that's why I put it all here. We need all of that.

jhodgdon’s picture

Sure, we need everything. But it's always a pain when there are two issues discussing the same thing...

rfay’s picture

And I am trying to build an example for Examples as a way to grok this. Unfortunately, I'm having trouble getting traction.

rfay’s picture

rfay’s picture

Status: Active » Fixed

I've attempted to provide docs:

Your review and improvement on those is welcome.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.