Category : PHP
Jun 11th
Filed Under: PHP, Server
HOWTO: Install php with imagick support in CentOS 6
Just copy and paste:
$ yum install make
$ yum install gcc
$ yum install php php-fpm php-devel php-pear
$ yum install ImageMagick ImageMagick-devel
$ pecl install imagick
$ echo "extension=imagick.so" > /etc/php.d/imagick.ini
Now, restart the web server.
That's it! Hope it helps you.
Read More. 1 comment.
May 11th
Filed Under: Application, ASP, Javascript, Optimization, PHP, Services

Introduction
Sometime ago I spent a good amount of time playing with Wez Furlong PHPScript to merge PHP functionalities directly into ASP pages. Although it really can be done, I couldn't feel comfortable enough with the stability of the final application. In fact, the merge between PHP and other ASP languages (VBScript, Javascript, Ruby, Perl and Python) in the same script caused the application to work only in odd requests and not in even ones. Plus it was triggering processing errors in the server. This is incredibly strange and clearly shows that the Active Script port of PHP is flawed. It works fine for .wsc
and other command lines things but not plays well with ASP.
Since PHP has a huge community which create really good things, it's interesting to get the benefits of their work in other environments that doesn't run the language. Two notable examples of the good things available in PHP are GeSHi, an incredible code highlighting extension that currently work with over than 130 languages, and Tidy, a nice extension to wrap and indent your XML and HTML. As we can't live without them, I've built the webservices for them both.
Read More. No comments made.
May 5th
Filed Under: ASP, IIS, Perl, PHP, Python, Server
Introduction
After thirteen years of web development, in which the last five I spent almost entirely developing with the .NET platform, I finally saw in Classic ASP the most versatile environment for web development. The main reason for this versatility is, surprisingly, the fact that it is interpreted. It might sound like a joke, mainly because of the whole buzz around the code-behind and the advantages of the compiled code's performance. But, in my opinion, this attribute, summed to multiple languages support, is what guarantees to ASP a distinguish position among the environments for advanced programmers.
Aiming to share my experience and point of view to the whole community, I've decided to create a series of articles, where I'll address key topics that will lead to a greater understanding of the strength hidden in ASP. I've ordered them so that easier topics are discussed first before moving on to the harder ones. Here they are:
- ASP, a misinterpreted technology
- Event-Driven-Programming and lambda function in ASP/VBScript.
- TDD (Test Driven Development) in ASP/VBScript.
- Languages: Based on Objects and Object Oriented.
- Object Oriented in ASP/VBScript "Hackers way".
- "Scripting Components", the ace in the role.
- Caching: the concept of DRY (Don't Repeat Yourself) applied to ASP.
In all subsequent articles, I'll indicate the current stage in bold. I don't intend to stop contributing after the end of the seven subjects. I'll probably attack more problems and more specific topics that illustrate the advantage of using ASP. Well, one step at a time...
Read More. 13 comments.