Welcome Zeta Components!

June 2nd, 2010

Before a while, there was a very promising Proposal called Zeta Components at the Apache Incubator list. It described a set of PHP components similar which eases the life of us all. It has already progressed very good before developers decided to switch to Apache. In the past days this library has been developed under the name eZ Components and was wellknown to the community.

In my opinion this new project will be very important to the ASF. Apache only hosts two other PHP projects, Log4PHP and Shindig. Since PHP is becoming more and more popular for big business (think on Facebook) I think its necessary to attract more developers and bring them into the Apache community. Many PHP projects out there use the GPL license, and that is sometimes very difficult to combine with commerical work. Good that we now have a component framework under ASL! Together with Log4PHP it’s a good start for much proprietary work.

More in future, I think that even the PIWI Framework will benefit of this change. I already had some trouble with dependent GPL code in it and hopefully Zeta can address most of my wishes. PIWI built upon Log4PHP and Zeta would be charming. But as already said, this will need a while.

At the moment, Zeta Components do already have a mailinglists and status page on the incubator. Jira will follow and after finally the CLAs of the initial developers have been processed, work can begin. However, if you are interest in helping this project subscribe to the user and to the dev list mentioned in the status page.

Lucky me I have been elected into the Apache Incubator PMC and can now serve as a mentor to this project. It’s not only honour to me, it’s also a good chance to work with obviously very nice people and excellent technicians. Also it makes it easy to me to step into this project and learn all I need.

So, welcome Zeta Components!! I am glad you arrived at the Apache Software Foundation!


Komuso Shakuhachi Konzert: Meister IKKEI Hanada

June 1st, 2010

Meister IKKEI Hanada

spielt traditionelle, seit dem 14. Jahrhundert überlieferte Musik der Komuso (Fuke Shakuhachi-Mönche) auf der Shakuhachi (japanische Bambusflöte).

Samstag, 19. Juni 2010, 19.00 Uhr

im Atelier Lachdach
Landsbergerstr.444, 81241München
(Pasing, oder nähe Trambahn “Am Knie“)

Karten zu 15 Euro
Telefonische Reservierung unter:
Tel: 08179/929375
Fax: 08179/929376

http://www.ichionkai.de


Relaxing from the virtual world

May 25th, 2010

Lots of time we are usually wasting in the virtual world. If not working on our computers, we are chatting and e-mailing. A friend does something he calls “casual surfing” with his brandnew iPad. We live in a high speed world and that’s terrible sometimes. Good that there are so much other things around. My wife took this great snapshot below from our gelding this weekend and it reminded me to sit down, relax and enjoy my existence. Having so a beautyful companion like our young horse is making everything much more easier. I want to share my wifes photo with you and hope you’ll also find some time to step back very soon.
Luca


New print articles this month

May 17th, 2010

Currently I have a good interest in PHP development and for that reason I wrote some articles in that areas. Two of them are now published. In the current PHP User (a magazine for PHP beginners) appeared a small “who is who” article. And in the PHP Magazin (expert programmers) appeared an introduction about PIWI, written by Daniel Palme and myself. PHP Magazin


Komuso Shakuhachi Konzert: Renkei Hashimoto

April 20th, 2010

Renkei Hashimoto

spielt traditionelle, seit dem 14. Jahrhundert überlieferte Musik der Komuso (Fuke Shakuhachi-Mönche) auf der Shakuhachi (japanische Bambusflöte).

Freitag, 14. Mai 2010, 20.00 Uhr

im Studio 3
Bleichstraße 22b, 90429 Nürnberg

Karten zu 15 Euro
Telefonische Reservierung unter:
Tel: 08179/929375
Fax: 08179/929376

http://www.ichionkai.de


How to localize WordPress pages

March 12th, 2010

Sometimes I am surprised by the power of WordPress. To be honest, I don’t like the style of coding done in WordPress. All that global functions… bwah. But on the other hand, people managed it somehow to create a flexible and extensible product. I don’t know how it is to make huge projects with WordPress, but for my little own blog it gave me everything I need so far. This time I wanted to create localized pages, which have been served by PIWI before. In order to reduce the overhead for my website, I decided to use WordPress as one and only the system. It is updated in regular periods and PIWI is not. It has tons of plugins and PIWI not. However, PIWI is more to my taste of professional software and I will continue to use it on more enterprise developments.

Localization does not work out of the box in WordPress. But the concepts in WordPress allow to use a combination of custom fields and themes to make this work. I refused to translate all my blogposts and for only pages it is very straightforward.

First I created my pages in the wordpress pages section. In the Custom fields I used a new meta key named “language” and put as value “de” or “en” for german or english.

Custom fields for localization

I couldn’t use the Pages Widget, because I need to generate my navigation out of the selected language. Not to conflict with my current implementation I duplicated my current theme and used the preview function to work on it (on a live system, which is a really great feature :-) for prime time programming). I should mention that I created two pages, one for each language, only stating that the language has been changed.

Next step was to include the language flags in my theme (header.php in my case). I linked the flags to my newly created “language switched” pages. Additionally I have added the param language=de (or en for english) to the link. My complete link for the german language is as follows:

http://www.grobmeier.de/deine-sprache-wurde-umgestellt?language=de

Ok, I am now able to link between the languages. In my header.php I wrote this:

session_start();
include(TEMPLATEPATH . '/grobmeier-session.functions.php');

I started the session myself – it seems WordPress frontend doesn’t use session at all. In the included new php grobmeier-session.functions.php I create a function for storing my language key. This function has been stolen and modified from PIWI:

function grobmeier_getUserLanguage() {
    $supported[] = 'de';
    $supported[] = 'en';

   if (isset ($_GET['language'])) {
       if (in_array($_GET['language'], $supported)) {
            $_SESSION['language'] = $_GET['language'];
       }
    }

    if (!isset ($_SESSION['language'])) {
        $_SESSION['language'] = 'en';
    }
    return $_SESSION['language'];
}

Now I just need to generate the navigation. I’ll do this with a prepared function of wordpress. On the correct place in my header.php I wrote:

$args = array(
'meta_key' => 'language',
'meta_value' =>  grobmeier_getUserLanguage());
wp_list_pages( $args );

As you might see, the navigation is build on the user language setting. And that’s all – you’ll deliver localized versions of your pages from now on. I should mention this works with 2.9.2 and I think earlier versions too. You just need to create pages with the correct custom field setting.


Apache Log4PHP graduated!

March 11th, 2010

Good news! The Apache Incubator Log4PHP project graduated as subproject to the Apache Logging project. This is really a big step forward! The next days I will try to push the real work behind a graduation forward, moving webpages and svn and such. After that move we’ll continue with a new small release. Cheers all!


New Java Magazin article

March 5th, 2010

Javamagazin 04 2010In the new Java Magazin is a printed version of my review of “Apache Geronimo 2.1: Quick Reference” available. It’s only a short entry to this Java Magazin, but for the sake of completeness I listed it also in my publications section. However, this one comes with a DVD – on it are all Java Magazines from 2009. Thats pretty nice to have, esspecially because I didn’t have the time to read all the issues last year.


Log4PHP tries to graduate to Apache Logging

March 2nd, 2010

The past year has been very well for Log4PHP. As you might have noticed, the Log4PHP 2.0.0 release is out. There has been some good feedback so far. Some users even contributed smaller bugfixes or the trace level which wasn’t in the API before. Besides that, there is a good activity on the mailinglist and there are at least 3 active committers. In other terms: time to graduate an bring out Log4PHP from the temporary incubator project :-)

Now Log4PHP needs to succeed 3 votes. One for the Log4PHP team to vote for graduating; one for Apache Logging to accept the podling as a subproject. And finally – after the first two have succeeded – a vote on the incubator list to release the podling to its final destination.

The first two votes are already running and it looks very good so far. Votes need to be open another day then the next step can be done. For those who are interested – there is a detailed document about graduation available.

Let’s see how it works out – I think everything could be in place in quite less time, maybe the next two or three weeks.


Rewire Propellerheads Reason 4.0 to Logic Pro 8

January 22nd, 2010

Rewiring Reason is a nice feature – you can use all the Reason synths, effects and instruments in Logic Pro (it should work even in Express Edition). Basis is the so called Rewire protocoll which has been invented by Propellerhead before a good while.

Basically its pretty forward to wire both application together. You just need to know that one of the apps should be the Master, while the other is the slave. Usually you have Logic Pro as the Master, from which you control everything and Reason only as some kind of big effect box.
To start with it, please open Logic Pro and afterwards Propellerhead Reason – NOT vice versa. The master needs to be opened first.

Then create a new track in Logic. The type is “External MIDI”.

In Reason, step up to highest hardware component, the hardware device. There is a button called “Adv. Midi Device”. Click it.
In Logic you are now able to choose Reason in the Library. Just select your “External MIDI” Track and open the Library. You’ll see a folder called “Reason” and then several instruments, depending of what you created. I have chosen one called “Synth”.

Now the signal should go into Reason and do things, but you need to wire it back into Logic to hear it. This can be done with a new track in Logic, an AUX track. You can create it in the Mixer view in “Options > Create new Aux”. Once done you are able to choose the channel which comes from Reason in Logics “I/O” section. I have chosen R/Cha 9/10. If you choose the stereo sum: this already works, but if you want to separate between different channels you need to patch the reason components. I wanted to use the single outputs, so, back to reason.
In Reason you can choose in Options that you would like to view the Rack from the back.

Choose the instrument you want and patch two cabels from the for example master out in the hardware controller on top. The hardware controller finally decides which channels you can hear in Logic. Because I have choosen 9 and 10, my stereo out from the instrument goes into the hardware device in slot 9 and 10 too.
Once done, this is finished and you have successfully rewired Logic to Reason and vice versa. Now your creativity can begin and learning start :-) Enjoy!

  • Recent Posts

  • Tags

  • Categories

  • Archives

  • Wave Notifications

    Download Adobe Wave now!

    This application requires Adobe® AIR™ to be installed for
    Mac OS or Windows.




Feeds