Ext.js : one simple tip

Christophe Lucas
I am a network engineer, but in a small company you are able to do lot of things. I am in charge (in same time as network job) to developp second generation of customer managment tool. I have choiced to developp it in ext.js. I am in an early prototyping and evaluate this framework. It is pretty awesome !! A little tip to load data with extjs in a form :
Ext.getCmp('your-form').getForm().load({url: "load.php", params: {do: "cmd"}}); it is your friend. But you must now that your json answer must be as : { success: true, data: { clientName: "Fred. Olsen Lines", portOfLoading: "FXT", portOfDischarge: "OSL" } } You have more information to read there.

Happy new year !

Christophe Lucas

No more things to say except to : “Happy new year 2011!”

Apache2 and buffered transaction

Christophe Lucas

If you must have an Apache2 webserver which is not buffering (realtime printf) transaction, you must remove ‘deflate’ :

root@plop~# a2dismod deflate
Module deflate disabled.
Run '/etc/init.d/apache2 restart' to activate new configuration!
root@plop~# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting .
root@plop~#

Ping tool : How to learn some new stuff

Christophe Lucas
We always can learn some useful new thing in reading manual. This is what I have done and lear an interesting features by means of ping -R. What we can read in ping(8) on a Linux System : -R Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet and displays the route buffer on returned packets. Note that the IP header is only large enough for nine such routes. Many hosts ignore or discard this option.

It can be really useful such as :

A snowy sunday

Christophe Lucas
In normandy, we are not accustomed to much snow (20cm). But to be honest, it is really beautiful to see snowing. I think I will not saying this, when tomorrow I’m going to have to go to work. But for now : a good coffee near the fireplace is a confortable place.