- [CakePHP] Build javascript widget for affiliate sites using CakePHP
Recently I had a requirement from client. Additionally, it went on, that the snippet should be very simple like PLAIN TEXT HTML: <script src=”https://baseurlhere/test/test”></script> Simple I thought I will just document write an iframe and be done with it but quickly discovered that if you want the CSS of the parent document to get applied […]
- [CakePHP] Code Sniff Updates
In an earlier post, Dr.Sani discussed about CodeSniffer and sniffs for CakePHP Standard. In that we saw how to define a new coding standard using the existing sniffs. With the release of PHP_CodeSniffer v1.3, the way we define a new standard has changed. Please read Code sniffs for CakePHP and then some more before going […]
- [CakePHP] Tweak translate behavior get belongsTo translations
In one of my earlier posts, I had written about How to fallback to default language while using Translate behavior. This is one more Translate behavior tweak (in continuation with the previous) to get belongsTo data’s translations in current locale. By default, Translate behavior only gets current model’s translations in current locale and you need […]
Valparai, Part 2 – Picturesque speechless
Valparai, Part 1 – a wet dream to remember
Honestly till some time ago I had never heard of Valparai. It was Kalyan and a few others who mentioned it on twitter off and on. Being creature of arid or dry deciduous forest, I had resisted the rain forests for a long time. Seeing the lush green, HDR without the HDR kind of landscapes
Last month @ SANIsoft blog August 1, 2011
[CakePHP] A slightly modified QRcode Helper I was working on a project where I needed a helper to create QRcode by various methods. After searching I found a good CakePHP QRcode Helper by Max Dörfler which helped me a lot but few functions were still missing in that, like generating QRcode for Wifi network. The
zarinasani.org goes online
Today we would be celebrating my mom’s 75th birthday. I knew my mother, Zarina Sani, for just 15 years. I knew that she was a writer and a poetess I also realized that that she was fairly good because she had been awarded by the State governments of Maharashtra and Bihar for her work and
500px is not Flickr
Suddenly everyone and their cousin is talking about a Flickr alternative that is attracting users in large numbers – 500px, oh! well, 45k may be large for some 😉 I have been putting my digital photographs online since past 10+ years and have moved from uploading them to my own personal site, to flickr and
Last month @ SANIsoft blog June 1, 2011
[CakePHP] Organizing themes in sub-folders CakePHP offers a wonderful built-in theming solution. However, the only shortfall is that all themes are to be kept in a single folder and there is no direct way to organize them in sub-folders. This post assumes that you are familiar with CakePHP Theming concepts. If not, then head on
17th Anniversary: Tadoba trails…
A very hectic work routine at the office, Aasim on a Himalyan trek – it looked like we were going to spend our 17th wedding anniversary doing mostly nothing. However on the flip side was an invitation from Kalyan who is shooting for National Geographic in the jungles of Tadoba. To hell with everything we