PinoyTech.org

CodeIgniter, Kohana, Mootools, jQuery and CSS

How to put an Image in an Anchor in CodeIgniter

Posted by teejay on April 21, 2010

I often see new CodeIgniter users ask, how to put an image inside the anchor helper. Most developers 'hand-code' the image tag inside the anchor helper

Continue reading How to put an Image in an Anchor in CodeIgniter

 

Multiple Applications with Codeigniter with one installation

Posted by teejay on April 10, 2010

Upgrading is never easy, you have to check for all deprecated functions. And although, CodeIgniter makes it very easy, it's probably going to be hard once you have tons of applications to upgrade.

Continue reading Multiple Applications with Codeigniter with one installation

 

Turn on Database Profiling in Kohana 2.x

Posted by teejay on April 10, 2010

If you're like me and have used Kohana through the 2.x versions, you might be used to seeing the profiler outputting the SQL queries.

In Kohana 2.4, the latest stable version of the 2.x series, it won't show by default.

Continue reading Turn on Database Profiling in Kohana 2.x

 

How To Turn Off Displaying of MySQL Errors in CodeIgniter

Posted by teejay on March 30, 2010

As programmers, showing off sensitive information is a 'no-no'. MySQL errors are one way of non-intentional way of displaying sensitive information. Normally we would fix the problems before they arise but like everything else, you can't be too sure.

Here's what you do to turn off MySQL errors from being shown on screen.

Continue reading How To Turn Off Displaying of MySQL Errors in CodeIgniter

 

How to Access a Model from another Model

Posted by teejay on March 30, 2010

Accessing models from another model is one question that you hear a lot from new CodeIgniter users. It's actually quite easy and somewhat like loading a user created library in CodeIgniter.

Continue reading How to Access a Model from another Model

 

A Simple Mootools Drop Down Menu

Posted by teejay on March 18, 2010

I'm really learning Javascript throught Mootools and as one of my efforts, I tried and succeeded in creating a Mootools Drop Down Menu. Like most Javascript dropdown scripts, it works by simply displaying and hiding unordered lists.

Continue reading A Simple Mootools Drop Down Menu

 

Using Mercurial to Get CodeIgniter 2.0

Posted by teejay on March 17, 2010

Ever since I've been working with CodeIgniter, I've always checked out the SVN, but this year, Ellislab, decided to pull the plugs on SVN and move on the Mercurial for a lot of reasons, namely:

  • some of which becomes heavier in proportion to the distance between team members, and as both your projects and team increase in size
  • Commits and diffs become laborious on even the fastest of networks
  • The size of the repository balloons if you try to use basic features of branches and tagging
  • Renaming and moving files is a pain, and can jam up your fellows’ repositories

This move prompted me to learn Mercurial. So here we go...

Continue reading Using Mercurial to Get CodeIgniter 2.0

 

Creating A Mootools Plugin for Ajax Form Submissions

Posted by teejay on March 17, 2010

Ajax forms are in right now. I just decided to create a plugin, I've been using for a personal project I am on. It works by stopping the submission event and sending it via AJAX.

Continue reading Creating A Mootools Plugin for Ajax Form Submissions