PinoyTech.org

CodeIgniter, Kohana, Mootools, jQuery and CSS

Implementing jQuery Live in Mootools

Posted by teejay on March 8, 2010

If you're like me, I've been wanting to have a jquery live implementation in Mootools for the longest time. Luckily someone from Stackoverflow did it for us.

Symfony 2.0 Reloaded

Posted by teejay on February 18, 2010

I haven't been much of a Symfony user, but with a new release like this, I'd probably try it out. So, what's new?

Built with performance in mind, Symfony 2 is one of the fastest PHP framework. It is up to 3 times faster than symfony 1.4 or Zend Framework 1.10 and consumes half the memory.

Simple ORM Solutions

Posted by teejay on February 18, 2010

I've been trying out ORM solutions for personal projects I am doing. I have however encountered two, that I think are simple enough to handle small to medium-sized sites like what I have.

Image Viewer with Thumbnails using Mootools

Posted by teejay on December 17, 2009

image_viewer_w_thumbnails_using_mootools.gif

This is a simple tutorial for creating an image viewer with thumbnails using Mootools.

8 Web Based GUI's for MySQL

Posted by teejay on December 9, 2009

11-web-based-mysql-guis.gif

Let's face it. Using the console for administrating MySQL can eat up a lot of time unless you've been doing just that your whole web development career.

If you're on that side, good for you. But for us 'normal' people, we tend to use GUI's for managing MySQL databases. And installing softwares can be cumbersome.

UserCake : Simple User Management System

Posted by teejay on December 3, 2009

UserCake logo

User Management is a commonly seen in most web applications today. That's why it's important for any web application to have a pretty secure scalable user management system.

Welcome, UserCake (not to be affiliated with the PHP Framework CakePHP). It acts as a baseline for you user management needs.

CodeIgniter Image Manipulation Class: How to Resize

Posted by teejay on December 1, 2009

CodeIgniter logo

The CodeIgniter Image Manipulation Class is a useful tool when implementing simple resize, cropping, rotate, watermarking and flipping of images are required in your project.

Here is a series of code templates for using the CodeIgniter Image Manipulation Class:

First one is resizing:

The Right Way to Get a File Extension in PHP

Posted by teejay on November 29, 2009

I made a recent search on retrieving file extensions in PHP.

I found out that a lot have been re-inventing the wheel. They have been creating code for functionality that PHP already has. This is one example of re-inventing the wheel

function get_file_extension($file_name) 
{
    return substr(strrchr($file_name,'.'),1);
}

Another example was this:

function file_extension($filename)
{
    return end(explode(".", $filename));
}

PHP already has a function that does the same thing and more.