Archive for May, 2011

Komodo Edit 6.1 – IDE for Perl,Python

May 24, 2011 Leave a comment

After testing and trying couple of IDEs which are available on the net, I found Komodo Edit, very good IDE for the development of Perl and Python.

Its the free, lighter version of full fledged Komodo IDE. I did install the latest version 6.1 on Ubuntu 11.04 and here are the steps I followed:

(1) Open the link in Ubuntu browser and click on the Download for Linux button and save the tar.gz file
(2) Unzip the tar file contents to local directory and run the script.
(3) After installation, add the komodo Edit to the PATH.
(4) You can invoke the IDE by running command ‘komodo’.

Categories: IDE, Perl

Why use LDAP?

May 10, 2011 Leave a comment

LDAP is an application layer protocol which specifies how data can be accessed through a directory based on X.500 standard.

LDAP directory service has following main features :

(1) Data is written once and need to be read multiple times; Basically the idea here is LDAP perform well where modifications to the schema happens not very often. Transactional data design may not fit into LDAP.

(2) It provides very standardized way of data access, so no need of vendor specific code modifications required if it needs to be ported to different environment.

(3) The LDAP server can be configured with indexes on any attribute, so searches can be made very efficient and large data volume can be handled without any performance penalties.

(4) User authentication and authorization: LDAP provides many security options to secure the communications along with support of SSL/TLS.

Categories: LDAP

Power of mod_perl

May 3, 2011 Leave a comment

What are the choices when the whole enterprise level application, written in old CGI code, is not performing as you expected?

One of the solutions you can adapt is to port the cgi code into mod_perl environment. Apart from speeding up the CGI scripts, it can do lot more other things like providing direct access to whole Apache API from perl. It embeds the Perl Interpreter into the Apache Web Server.   There are couple of guidelines explained here and its a very good starting  point.

CGI code can be tweaked in such a way that it works fine in mod_perl environment without re-writing the whole code itself. Of course one need to have a very closer look at the ‘Global Variables’ in the existing code.

Enjoy the power of coding!

Categories: mod_perl