Web

Debugging PHP with XDebug and Komodo IDE

Written on October 6th, 2010
.

Captura de pantalla 1 Debugging PHP with XDebug and Komodo IDEWhen you develop a very important web app it is pretty sure you will need debugging it. The best way to do this is using XDebug so in this article I am going to explain how to setup and use XDebug with Komodo IDE or Edit, but you can use it for Netbeans or Eclipse as well.

The first step is install XDebug in your system (I assume that you have already installed a LAMP server in your system). Read the rest of this entry »

Some valuable ‘User Interface Patterns’ resources

Written on August 23rd, 2010
.

4328394839 e632f7c98d Some valuable User Interface Patterns resourcesLast week I’ve been investigating about Web UI Patterns and anything concerning Social Media Patterns, mainly focused on building a consistent UI Pattern Toolkit that I’ll release as soon it will be ready.

In this searching I found some valuable resources with incredible useful UI Patterns solutions, with some discussions around them:

  • The first resource is about patterns that applies to social media sites, there you can find a lot of ideas for implementing common interface problems in a homogeneous way. This decrease the “User first expectation” a lot by trying to apply the same solution across every site: Here’s the link: http://www.socialdesignpatterns.com/
  • The second, and last, resource is focused directly on UI Patterns for the web. Here http://ui-patterns.com/ I found a lot of approaches that other sites have applied to it’s problems: drop-down menus, Calendar pickers, Activity streams, In-place editors, etc. all of them with screenshots and reviews.

Additionally, you can find a lot of books regarding this subject:

2435522965 9e7771e137 m Some valuable User Interface Patterns resources2805069373 0d0df00bca m Some valuable User Interface Patterns resources2795643169 b2cab661b6 m Some valuable User Interface Patterns resources

Certainly, some valuable UI Patterns solutions all of us must take in place. I hope you enjoy all of them and if you have any suggestion or tip please write a comment bellow.

Show nicer file listings with Apache autoindex module

Written on February 17th, 2010
.

capturadepantalla 300x183 Show nicer file listings with Apache autoindex moduleRecently I have working on “mabishu-apache-autoindex”, a set of html, css, icons and image files designed to work together with the mod_autoindex module to make the default Apache file listings look a little nicer.  Try this screenshot demo and If you like it, grab the source files at my Github repository, now I’ll explain how to set it up.

Installation

First, get a copy of the “include” folder – the easiest way is to change to the document root of the domain you want to style, and check it out from git:

$ cd /var/www/YOUR.VHOST.LOCAL
$ git clone http://github.com/frandieguez/mabishu-apache-autoindex.git

This should create an ‘include’ folder in the parent of your document root. Next, you need to configure Apache to use the “includes” files to style your directory listings.

Read the rest of this entry »

Optimizing MySQL databases

Written on December 9th, 2009
.

A huge used database reverberate on a more fragmented database even if you delete any large data. The data base admin should optimize and take care of this especially if dealing with a lot of varying characters (VARCHAR).

At this article I will explain how to opmimize MySQL databases with tools that mysql provides. I will separate on two cases:

  • Optimizing just one table
  • Optimizing all the tables on a database

The main disvantage is that you can only optimize MyISAM, InnoDB, and ARCHIVE tables.

Read the rest of this entry »