VisualSVN Server – All-in-one installer for Subversion and Apache

„VisualSVN Server is a package that contains everything you need to install, configure and manage Subversion server for your team on Windows platform. It includes Subversion, Apache and a management console.

You can use any Subversion client to connect to VisualSVN Server or a web browser to quickly browse though repositories. Also you may find VisualSVN useful to integrate Subversion into Visual Studio.

VisualSVN Server – All-in-one installer for Subversion and Apache

Auf der Suche nach dem perfekten PHP Application Framework

Ich habe mich in letzter Zeit etwas nach Frameworks für die Applikationsentwicklung in PHP umgesehen. Hintergrund ist die anstehende Entwicklung einer etwas grösseren Anwendung. Das Framework sollte den MVC-Pattern umsetzen, eventuell Hilfestellungen bei Routine-Tasks geben, aktuell sein (weiterentwickelt werden) und vor allem sollte die verfügbare Dokumentation umfangreich sein.

Nach kurzer Zeit musste ich feststellen, dass die Auswahl sehr gross und unübersichtlich ist. Bisher habe ich mich nicht entschieden. Vielleicht hat der eine odere andere Leser Erfahrungen mit einem dieser Frameworks und möchte sie mit mir teilen? Ausserdem mag ich mit diesem Überblick die Leute unterstützen, die vor einer Ähnlichen Entscheidung stehen.

Es handelt sich hierbei wirklich nur um einen Überblick und keine Bewertung. Es werden die mir bekannten Frameworks mit der Beschreibung von ihrer Webseite verlinkt.

(mehr …)

Web Developer command line tricks

“ Below is a list of command line tricks I’ve found to be very useful in web development that a surprising number of web developers don’t know about.

1. ln -s /some/destination name_of_link

This is pretty straightforward: it’ll create a symbolic link from name_of_link to /some/destination. If I’m sitting in /www/matthew/ and I entered the above command, a new file will be created inside that directory that moves the user to /some/destination if they CD to name_of_link. (It’s a shortcut, basically).

If I’m working on a web server where the docroot is buried deep in a directory structure, I’ll often create a symbolic link in something like /www to save myself a few keystrokes when accessing it.

Also, apache won’t follow symbolic links unless you tell it to do so using the following directive: Options +FollowSymLinks
2. tail -f /some/file

This tails a file: it’ll read what’s at the end and output it to your terminal. The -f parameter tells it to keep outputting as the file grows. I use this a lot when examining log files that are constantly being written to.
3. ctrl+z and bg

ctrl+z is the long lost brother of ctrl+c. It’s a signal that tells the process to suspend execution, while ctrl+c terminates it. Ctrl+z is useful if you execute a process but you want to get control of your shell; it’ll suspend the process and send it to the background. Think of ctrl+z like minimizing a window, except once it’s minimized it’s not doing anything anymore. If you want the process to stay in the background but continue running, that’s where bg (background) comes in: typing bg once a process has been suspended makes the process resume but still keeps it in the background.

I often combine ctrl+z and bg with tail:

shell> perl -e ‚while() { print „.“; sleep(1); }‘ > bunch_of_dots.log

[hit ctrl+z, execution is suspended]

shell> bg [process is now in the background and running]
shell>tail -f bunch_of_dots.log [show me the printed dots]

4. fg and jobs

fg is used if you background a process but want to bring it to the foreground. If you have multiple processes in the background, type ‚jobs‘ into your terminal to see them all. This will display a list of processes that are in the background with each process assigned a number (Note: these are not the same as pids). Typing fg [some number] will resume the process you sent to the background where [some number] matches the number reported by ‚jobs.‘

A good example of using fg is if you’re working with an interactive program, such as the mysql command line, but you want to drop back to the shell.

mysql>SELECT foo FROM bar;

mysql> [hit ctrl+z]

[1]+ Stopped

shell>pwd /home/matt/stuff


[1]+ Stopped mysql -u matt -p matts_db

shell>fg 1

mysql>[hooray, we’re back in the mysql command line]

You can omit the job number when running ‚fg,‘ it’ll just foreground the first process you sent to the background. So if you only have one process in the background you can just type ‚fg‘ without any extra numbers.

5. Hit the freakin tab key!

Assuming your shell is configured properly, hitting tab will auto-complete with whatever it thinks you need. I’ve encountered a surprising number of developers who don’t know about this and move around servers at glacial speeds. If you aren’t familiar with the tab auto-complete, get to a terminal right now and type cd [tap the tab key], you should see a list of available files or commands.

6. scp

This securely copies a file across a network using SSH for data transfer. For example:

scp [email protected]:~/secret_stuff /some/destination

This would connect via SSH to as the user ‚matt‘ and copy the file ’secure_stuff‘ from my home directory on to /some/destination on the machine I’m currently on. It’s saved me a ton of time when transferring sensitive files from one machine to another.

Web Developer command line tricks

Configuring Apache for maximum Performance

„Apache is an open-source HTTP server implementation. It is the most popular web server on the Internet. The December 2005 Web Server Survey conducted by Netcraft [1] shows that about 70% of the web sites on Internet are using Apache.
1. Apache server performance
Apache server performance can be improved by adding additional hardware resources such as RAM, faster CPU etc. But, most of the time, the same result can be achieved by custom configuration of the server. This article looks into getting maximum performance out of Apache with the existing hardware resources, specifically on the Linux systems. Of course, it is assumed that there is enough hardware resources, especially enough RAM that the server isn’t swapping frequently. First two sections look into various Compile-Time and Run-Time configuration options. Run-Time section assumes that Apache is compiled with prefork MPM. HTTP compression and caching is discussed next. Finally, using separate servers for serving static and dynamic contents are being discussed. Basic knowledge of compiling and configuring Apache, and Linux are assumed. „

Configuring Apache for maximum Performance

Configuring Apache for maximum Performance Whats New in ModSecurity

„ModSecurity 1.9 was released in early November 2005, more than a year after the previous stable release, version 1.8. The delay between the two releases was much longer than I had anticipated. Looking back, I really should have released 1.9 back in April, but it so happened that I skipped that release and continued adding new features. This resulted in a release that contains double the features and more than a 40 percent increase of the source code size.

This article describes the most important new features in ModSecurity 1.9. This is somewhat difficult to do, because there are so many of them, but I have decided to group the enhancements into three major areas:

Rule engine enhancements
Real-time audit log aggregation
Stateful request monitoring“ Whats New in ModSecurity Whats New in ModSecurity