[ Techstuff ]
by Tobias Ebnöther
@ 02.07.2009 17:39 CEST
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.
[ Techstuff ]
[ OS X ]
by Tobias Ebnöther
@ 22.11.2007 14:54 CEST
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)...
[ Techstuff ]
[ OS X ]
by Tobias Ebnöther
@ 01.11.2007 13:40 CEST
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'
[ Techstuff ]
[ OS X ]
by Tobias Ebnöther
@ 31.10.2007 15:56 CEST
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:
[ Techstuff ]
by Tobias Ebnöther
@ 25.03.2007 21:12 CEST
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.