Superfish v1.4.8 – jQuery menu plugin

December 24th, 2009 admin Posted in CSS Tutorials, JavaScript & AJAX Tutorials | No Comments »

Superfish is an enhanced Suckerfish-style menu jQuery plugin that takes an existing pure CSS drop-down menu (so it degrades gracefully without JavaScript) and adds the following much-sought-after enhancements:

jQuery Suckerfish Menu Read the rest of this entry »

AddThis Social Bookmark Button

Mcrypt with Appserv on Windows

November 30th, 2009 admin Posted in Open source | No Comments »

 - Install mcrypt extension for Magento and recompile php

-  Ecart os

After a while I could figure out how to install the Mcrypt library on Appserv and windows.

Steps:

  1. Remove the ; (enable) from the php Mcrypt extension line on PHP INI file
  2. Copy the windows Mcrypt DLL - http://files.edin.dk/php/win32/mcrypt/ - to Windows/System32 folder
  3. Restart Apache (and probably windows - I did)
  4. Open a phpinfo file and verify if mcrypt is enabled and what types of encryptions does it carries. If you are using a encryption method that mcrypt does not offer support, it will give a mcrypt module initialization error.
AddThis Social Bookmark Button

10 Practical PHP Regular Expression Recipes

November 6th, 2009 admin Posted in Open source | No Comments »

Latest update Email validation seems quite tricky. Do you have a better solution? Let’s have email validation challenge. And give the user the best way to validate an email format. Read the rest of this entry »

AddThis Social Bookmark Button

Zend Framework: models auto-loading

November 4th, 2009 admin Posted in PHP & MySQL | No Comments »

Zend Framework (ZF) is the MVC framework. Of course you can use its components in a non-MVC way (and I actually do so in my WP UMapper plugin), but in that case, I suppose, you do not have to worry about models auto-loading. Read the rest of this entry »

AddThis Social Bookmark Button

Sphinx full-text search

November 3rd, 2009 admin Posted in Open source | No Comments »

Sphinx is a full-text search engine, distributed under GPL version 2. Commercial license is also available for embedded use.

Generally, it’s a standalone search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data sources support fetching data either via direct connection to MySQL or PostgreSQL, or using XML pipe mechanism (a pipe to indexer in special XML-based format which Sphinx recognizes).

As for the name, Sphinx is an acronym which is officially decoded as SQL Phrase Index. Yes, I know about CMU’s Sphinx project.

Read the rest of this entry »

AddThis Social Bookmark Button