Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archived entries for

Mal wieder Unit Testing

Auf devshed gibt es den zweiten Teil der PHPUnit Serie: Unit Testing in Detail

Given the drawbacks to inlining tests, I choose to avoid that strategy and write my tests in their own files. For exterior tests, there are a number of different philosophies. Some people prefer to go the route of creating a t or tests subdirectory in each library directory for depositing test code. (This method has been the standard method for regression testing in Perl and was recently adopted for testing the PHP source build tree.) Others opt to place tests directly alongside their source files. There are organizational benefits to both of these methods, so it is largely a personal choice. To keep our examples clean here, I use the latter approach. For every library.inc file, you need to create a library.phpt file that contains all the PHPUnit_Framework_TestCase objects you define for it.

Noch ein Webservice der ein e verloren hat - Gickr

Gickr lets you create animated GIF images quickly and easily.

Braucht man’s? Keine Ahnung aber so finde ich es wenigsten wieder ;-)

PHP Design Principles

MetaPundit macht sich in zwei Artikeln Gedanken um (PHP) Design Principles.

Code smells and design principles

So let’s start with a really simple idea. Loops.

I know, I know, you’re thinking “LOOPS?” I could be reading about metaprogramming in ruby or macros in Lisp and this guy wants to lecture me about loops.

Well, yes, actually. (…)

But I don’t have in mind here syntax, but rather concepts. Here’s the programming principle I have in mind “LAG - Loops are good!”.

Code Smells II

Hand coding sql statements that are long but not complex, however, is a false rigor - updates and inserts tend to very simple logically but very repetitive in structure. This is exactly the sort of code that needs a higher level abstraction. While generated queries are not quite at the level of ORM, they do allow me to pursue the ever elusive goal of writing less code.

Grundsätze des Interaction Designs

Jens Meiert hat den Text Grundsätze des Interaction Designs von Bruce Tognazzini ins deutsche übersetzt.

Effektive Oberflächen sind visuell deutlich und nachsichtig, ihren Benutzern ein Gefühl von Kontrolle gebend. Benutzer erkennen sofort alle Optionen und Möglichkeiten, verstehen es, ihre Ziele zu erreichen, und erledigen ihre Arbeit.

Effektive Oberflächen beschäftigen den Benutzer nicht mit den internen Abläufen des Systems. Arbeit wird sorgfältig und kontinuierlich gespeichert, mit der jederzeit vorhandenen Möglichkeit, jede Aktion jederzeit rückgängig machen zu können.

Effektive Applikationen und Dienste leisten ein Maximum an Arbeit und erfordern nur ein Minimum an Informationen von ihren Benutzern.

Yep: iPhoto for your documents.

Wow Yep ist mal ein nützliches Stück Software. Ich habe sie zwar erst vor etwa 5 Minuten installiert, bin aber schon überzeugt.

Every computer has loads of PDF files, probably scattered all over your hard disk. Use Yep to search, view and manage all these documents in one convenient place.

Think of Yep as iPhoto for your documents.



Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.