PinoyTech.org

CodeIgniter, Kohana, Mootools, jQuery and CSS

Kohana 2.4 I18N (internationalization and localization) Library

Posted by teejay on April 24, 2010

I absolutely love Kohana 2.x versions. Although, I've been reading up on Kohana 3.x, I still can't hide my love. I've been reading up on the source of the Kohana 2.4 new I18N Library. It's quite different from the 2.3 version, but not too much.

Add SESSIONS to Profiler in CodeIgniter

Posted by teejay on April 21, 2010

I am a profiler addict. I tend to put this ON on every application that I start to build. However, unlink Kohana that shows the sessions in their profiler, CodeIgniter doesn't. Here's a way to add it to your profiler without hacking the core.

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.

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.

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...

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.