Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 6b146ae60d64f7773c8cb4a1f7ef976a > files > 446

python3-paste-2.0.2-1.mga6.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>The Future Of Paste &mdash; Paste 1.7.5.1 documentation</title>
    
    <link rel="stylesheet" href="_static/default.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '1.7.5.1',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="Paste 1.7.5.1 documentation" href="index.html" />
    <link rel="next" title="Testing Applications with Paste" href="testing-applications.html" />
    <link rel="prev" title="News" href="news.html" />

   
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">

<link rel="stylesheet" type="text/css"
 href="_static/paste.css.html">

  </head>
  <body role="document">  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="the-future-of-paste">
<h1>The Future Of Paste<a class="headerlink" href="#the-future-of-paste" title="Permalink to this headline">¶</a></h1>
<div class="section" id="introduction">
<h2>Introduction<a class="headerlink" href="#introduction" title="Permalink to this headline">¶</a></h2>
<p>Paste has been under development for a while, and has lots of code in it.  Too much code!  The code is largely decoupled except for some core functions shared by many parts of the code.  Those core functions are largely replaced in <a class="reference external" href="http://pythonpaste.org/webob/">WebOb</a>, and replaced with better implementations.</p>
<p>The future of these pieces is to split them into independent packages, and refactor the internal Paste dependencies to rely instead on WebOb.</p>
</div>
<div class="section" id="already-extracted">
<h2>Already Extracted<a class="headerlink" href="#already-extracted" title="Permalink to this headline">¶</a></h2>
<dl class="docutils">
<dt>paste.fixture:</dt>
<dd>WebTest
ScriptTest</dd>
<dt>paste.lint:</dt>
<dd>wsgiref.validate</dd>
<dt>paste.exceptions and paste.evalexception:</dt>
<dd>WebError</dd>
<dt>paste.util.template:</dt>
<dd>Tempita</dd>
</dl>
</div>
<div class="section" id="to-be-separated">
<h2>To Be Separated<a class="headerlink" href="#to-be-separated" title="Permalink to this headline">¶</a></h2>
<dl class="docutils">
<dt>paste.httpserver and paste.debug.watchthreads:</dt>
<dd>Not sure what to call this.</dd>
<dt>paste.cascade and paste.errordocuments:</dt>
<dd>Not sure; Ben has an implementation of errordocuments in <code class="docutils literal"><span class="pre">pylons.middleware.StatusCodeRedirect</span></code></dd>
<dt>paste.urlmap, paste.deploy.config.PrefixMiddleware:</dt>
<dd>In... some routing thing?  Together with the previous package?</dd>
<dt>paste.proxy:</dt>
<dd>WSGIProxy (needs lots of cleanup though)</dd>
<dt>paste.fileapp, paste.urlparser.StaticURLParser, paste.urlparser.PkgResourcesParser:</dt>
<dd>In some new file-serving package.</dd>
<dt>paste.cgiapp, wphp.fcgi_app:</dt>
<dd>Some proxyish app... maybe WSGIProxy?</dd>
<dt>paste.translogger, paste.debug.prints, paste.util.threadedprint, wsgifilter.proxyapp.DebugHeaders:</dt>
<dd>Some... other place.  Something loggy.</dd>
<dt>paste.registry, paste.config:</dt>
<dd>Not sure.  Alberto Valverde expressed interest in splitting out paste.registry.</dd>
<dt>paste.cgitb_catcher:</dt>
<dd>Move to WebError?  Not sure if it matters.  For some reason people use this, though.</dd>
</dl>
</div>
<div class="section" id="to-deprecate">
<h2>To Deprecate<a class="headerlink" href="#to-deprecate" title="Permalink to this headline">¶</a></h2>
<p>(In that, I won&#8217;t extract these anywhere; I&#8217;m not going to do any big deletes anytime soon, though)</p>
<dl class="docutils">
<dt>paste.recursive</dt>
<dd>Better to do it manually (with webob.Request.get_response)</dd>
<dt>paste.wsgiwrappers, paste.request, paste.response, paste.wsgilib, paste.httpheaders, paste.httpexceptions:</dt>
<dd>All the functionality is already in WebOb.</dd>
<dt>paste.urlparser.URLParser:</dt>
<dd>Really this is tied to paste.webkit more than anything.</dd>
<dt>paste.auth.*:</dt>
<dd>Well, these all need to be refactored, and replacements exist in AuthKit and repoze.who.  Some pieces might still have utility.</dd>
<dt>paste.debug.profile:</dt>
<dd>I think repoze.profile supersedes this.</dd>
<dt>paste.debug.wdg_validator:</dt>
<dd>It could get reimplemented with more options for validators, but I&#8217;m not really that interested at the moment.  The code is nothing fancy.</dd>
<dt>paste.transaction:</dt>
<dd>More general in repoze.tm</dd>
<dt>paste.url:</dt>
<dd>No one uses this</dd>
</dl>
</div>
<div class="section" id="undecided">
<h2>Undecided<a class="headerlink" href="#undecided" title="Permalink to this headline">¶</a></h2>
<dl class="docutils">
<dt>paste.debug.fsdiff:</dt>
<dd>Maybe ScriptTest?</dd>
<dt>paste.session:</dt>
<dd>It&#8217;s an okay naive session system.  But maybe Beaker makes it irrelevant (Beaker does seem slightly more complex to setup).  But then, this can just live here indefinitely.</dd>
<dt>paste.gzipper:</dt>
<dd>I&#8217;m a little uncomfortable with this in concept.  It&#8217;s largely in WebOb right now, but not as middleware.</dd>
<dt>paste.reloader:</dt>
<dd>Maybe this should be moved to paste.script (i.e., paster serve)</dd>
<dt>paste.debug.debugapp, paste.script.testapp:</dt>
<dd>Alongside other debugging tools, I guess</dd>
<dt>paste.progress:</dt>
<dd>Not sure this works.</dd>
</dl>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h3><a href="http://pythonpaste.org/" class="invisible-link">Python Paste</a></h3>

<ul>
<li><a href="https://bitbucket.org/ianb/pastescript/issues/">Issue tracker</a></li>
<li><a href="http://pythonpaste.org/">Paste core</a></li>
<li><a href="http://webob.org/">WebOb</a></li>
<li><a href="http://pythonpaste.org/deploy/">Paste Deploy</a></li>
<li><a href="http://pythonpaste.org/script/">Paste Script</a></li>
<li><a href="http://webtest.pythonpaste.org/">WebTest</a></li>
<li><a href="http://pythonpaste.org/scripttest/">ScriptType</a></li>
<li><a href="http://pythonpaste.org/initools/">INITools</a></li>
<li><a href="http://pythonpaste.org/tempita/">Tempita</a></li>
<li><a href="http://pythonpaste.org/waitforit/">WaitForIt</a></li>
<li><a href="http://pythonpaste.org/wphp/">WPHP</a></li>
<li><a href="http://pythonpaste.org/wsgifilter/">WSGIFilter</a></li>
<li><a href="http://pythonpaste.org/wsgiproxy/">WSGIProxy</a></li>
</ul>


  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">The Future Of Paste</a><ul>
<li><a class="reference internal" href="#introduction">Introduction</a></li>
<li><a class="reference internal" href="#already-extracted">Already Extracted</a></li>
<li><a class="reference internal" href="#to-be-separated">To Be Separated</a></li>
<li><a class="reference internal" href="#to-deprecate">To Deprecate</a></li>
<li><a class="reference internal" href="#undecided">Undecided</a></li>
</ul>
</li>
</ul>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="index.html">Documentation overview</a><ul>
      <li>Previous: <a href="news.html" title="previous chapter">News</a></li>
      <li>Next: <a href="testing-applications.html" title="next chapter">Testing Applications with Paste</a></li>
  </ul></li>
</ul>
</div>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/future.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2008, Ian Bicking.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 1.3.1</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.6</a>
      
      |
      <a href="_sources/future.txt"
          rel="nofollow">Page source</a>
    </div>

    

    
  </body>
</html>