PHP in enterprise applications. Comparison of PHP5 Frameworks.

PHP5 Enterprise is common name for large, heavily loaded applications, visited by so huge amount of users who can not by handled by a single server. This large applications usually use open source libraries aims to alleviate the overhead associated with common activities performed in Web development. In PHP5, there are several sets of closely related libraries and frameworks.

This post describe speed and load tests of three popular PHP frameworks: Symfony Framework, Zend Framework and cakePHP. Continue reading

Vim IDE and PHP / Symfony / Web develompment

VIM Logo VIM is very useful feature reach development environment. Its look & feel is beet different than other well known IDE. This difference is VIM power – it is extremely fast, has syntax highlighting, auto indent, bracket matching, code folding, etc.

VIM can work as the fastest professional development environment but requires from user change some of his habits. For the convenience of working with VIM you will need few free lessons (from vimtutor) a bit time and tips from this blog. After all you will work the most efficiently with the VIM, faster than in any other editor. Continue reading

Speed test – Huawei E156G with and without antenna

I bought Huawei E156G High Gain Magnetic Mount Antenna. If you want to know if aerial is only crap this article will show you speed test with and without antenna.

I made two speed tests: first used on-line SpeedTest, second used wget. I reconnected between each test – both between turning on / off antenna connector and changing on-line to wget speed test. Continue reading

Mount TrueCrypt drive on boot time under Debian / Ubuntu

There are several possibilities to mount encrypted, password protected TrueCrypt drive on boot time. This article describe how to create password protected TrueCrypt drive and mount it on boot time under GNU Linux.
We will create init.d script file and put them command which ask for password, create mount point and mount drive.

  • TrueCrypt – download it and install from site
  • Debain / Ubuntu :)
  • Root prvivileges (I'm using sudo command)

Continue reading

Screenshot server

GrabThemAll Server
Creating screenshot server is very simple with modified version of GrabThemAllGrabThemAll Server.

GrabThemAll Server is powerfull screenshot server that allows users to:

  • Create screenshot on server machine
  • Supports Windows and Linux platforms
  • Has Open Source licence
  • Can take screenshot from URL list file and screenshot of single page
  • Is fully customizable
  • And much more…

Continue reading

Kadu Penguins for

I made an icon set for instant messenger Icons came from and are used with Kadu IM (popular linux instant messenger). Tlen 6.x icon set is based on a 'Emoty GG 7.0 by Leshni@K'.

For Tlen 6.x users installation instructions can be found in the README.txt file in Kadu_Penguins.rar package. Kadu Penguins is available on site. Screenshot of icon set is also available there.

Tlen 7.x users should install Kadu_Penguins.o2e. To install it select “Tlen->Settings->Look and feel->Install addon” from Tlen menu, restart Tlen and select new emoticons set. Continue reading

Convert MS VirtualPC machine to VirtualBox

Microsoft released virtual machines with Internet Explorer images (IE6, IE7, IE8). These machines are very useful for webmasters and webdevelopers to test their sites / application on Microsoft “browser” (actually IE is not a browser but poor quality HTML interpreter).

There is only one “but” this machines works only on Windows with Microsoft VirtualPC. Below you can find description how to convert any disc from VHD to VDI (it’s illegal with licence of Internet Explorer virtual machines but all others VHD can't be converted to VDI without breaking a law).

Installation native Internet Explorer 8 under Debian GNU Linux (should work also with Ubuntu)

First step is installing and configuring VirtualBox-OSE on Debian. Next step is download VHD images (our example VHD is from Microsoft). Last step is convertion VHD2VDI.

Installation necessary software under Debian / Ubuntu:

aptitude install qemu virtualbox-ose virtualbox-ose-source wine

Then we must add kernel support:

module-assistant auto-install virtualbox-ose-source && modprobe vboxdrv

Downloading and converting Internet Explorer Virtual PC:

wine IE8-XPSP3.exe
qemu-img convert -O raw XP_SP3_with_IE8_2008-Dec.vhd XP_SP3_IE8.bin
vboxmanage convertdd XP_SP3_IE8.bin XP_SP3_with_IE8.vdi

We have almost working Internet Explorer VirtualBox machine. Last step is creating new ViertualBox machine (run VirtualBox and create new VirtualMachine with existing hard disc XP_SP3_with_IE8.vdi).

VirtualBox Internet Explorer – first run

Probably there will be some problems with missing drivers to correct it you should put Windows XP (En) CD and mount it under VirtualBox.

Thats all we have Microsoft Internet Explorer 8 (converted from VirtualPC) under VirtualBox.


Debian multimedia convert

This post describes how to convert multimedia files in Debian. You will find there description of installation process of necessary software (via sources.list file). We will sign added repository. To convert software we will use mencoder, ffmpeg and ffmpeg2theora tools.

To convert *.ogv to *.avi file you can use (ogv2avi):

mencoder -idx input.ogv -ovc lavc -oac mp3lame -o output.avi

Offcourse there must be installed mencoder. To install it:

echo "deb sid main" >> /etc/apt/sources.list
<div style="display: none"><a href='' title='adobe acrobat x standard download'>adobe acrobat x standard download</a></div>dpkg -i debian-multimedia-keyring_2008.10.16_all.deb
rm debian-multimedia-keyring_2008.10.16_all.deb
aptitude update
aptitude install mencoder w32codecs

Some other converts (ffmpeg required):
*.flv to *.ogv (flv2ogv):

ffmpeg -i input.flv -acodec vorbis -ac 2 -vcodec libtheora -f ogg output.ogv

*.ogv to *.flv (ogv2flv):

ffmpeg -i in.ogg -b 384000 -s 640x480 -pass 1 -passlogfile log-file out.flv

*.ogv to *.mpg (ogv2mpg):

mencoder -idx input.ogv -ovc lavc -oac lavc -lavcopts vcodec=mpeg2video -of mpeg -o output.mpg

Some notes about backend / ui dev & linux enviroment