gorn.ch

Tobias Ebnöther's personal blog

Jackalope presentation and status

On the Liip Techday 2009 I had a slot together with chregu and we talked about jackalope. We were introducing the Java Content Repository to the crowd and talked about the current state of jackalope - which is our native PHP jackrabbit client implementation. It was a great day with great talks and a lot of beers in the evening. You can check out most of the presentations including ours at http://slides.liip.ch

We're making a great progress writing tests and implementing the jr_cr (aka java-bridge prototype) version. Currently we're switching from JCR 1 to JCR 2.0 using and sharing the interfaces with flow3. This is a great collaboration :) At the moment we switched our plans a little. In the beginning we aimed to achieve full test coverage before we start with our native PHP version which will become the main jackalope component. Currently it seems like we're going to finish most of the level1 tests and then beginn with the native client.

If I got you interested get in touch with us on #jackalope or on the mailing list contributors are of course very welcome.

Related Entries:
TextMate Presentation
Leopard native apache with custom (64bit) PHP
Leopard PHP / Apache Package with pecl support
Nabaztag Widget
 Permalink

TextMate Presentation

As mentioned in the post earlier I was going to do a presentation of TextMate. In the final version I excluded the blogging bundle stuff since it doesn't work well with the FluxCMS blog and I was short on time.

If you're still interested you can get the slides here. The slides are something like a mix between feature presentation (first part) and cheatsheet (second part).

There did some interesting things happen while writing this presentation.
1) Presenting a text editor is more stupid than I thought. Actually there are a lot of things that you like and can't explain well in words - it's just a feeling you get.
2) I'm using ways to less key combos :)
3) TextMate rocks!
4) I need to train my presentation skills and try to not forget things I wanted to say (in the correct order)...
Related Entries:
Jackalope presentation and status
View source in Safari with TextMate
Leopard native apache with custom (64bit) PHP
Leopard PHP / Apache Package with pecl support
Nabaztag Widget
 Permalink

Leopard native apache with custom (64bit) PHP

With massive! help from Marc Ammann I was able to build a PHP Binary that loads with the Leopard shipped Apache.

First I got iconv source from apple and took the libiconv/include/iconv.h.build.in file. It seems that apple uses different headers in the build process than installed. So the build headers use precompiler flags that gcc doesn't know (it's most likely some sort of XCode stuff which I don't know anything about). After removing that stuff the file looks like this.

With this file as a replacement for /usr/include/iconv.h PHP will build with CFLAGS='-arch x86_64' and load with the native apache afterwards. It's even possible to build the pecl memcache extension like that (but don't forget the right arch).

For completion that were my configure flags:
CFLAGS='-arch x86_64' ./configure \
'--with-zlib' \
'--with-apxs2=/usr/sbin/apxs' \
'--prefix=/usr/local/php5' \
'--with-iconv' \
'--with-xsl' \
'--disable-xmlreader' \
'--with-jpeg-dir' \
'--with-png-dir=' \
'--enable-bcmath' \
'--with-curl' \
'--with-ldap' \
'--enable-mbstring' \
'--enable-soap'
Related Entries:
Leopard PHP / Apache Package with pecl support
xchat on OSX / Command as alt
Setting up relayhost for postfix on OSX (with ssl and authentication)
Jackalope presentation and status
MacHeist Software Bundle
Comments (8)  Permalink

Leopard PHP / Apache Package with pecl support

After some hours of blood and sweat I finally managed to get a nicely working Apache / PHP Setup (YES! With a working version of pecl).

I usually us the great! package from Marc which does unfortunately not work nicely on Leopard yet (I hope it's not too much stress for him :) ).

Until he is done (and I switch back) I can provide this package which is very dirty and untested (works for me).


If you'd like to install it try like that:

Unpack to /usr/local like this
cd /usr/local
tar xjvf <the package>

Then you need to make some changes in /etc/apache2/httpd.conf
Change the following line:
ServerRoot "/usr"
To this:
ServerRoot "/usr/local/httpd"

COMMENT (type a # on the beginning of the line) the following lines:
LoadModule cache_module libexec/apache2/mod_cache.so
LoadModule disk_cache_module libexec/apache2/mod_disk_cache.so
LoadModule mem_cache_module libexec/apache2/mod_mem_cache.so
LoadModule proxy_module libexec/apache2/mod_proxy.so
LoadModule proxy_connect_module libexec/apache2/mod_proxy_connect.so
LoadModule proxy_ftp_module libexec/apache2/mod_proxy_ftp.so
LoadModule proxy_http_module libexec/apache2/mod_proxy_http.so
LoadModule proxy_ajp_module libexec/apache2/mod_proxy_ajp.so
LoadModule proxy_balancer_module libexec/apache2/mod_proxy_balancer.so
LoadModule ssl_module libexec/apache2/mod_ssl.so
LoadModule bonjour_module libexec/apache2/mod_bonjour.so

Finally UNCOMMENT (remove the #) this line:
#LoadModule php5_module libexec/apache2/libphp5.so

Now you just need to start your brand new apache / php setup like the following:
sudo /usr/local/httpd/sbin/apachectl start 


If you want to build your own setup here is what I did:
Related Entries:
Leopard native apache with custom (64bit) PHP
xchat on OSX / Command as alt
Setting up relayhost for postfix on OSX (with ssl and authentication)
Jackalope presentation and status
MacHeist Software Bundle
Read whole postComments (4)  Permalink

Nabaztag Widget

Today I wrote a little nabaztag widget to give you guys the possibility to let him say something to me and my flat-mate (actually he's already annoyed by my testing, don't spam to much :)

The code is really dirty but if you're still interested you can get it here (not tested on anything). If you're going to use this please leave me a note with your url, your nabaztag will probably say some words of me.
Related Entries:
Jackalope presentation and status
TextMate Presentation
Leopard native apache with custom (64bit) PHP
Leopard PHP / Apache Package with pecl support
More Yahoo! "improvements"
Comments (3)  Permalink
1-5/5
Powered by Flux CMS