Last month @ SANIsoft blog May 1, 2011

  • [How To] Create a component in Joomla – Part II
    In my last blog post I wrote about How To Create a component in Joomla. The output text was hardcoded into the view. This doesn’t follow the MVC pattern exactly because the view is intended to only display the data, and not contain it. In this second part of the tutorial we will demonstrate how […]
  • [CakePHP] Back port Helper aliasing to CakePHP 1.2 and 1.3
    One of the enticing new features of CakePHP 2 is Aliasing. What do you do if you need aliasing in CakePHP 1.2 or 1.3? Here is a guide to back port aliasing for helpers. For this guide we will overwrite HTML helper’s link method to always avoid escaping of the title. To start with you […]
  • [CakePHP] Saving HABTM data with tables in different databases
    One of the powerful features of CakePHP is the model relationships. It handles relationships seamlessly and saves/finds data of related models on its own. The most complex among the relationship is the Has And Belongs To Many, often shortened as HABTM Recently I faced a problem in saving data for a HABTM model. The problem […]