Archive for the 'OSS' Category

PHP/Java bridge: XML-based network protocol

The php/Java bridge [1] is a streamed, XML-based network protocol, which can be used to connect a native script engine, PHP, with a Java or ECMA 335 virtual machine. It is more than 50 times faster than local RPC via SOAP, requires less resources on the web-server side, and it is faster and more reliable than direct communication via the Java Native Interface

[1] http://php-java-bridge.sourceforge.net/

Eclim: Eclipse in Vim

The primary goal of eclim [1] is to bring Eclipse functionality to the Vim editor. The initial goal was to provide Eclipse’s java functionality in vim, but support for various other languages (php, python, css, html, xml, etc.) have been added and several more are planned.

Eclim is less of an application and more of an integration of two great projects. The first, Vim, is arguably one of the best text editors in existence. The second, Eclipse, provides many great tools for development in various languages. Each provides many features that can increase developer productivity, but both still leave something to be desired. Vim lacks native Java support and many of the advanced features available in Eclipse. Eclipse, on the other hand, still requires the use of the mouse for many things, and when compared to Vim, provides a less than ideal interface for editing text.

That is where eclim comes into play. Instead of trying to write an IDE in Vim or a Vim editor in Eclipse, eclim provides an Eclipse plug-in that exposes Eclipse features through a server interface, and a set of Vim plug-ins that communicate with Eclipse over that interface.

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

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

Next Page »