Archive for October, 2008

m0n0-php5: debug information

As I already posted, I am developing the new m0n0 webgui in PHP5 with Zend Framework.

Development is going on. I will post frequently some state information.

I hope, I can publish some code in my git repo soon. I wanted to make sure that the directory structure  won’t change before i publish code.

The Zend Framework is actually very handy and I wonder if you have a application error (or any error) which can be catched by Zend, it would be great to let users send debug information with one click:

Git Cheat sheet: For your daily git work

The SVG is at:
http://ktown.kde.org/~zrusin/git/git-cheat-sheet.svg
Sample png’s are here:
http://ktown.kde.org/~zrusin/git/git-cheat-sheet-medium.png
http://ktown.kde.org/~zrusin/git/git-cheat-sheet-large.png

CRE: Domain Name System

Tim vom Chaos Computer Club Berlin imformiert ausführlich, qualitativ hochstehend und regelmässig in einem Podcast “Chaosradio Express” (kurz CRE) über Aktuelles rund um Technik und Gesellschaft.

Tim hat sich diesmal in der 99 Folge das DNS vorgenommen. Ich hatte noch nicht die Gelegenheit den Podcast selber zu hören, kann mir aber gut vorstellen, dass das sonst schon hohe Niveau in diesem Podcast nochmals übertroffen wird.

Wie man weiss ist DNS der wichtigste Dienst im Internet, obschon er seit nunmehr 25 Jahren praktisch nicht mehr verändert wurde, läuft er stabil. Die Anforderungen haben sich jedoch in den letzten Jahren exponentiell erweitert. So wird heute DNS für alles mögliche Missbraucht, besonders beliebt ist er auf für die Bekämpfung von SPAM (SPF, Spamblacklists).

GetText into your Eclipse IDE

I wanted to start a blog entry about translation and localsiation, but this going to be endless… there are sooo many ways to translate a piece of software. just see this wiki entry. But anyway, just wanted to let you know that you should forget arrays for translations, ini files, or cvs files. just use gettext or the xml based localisation stuff. Trust me! Most of the time i use gettext.

Did you know there is a Eclipse Plugin for gettext?

Developing iPhone Applications using Java

I found a interesting talk from GoogleTechTalks about developing iPhone Applications in Java. As you know, Apple does not plan to run a Java VM on the iPhone, so how does this work? See this:

Project: new m0n0wall’s webGUI

I have used m0n0wall since years and I am very satisfied about its robustness and its focus not wanting to be a all-in-one firewall . It does its job as firewall and that is all I needed. It has a nice webGUI for administration, which is coded in PHP.

Some months ago, I looked into the webGUI code and thought that this could be done much better. The design and logic are actually implemented into the same code. There are some other quirks which i don’t like. There is not a single line of object oriented PHP code. Several other projects like pfSense, freenas and askoziaPBX are m0n0wall based. I also wanted to make a new code base for these projects. Some small new features are also planned for the final release:

  • i18n / translations
  • Minimal themes: Change style/Logo with your own CSS
  • LDAP authentication
  • Logs by RSS/ATOM

I also wanted to use a framework (don’t wanted to reinvent the wheel) which had to be under BSD license, because m0n0wall is also released under BSD license. So I took the fantastic Zend Framework. For those who not know: Zend is the big company behind PHP’s core developing.

The PHP5 OOP based new webGUI Project, called m0n0-php5, is available under the my Projects page. Thesource can be found in my GIT repo.

A release is planned on Q1 2009.

Bitflu: Daemon-like Bittorrent client in Perl

Bitflu [1] (under The Artistic License [2]) is a free BitTorrent client. The client was written in Perl and is designed to run as a daemon (7×24h , like mlnet) on Linux, *BSD and maybe even OSX.

* Multiple downloads
* Designed to run as a daemon/No GUI: You can connect to the client via telnet and/or http (AJAX)
* Security: The client can chroot itself and drop privileges
* Bandwith shaping (currently only upload)
* Crash-Proof design: Crashes or a full filesystem will never corrupt your downloads again :-)
* Non-Threading/Non-Forking design: All connections are handled in non-blocking state using a dynamic select loop

[1] http://bitflu.workaround.ch/
[2] http://www.opensource.org/licenses/artistic-license.php

OpenCRX: Professional Java based CRM

openCRX [1] is a java based open CRM solution (BSD-style license) that meets the needs of organizations requiring multifunctional, enterprise-wide coordination of sales generation, sales fulfillment, marketing and service activities to customers, partners, suppliers or intermediaries. Read more.

Version 2.2 was released on Sept 22 2008, see release notes [2].

[1] http://www.opencrx.org/
[2] http://www.opencrx.org/opencrx/2.2/new.htm

Wordpress in Java: nWordpress

nWordPress [1] is the Java counterpart of the WordPress project version 2.5.1. It is an easy to install and lightweight blogging engine with a rich administrative interface, nWordPress lets you concentrate on writing quality content.

nWordPress is an open-source project under the GPL license, same as WordPress. It currently provides almost all of the original functionality, with comparable performance.

Under the hood, nWordPress is built on the Spring MVC framework.

[1] http://nwordpress.sourceforge.net/

PHOCOA: PHP5 framework

So mal wieder was PHPiges:

PHOCOA [1] (pronounced faux-ko) is a PHP framework (licensed under the MIT License) for developing web applications. PHOCOA’s primary intent is to make web application development in PHP easier, faster, and higher-quality. The framework handles most of the “dirty work” of web application development by providing infrastructure for all of the common tasks. Most of your time writing PHOCOA apps will be spent designing your GUI and writing application-specific logic rather than dealing with form data, database calls, etc.

PHOCOA is an object-oriented, event-driven, componentized, MVC (model-view-controller) web framework inspired by Apple’s Cocoa and WebObjects technologies.

[1] http://phocoa.com/