Elements tagged with: programmierung

Page created at
A Test Framework for Django Oct. 31, 2005, 12:59 p.m.
DjangoTesting is part of my DjangoStuff project and is the start of a testing framework for Django, modeled after the testing framework that Ruby on Rails provides. Currently only model tests are implemented, request/response tests are planned. The testing framework is built solely on unittest and ...
Django, Programmierung, Python
Selenium Oct. 31, 2005, 10:23 a.m.
Selenium ist ein Testautomator für Webanwendungen. Es läuft direkt im Browser und benutzt IFrames und JavaScript um sich in die zu testende Seite zu hängen.
JavaScript, Programmierung
Case/When/Otherwise for Django Oct. 30, 2005, 1:04 p.m.
If you have any evil plans for a switch statement for Django (hia rjwittams! ;-)), you might want to look into my TagLib. There is a case/when/otherwise statement in there. It's quite easy to use: {% case variable %} {% when "value1" %} {% endwhen %} {% when "value2" %} {% endwhen %} {% otherwise %} ...
Django, Programmierung, Python
Adhoc-Organization in CM-Systems Oct. 28, 2005, 10:21 p.m.
Adhoc organization is what I named the basic design decisions for my new content management system (blog system, personal wiki, digital image shoebox - whatever). It's coming along nicely, even though up to now I only used it as a sample application to make use of my little tools from the ...
Django, Programmierung, Python
PostgreSQL 8.1 Oct. 27, 2005, 1:35 p.m.
PostgreSQL 8.1 mit Two-Phase-Commits und Benutzerrollen: Transaktionen können nun auf mehreren Rechnern mit PREPARE TRANSACTION vorbereitet und später gemeinsam ausgeführt werden. Fällt eine Maschine nach dem PREPARE aus, lässt sich die Transaktion nach dem Neustart per COMMIT korrekt ...
PostgreSQL, Programmierung
cucumber2 Oct. 27, 2005, 1:13 p.m.
cucumber2 ist ein sehr interessanter Object-Relational-Mapper für Python und PostgreSQL, der unter anderem auch die Tabellenvererbung in PostgreSQL unterstützt.
Programmierung, Python
Markdown for Django Oct. 26, 2005, 8:02 p.m.
Django already includes a markdown filter (in contrib.markup), but I nonetheless rolled my own Markdown for Django mini-app. The main benefits are link integration with django models (by using generic model queries and getabsoluteurl), a documentation generic view that handles language switching and ...
Django, Programmierung, Python
Scatha and Glaurung Oct. 26, 2005, 12:34 p.m.
Scatha and Glaurung sind zwei Schachprogramme in OpenMCL geschrieben, mit dem Cocoa-Support von OpenMCL. Nette Beispiele dafür, wie man mit OpenMCL native OS X Anwendungen bauen kann - und interessant zu spielen sind sie auch, vor allem die hexagonal-Schach-Version.
Lisp, Mac OS X, Programmierung
Twisted Buch ist raus Oct. 26, 2005, 9:15 a.m.
Wer sein Hirn nicht so ohne weiteres in die verdrehte Welt von Twisted quetschen kann, dem hilft vielleicht Twisted Network Programming Essentials - ein neues Buch zu der wohl mächtigsten Internet-Protokoll-Plattfor für Python. post a comment No HTML is allowed, if you want to post a link, just ...
Programmierung, Python
"Fitting on" some framework Oct. 26, 2005, 2:05 a.m.
How do you know wether a framework fits your style of thinking? It's not as if you could just look into a mirror wether it suits you nicely, you need other ways to decide that. One way to decide it is productivity - how fast you get your project up and running. But does that really tell you the ...
Django, Programmierung, Python
JavaScript Interactive Interpreter Oct. 26, 2005, 1:24 a.m.
Der JavaScript Interactive Interpreter ist ein nettes Spielzeug: man kann JavaScript-Ausdrücke eingeben und die Ergebnisse direkt sehen. Also im Prinzip eine JavaScript-Shell - nur läuft die natürlich dann im Browserfenster.
JavaScript, Programmierung
Googles Web Accelerator and Damager Oct. 25, 2005, 11:43 p.m.
Google at it again - Ian sagt eigentlich schon alles, was es dazu zu sagen gibt. Google behauptet, sie wollten nicht "evil" sein. Aber dafür sind sie grenzenlos dämlich, wie sich am wiederholten Start des Web-Damagers zeigt. Was macht der Web-Accelerator, und warum ist er so ein dämliches Stück ...
Programmierung, Sysadmin
python webdav server Oct. 25, 2005, 1:51 a.m.
python webdav server ist noch ein WebDAV Server für Python - seit 2000 nicht mehr aktualisiert, aber wenns funktioniert, könnte es reichen. Vielleicht verständlicher als Twisted-Code.
Programmierung, Python
akaDAV - Lightweight WebDAV server and python module Oct. 25, 2005, 1:50 a.m.
akaDAV - Lightweight WebDAV server and python module ist ein WebDAV Modul für Twisted. Damit kann man sich seinen eigenen WebDAV Server basteln. Könnte nütlich für mich sein, weil ich dann das Teil unter Userrechten laufen lassen kann, statt unter den Rechten des Webservers ...
Programmierung, Python
generic search service for Django Oct. 23, 2005, 11:11 p.m.
If your Django application needs searching capabilities, you can roll your own. Or you can use my generic search view. This provides a parser for queries and a search machinery that is suiteable for moderate database sizes. It provides an extensible google-like syntax. The main problem is that ...
Django, Programmierung, Python
Version Control with SVK Oct. 22, 2005, 1:28 a.m.
Version Control with SVK ist ein Online-Buch über SVK - ein verteiltes Versionssystem, das sehr gut mit SVN und CVS (unter anderem) harmoniert. Und gerade für die Arbeit mit Patches für Upstream-Systeme und für lokale Forks von Open Source Software eine ziemliche Erleichterung bietet. Das Buch ...
Programmierung, Sysadmin
very simple view functions Oct. 22, 2005, 1:11 a.m.
Sometimes you have a bunch of really simple view functions in your django project (yes, this is for your, bitprophet! ;-)). View functions that are actually not more than just a rendertoresponse call - take a template, take some data from the request, stuff them in and render a response. It's rather ...
Django, Programmierung, Python
Module Hacking for Django Oct. 21, 2005, 9:31 p.m.
Django itself constructs model modules dynamically from your model classes. That's what I used in my first take at the abstract tagging application. Now I found a better way in the current version - I can modify the dynamic module myself quite easily, generate a dynamic model class and push that ...
Django, Programmierung, Python
Twisted Names Oct. 21, 2005, 12:07 a.m.
Twisted Names muss ich mir mal angucken - ein DNS server in Python auf Twisted-Basis. Könnte ich ja auf DB-Benutzung umstricken, als Alternative zum PowerDNS.
Programmierung, Python, Sysadmin
Aperture Oct. 20, 2005, 2:30 p.m.
War ja schon angekündigt, jetzt ist es da - Aperture. Von Apple. Das Video dazu ist nett, sieht sehr brauchbar aus, was die gemacht haben. Und ich würde mir sogar die fast 500 Euronen gefallen lassen - ok, Photoshop-Updates wären für mich billiger, aber Aperture ist nunmal RAW-zentrisch ...
Fotografie, Programmierung
Tagging with Django Oct. 19, 2005, 4:47 p.m.
Since the question about how to do tagging with Django shows up quite often, I have written a small solution to this problem: AbstractTagging. This is a generic application and generic views that give you a very simple solution to add tagging to any model you have in your django apps. It's currently ...
Django, Programmierung, Python
The Coolest DHTML / JavaScript Calendar Oct. 18, 2005, 12:47 a.m.
Keine Ahnung ob es wirklich The Coolest DHTML / JavaScript Calendar ist, aber er sieht ganz nett aus. Und hat ein paar recht wichtige Features - wie z.B. die Möglichkeit, ihn zu verschieben.
JavaScript, Programmierung
call of the noodle Oct. 17, 2005, 12:03 p.m.
Da schreibt einer an einem Lisp-Compiler für Python-Bytecode - sehr interessant, da man damit die Python Libraries unter einem Lisp-Dialekt benutzen könnte. Mal schauen wenn der erste Release kommt, wie der Lisp-Dialekt aussehen wird und was für Features er abdecken wird. Mit Unterstützung für ...
Lisp, Programmierung, Python
Using Django as a CMS Oct. 16, 2005, 3:44 p.m.
I am currently reworking one of my sites - Content-type: matter-transport/sentient-life-form. It was a Apache::MiniWiki based site before and is now in the transition to being a Django based site. The idea of the code for that site is to build a CMS based on Django that fully uses the Django admin. ...
Django, Programmierung, Python
Geschäftsmodell von Open Source ... Oct. 14, 2005, 5:51 p.m.
... allein das zu hören macht mir schon Pickel. Diese absolute Unfähigkeit von Interessenverbänden aus der Wirtschaft sich eine Motivation ohne Geschäftsmodell vorstellen zu können - traurig. post a comment No HTML is allowed, if you want to post a link, just write the link on it's own line. ...
Programmierung
Tailor - Versionsvermittler Oct. 14, 2005, 1:31 a.m.
Tailor ist ein Python Script das Changesets zwischen verschiedenen Versionssystemen austauschen kann. Im Prinzip kann man damit auch Repositories in anderen Versionssystemen spiegeln. post a comment No HTML is allowed, if you want to post a link, just write the link on it's own line. Only approved ...
Programmierung
Trac on Darcs Oct. 14, 2005, 12:50 a.m.
Ich liebe ja bekanntermaßen Trac als Projektwerkzeug - und bin mit Subversion als Versionierung (oder neuerdings mit SVK als auf Subversion aufsetzendem Versionswerkzeug) ganz zufrieden. Aber darcs hat mich auch begeistert, weils so schön unbürokratisch ist - und jetzt gibts auch Trac auf Darcs - ...
Programmierung
SVK - Subversion distributed Oct. 13, 2005, 3:34 p.m.
SVK ist ein verteiltes Versionssystem mit einer Besonderheit: es kann Trees anderer Versionssysteme (unter anderem SVN) spiegeln und darauf dann Arbeitskopien definieren. Man kann also ein Subversion-Repository eines Projektes spiegeln, einen eigenen lokalen Branch anlegen, darin arbeiten und die ...
Programmierung
Oracle/SQL Tutorial Oct. 13, 2005, 8:44 a.m.
Falls mal jemand so wie ich einem Kollegen ohne SQL-Erfahrung bezüglich Oracle aufs Pferd helfen soll: Oracle/SQL Tutorial. Ganz nett gemacht.
Programmierung
snippetsEmu Oct. 12, 2005, 7:23 p.m.
Für vim: snippetsEmu emuliert die Snippet-Funktion von TextMate, nur halt mit vim Makros.
Programmierung
Caching Tutorial for Web Authors and Webmasters Oct. 11, 2005, 8 p.m.
Keine Ahnung ob ich das schon mal hatte, aber Caching Tutorial for Web Authors and Webmasters sieht nach einer brauchbaren Beschreibung der Caching-Direktiven in HTTP aus, mit Erläuterungen für Anwendungsprogrammierer.
Programmierung
Accent-Zeichen in ihr Basiszeichen umwandelt Oct. 11, 2005, 4:51 p.m.
Wie man in Python Accent-Zeichen in ihr Basiszeichen umwandelt. Ziemlich banaler Ansatz, aber für viele Zwecke völlig ausreichend. Für richtige Lösungen gibts dann PyICU ...
Programmierung, Python
Django i18n status Oct. 11, 2005, 4:29 p.m.
I worked a bit more on the i18n stuff in django today and finally switched my gallery to the i18n branch. You can now see the strings on that site with either english or german settings. Other languages get english output (so if you are in Germany and still see english strings - check the language ...
Django, Programmierung, Python
Ajax mal anders Oct. 8, 2005, 10:50 a.m.
Subway's new Ajax framework hat einen interessanten Ansatz: per inspect wird Python-Source aus einer Methode geholt und dann nach JavaScript übersetzt. Natürlich wird dabei nur ein Subset von Python unterstützt, aber die Idee ist recht interessant - Python-Syntax für JavaScript. Natürlich ...
JavaScript, Programmierung, Python
Pragmatic Ajax Oct. 7, 2005, 12:48 p.m.
Pragmatic Ajax wird ein Buch (derzeit noch im Beta-Stadium - man kann aber schon vorbestellen und kriegt dann die Betas als PDF) über Ajax und die ganzen Sachen rundrum. Die Pragmatic Bookshelf Bücher sind meist recht pragmatisch (ach) und angenehm zu lesen, könnte sich also lohnen.
JavaScript, Programmierung
WSGI and WSGI Middleware is Easy Oct. 7, 2005, 12:21 p.m.
WSGI and WSGI Middleware is Easy beschreibt wie man mit WSGI Middleware arbeitet und was das eigentlich ist.
Programmierung, Python
RobotFlow Oct. 6, 2005, 1:21 a.m.
RobotFlow basiert auf FlowDesigner - sowas wie Open Source LabView - und ist eine grafische Robot-Programmier-Plattform, vergleichbar zu RoboLab. Leider aber noch kein LegOS Backend (oder wenigstens eins für den Lego Mindstorms Bytecode) für RobotFlow zwinkerndes Gesicht
Programmierung
OpenMCL 1.0 Oct. 5, 2005, 10:10 p.m.
OpenMCL 1.0 ist raus - nach einer doch recht langen Zeit endlich mal ein anständiger Versionssprung lachendes Gesicht
Lisp, Programmierung
Python Paste Power Oct. 5, 2005, 11:16 a.m.
Python Paste Power ist ein sehr interessanter Artikel über Python Paste, das Metaframework von Ian Bicking. Es macht die Anwendung und Verteilung von Web-Anwendungen in Python sehr viel einfacher (jedenfalls wenn das Framework mit dem man die Anwendung bauen will Paste Support hat). post a comment ...
Programmierung, Python
IRC Logger update Oct. 4, 2005, 9:45 p.m.
The IRC logger is working fine, but I wasn't happy with the dependence on muh - so I wrote my own little logger bot in python, based on irclib. Does work fine and does only what I want it to do - logging. I allways feel a bit queasy when IRC bots have command structures and stuff like that and I ...
Django, Programmierung, Python
Retrocomputing - MIT CADR Lisp Machines Oct. 3, 2005, 1:20 p.m.
Yeeeehaaaa! Der Sourcecode der MIT CADR Lisp Machines - dem Vorläufer der meisten High-End-Lispmaschinen - ist unter einer BSD-Lizenz freigegeben worden! Das dürfte hoffentlich dem CADR Lisp Emulator weiteren Auftrieb geben. In letzter Zeit wars ja etwas ruhig um den Emulator geworden. Wenn jetzt ...
Lisp, Programmierung
37signals mal wieder Oct. 3, 2005, 11:36 a.m.
Diesmal Writeboard son Teil zum gemeinsamen Editieren von Texten über das Web. Im Prinzip vielleicht sowas wie SubEthaEdit für ganz arme. Aus der FAQ: Is this some sort of wiki? No way. Not at all. Nope. Wikis are icky. Writeboard is about writing and editing solo or with others. It's all about ...
Programmierung
IRC logger for #django Oct. 2, 2005, 2:59 p.m.
There now is a IRC logger for #django on freenode.net. Ever since the loglibrary broke down, I thought about rolling my own. So I started to build the stuff needed for an IRC logger. The interface itself is written with django, of course :-) As allways, the source is available in my trac instance. ...
Django, Programmierung, Python
TwistedDAV Oct. 1, 2005, 10:24 a.m.
TwistedDAV ist ein WebDAV Server in Python, der unter Twisted läuft. Sehr interessant wenn man etwas auf DAV aufbauen möchte - bisher gabs da nur den Zope-Source als Beispiel und Basis.
Programmierung, Python