- rssvihla on Buffer Cache Makes Slow Disks Seem Fast, Till You Need Them.
- ayende on Buffer Cache Makes Slow Disks Seem Fast, Till You Need Them.
- Articles for 2014-feb-12 | Readings for a day on How to become in polyglot in 5 hard steps.
- Steve on How to become in polyglot in 5 hard steps.
- MBR on How to become in polyglot in 5 hard steps.
- Dynamic Langs
Category Archives: Pylons
Lets take a look at our existing site and what we can do to clean it up and add some badly needed functionality, however that is beyond the scope of my series. So I’m going to leave some hints for … Continue reading
Last post we left off with very basic database access, and testing story completed. Now we’re going to look at basic Authorization and Authentication with AuthKit. NOTE: most of this post is just an aggregation of a couple of chapters … Continue reading
UPDATE: was an error caught by Govind (who is turning out to be my unofficial proofreader). I’ve made a correction in the thread mapping for “dateadded” property in the previous article. If this you are caught up with and error … Continue reading
We last left off with Views with Mako, now Pylons does not enforce on you an ORM at all, so you can use hand crafted SQL if you prefer. However, since I’ve done enough of that for a career or … Continue reading
This is a huge post and I should have split this into several smaller ones so please bear with me while I get my series format tweaked. We last left off with Controllers, Views and Testing with a basic test, … Continue reading
We last left off with Getting Started and having created our “pylonsforum” project and generated our first controller. Source for home.py import logging from pylons import request, response, session, tmpl_context as c from pylons.controllers.util import abort, redirect_to from pylonsforum.lib.base import BaseController, render log = logging.getLogger(__name__) class HomeController(BaseController): def index(self): # Return a rendered template #return render(‘/home.mako’) # or, return a response return ‘Hello World Source for test_home.py from pylonsforum.tests import * class TestHomeController(TestController): def test_index(self): response = self.app.get(url(controller=‘home’, action=‘index’)) … Continue reading
This article assumes you have Python 2.6 and Setuptools already installed on your machine and that you’re install SQL Alchemy 0.54 and Pylons 0.97 Overview Pylons is a component based MVC web framework. It, like a lot of more recent … Continue reading