-
First a disclaimer. I’m not in anyway shape or form an experienced win32 systems programmer. I’ve always done application development or systems administration scripting. That in-between area where you get out your C/C++ compiler and start dealing with pointers is completely alien to me. ...
-
With my recent work in Python win32 programming I’ve had a real need for AAA style mocking framework. Unable to find anything that I’ve been completely happy with I started my own simple mocking framework and got to learn some Python style meta programming in the process. I’ve found...
-
One of the things we do pretty well at Los Techies is explaining SOLID principles and why they make our code more maintainable and if you’re not familiar with our work on SOLID, read Chad Meyer's post to get an understanding on the Los Techies perspective. Now that you’ve taken a bit of time to...
-
After a year or so of solid Alt Dot Net infection (as far as infections go its a pretty awesome one to have), I decided to give Python a try again for more than one off sysadmin tasks, and to actually dive into it as a newly minted “Agilista”. However, I had a problem..there were no non-painful...
-
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 the remaining functionality to get you started. Refactoring Ideas Replace default authkit login with...
-
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 in the Pylons Book since this setup is a good base starting point...
-
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 indicating there is no dateadded property on thread make sure...
-
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 two we’re going to use my Python ORM of choice and the preferred one for Pylons SQLAlchemy. Where...
-
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, basic view and basic controller. Now with our basic scaffold built we can focus on making our...
-
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...
-
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 MVC frameworks, is borrowing some ideas and concepts from rails...
-
Briefly, IronPython is an implementation of Python in the .Net runtime. This allows you access to .Net framework goodness while programming in a dynamic language. The current stable version 2.0.1 maps to CPython 2.5.This allows me to do fun fun things like use my python project to access a c# project...
-
Scott Guthrie has posted a notice of the IronPython Cookbook wiki that is now online. I have Python experience via scripting in Linux. It's a very cool language. It takes some time getting used to no brackets if you are a C-type language developer, but otherwise it is just as powerful as some of...