Skip to content

Commit

Permalink
Add about pages and fix title
Browse files Browse the repository at this point in the history
A part of Pylons#7.
  • Loading branch information
JanLikar committed Dec 6, 2016
1 parent ddb7078 commit 2e11a3e
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 2 deletions.
22 changes: 22 additions & 0 deletions src/templates/about-pylons.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<%- include partials/top %>

<div class="page">
<section class="section-content">
<div class="container">
<h1 class="title text-blue">About The Pylons Project</h1>
<p>The Pylons Project is composed of a disparate group of project leaders
with experience going back to the very start of Python web frameworks.
Collectively, we have experience and humility gained by making (and
surviving) every stupid decision that could be imagined. We aim to bring
fresh ideas to classic web development problems.</p>
<p>Rather than focusing on a single web framework, the Pylons Project will
develop a collection of related technologies. The first package from the
Pylons Project was the Pyramid web framework. Other packages have been added
to the collection over time, including higher-level components and
applications. We hope to evolve the project into an ecosystem of
well-tested, well-documented components which interoperate easily.</p>
</div>
</section>
</div>

<%- include partials/bottom %>
3 changes: 3 additions & 0 deletions src/templates/about-pylons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"title": "About Pylons"
}
28 changes: 28 additions & 0 deletions src/templates/history.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<%- include partials/top %>

<div class="page">
<section class="section-content">
<div class="container">
<h1 class="title text-blue">History of Pylons</h1>
<p>Pylons initially started and referred just the Pylons Framework before the merger that resulted in the Pylons Project. The below timeline starts with the Pylons Framework to provide the background for how the Pylons Project came to be, how the developers ended up merging their efforts, and the origin projects. Some background is also provided on the other frameworks that merged to form the Pylons Project.</p>
<section id="pylons-0-8-2005-2006">
<h2 class="title text-blue">Pylons 0.8 (2005 - 2006)</h2>
<p>Pylons was developed at a time when many Python frameworks (30+ of them) were vying for users. Ben Bangert noticed that another Python framework, Bricks, had a similar goal and merged development efforts with James Gardner to work on the web development framework that became Pylons.</p>
<p>Pylons first came into existence in September, 2005. Initially it was a customization of the Myghty Python Templating Framework, utilizing page handler customization to provide a MVC oriented web framework. Rather than running under mod_python as was common for Myghty, Pylons ran using Myghty's WSGI handler under Paste.</p>
<p>Unlike most other Python frameworks at the time, Pylons focused heavily on utilizing the WSGI specification for a flexible component based approach to a web application stack. Session handling, caching, the default templating language, and the request/response objects were all handled by Myghty, while Paste was used to load and run the application, and Routes was created to handle URL dispatching and generation. Around this time, Phil Jenvey joined the development team and began working actively on Pylons.</p>
</section>
<section id="pylons-0-9-0-9-7-2006-2009">
<h2 class="title text-blue">Pylons 0.9 - 0.9.7 (2006 - 2009)</h2>
<p>Pylons 0.9 was released during O'Reilly's 2006 OSCON and brought some major changes to the internal architecture.</p>
<p>Running as a Myghty page handler customization became a less than optimal design decision, and Pylons 0.9 made a clear break by running entirely as a WSGI application that then used Myghty as needed for templates only. Session handling and caching were handled by a new 3rd party package called Beaker that was based on the caching/session handling subsystem used by Myghty. Request and response objects were provided by light-weight WSGI wrappers in Paste, which was also still used to run and load the web application.</p>
<p>During the development of the 0.9 series, several features of Paste were extracted into smaller, more focused packages. The testing suite became WebTest, the WSGI wrappers became WebOb, and the interactive debugging environment became WebError. Pylons 0.9 follows these developments by switching from using Paste to the new packages which provide more functionality with little to no backwards incompatibility issues.</p>
</section>
<section id="pylons-1-0-and-1-1-2010-2011">
<h2 class="title text-blue">Pylons 1.0 and 1.1 (2010-2011)</h2>
<p>Pylons 1.0 is a polished release of the Pylons framework, to be followed by a Pylons 1.1 in 2011 that will include additional forward-compatible Pyramid capabilities to ease the transition to the new web framework.</p>
</section>
</div>
</section>
</div>

<%- include partials/bottom %>
3 changes: 3 additions & 0 deletions src/templates/history.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"title": "History of Pylons"
}
25 changes: 25 additions & 0 deletions src/templates/license.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<%- include partials/top %>

<div class="page">
<section class="section-content">
<div class="container">
<section id="license">
<h1 class="title text-blue">License</h1>
<p>A copyright notice accompanies this license document that identifies the copyright holders.</p>
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:</p>
<ol class="arabic simple">
<li>Redistributions in source code must retain the accompanying copyright notice, this list of conditions, and the following disclaimer.</li>
<li>Redistributions in binary form must reproduce the accompanying copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution.</li>
<li>Names of the copyright holders must not be used to endorse or promote products derived from this software without prior written permission from the copyright holders.</li>
<li>If any files are modified, you must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.</li>
</ol>
</section>
<section id="disclaimer">
<h2 class="title text-blue">Disclaimer</h2>
<p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
</section>
</div>
</section>
</div>

<%- include partials/bottom %>
3 changes: 3 additions & 0 deletions src/templates/license.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"title": "License"
}
2 changes: 1 addition & 1 deletion src/templates/partials/top.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><% if (context.index_page) { %>Welcome to the Pylons Project<% } else { %><%= context.title %> | Pylons Project<% } %>
<title><% if (context.index_page) { %>Welcome to the Pylons Project<% } else { %><%= context.title %> | Pylons Project<% } %></title>
<meta name="description" content="The Pylons Project Oragnization develops web application framework technology in Python. This site provides an easy entry point into Pylons Project Organization projects.">
<meta name="keywords" content="pyramid, web framework, python web framework, pyramid web framework, python, pylons, pylons project, open source">
<meta name="author" content="Pylons Project">
Expand Down
23 changes: 22 additions & 1 deletion webpack.tmpl.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,28 @@ var config = {
uglify: true,
context: require(path.resolve(baseDir, 'colors.json')),
page: 'colors.html'
}
},
{
template: 'src/templates/license.ejs',
filename: 'license.html',
uglify: true,
context: require(path.resolve(baseDir, 'license.json')),
page: 'license.html'
},
{
template: 'src/templates/about-pylons.ejs',
filename: 'about-pylons.html',
uglify: true,
context: require(path.resolve(baseDir, 'about-pylons.json')),
page: 'about-pylons.html'
},
{
template: 'src/templates/history.ejs',
filename: 'history.html',
uglify: true,
context: require(path.resolve(baseDir, 'history.json')),
page: 'history.html'
},
]
};

Expand Down

0 comments on commit 2e11a3e

Please sign in to comment.