Meebo Social Toolbar

I was waiting for a good social toolbar for my blog and finally I was recommended  one, it is Meebo Social Toolbar. The video here I attached is from meebo website. Share

1 Comments

My Daily Apps

Set of applications I daily use in Mac: Safari (General Browsing)Firefox (Web development + StumbleUpon)Mail (Emails)iCal (Calendar Entries)Skype (Client Chat) MAMP (Web development tool) TextMate (GUI for development)Terminal (SSH and SVN)Filezilla (FTP uploads)Spotify (Music)Stickies (Todo list)Blogo (WordPress blogging tool)TunnelBlick (VPN access)Google Notifier (Gmail alert)and Facebook Notifications Share

0 Comments , , ,

Use OOP in PrOPer way

Recently I read an article from IBM regarding the usage of Object Oriented Programming in PHP in a proper way. For an average PHP developer, I recommend it is good to read: Read Article Here I also went this link to understand more about abstract class and interface class Share

2 Comments , , , , ,

Gtranslate – Firefox Plugin

Those who use google translator very frequently and those who like firefox, can use this plugin to translate any language string to any language just by a right click. By default it is auto-detect to english which is most of the people want. This plugin helped me to develop my recent project in Portuguese language. [...]

0 Comments , , , , , ,

Explore a PHP class object

If you develop website using some framework (Symfony, Codeigniter or Zend etc), you need to play with several system defined objects like routing objects, session objects etc. To see what are the functions available inside an object on run time without referring the parent class documentation, here is a trick: print_r( get_class_methods(get_class($YourObject))); Now you can [...]

0 Comments , , , , , ,

Change web root directory in Symfony 1.4

Symfony usually has “web” as root folder. If you want to change the name of this folder to something else, just rename say “public_html”. This will work if you have made proper changes in your web root. But if you run the symfony commands, say generate: app, or module, the old default “web” directory will [...]

0 Comments

Symfony 1.4 + Codeigniter = Symfony 2

Recently I tried Symfony 2 Sandbox for one of my projects. I realised this fact that Symfony 2 is so powerful because they restructured the Symfony 1.4 architecture and made a system like Codeigniter Framework. I wrote a post some months back about Codeigniter vs Symfony here. I need to re-edit that post now, because, [...]

8 Comments , , , , , , , , ,

Facebook Graph API – The missing part

As you all know recent changes in privacy issues made Facebook to change their basic API and added some security concerns. From my best practise, most of the old applications are safe, but you will be in trouble when you create new application. By default you cannot access user’s photos, profile pictures , albums etc. [...]

4 Comments , , , , , , , , , , , , , , , , , , , ,

Facebook Graph API for PHP

Like the old REST API, you don’t need to add 2-3 files for Facebook PHP SDK. The new graph api comes in a single file which is located at http://github.com/facebook/php-sdk/ Copy the facebook.php file in to your webroot and include this file in your php code. require_once(‘facebook.php’); To work fully functional, you need CURL and [...]

3 Comments , , , , , , , , , , , , , , ,

PHP Session problem with cloud server

There is a very strange issue with PHP session when you prefer session to save in files other than database (normal session). The problem is: some times you can access all the saved session values from $_SESSION and sometimes it returns a empty array. If you refresh 10 times, perhaps 4 times you will get [...]

2 Comments , , , , , , , , , , , ,

VARDUMP.IT – PHP remote debugging console

In PHP coding, we spend most of the time for debugging. Either we use echo, print_r or var_dump to check variable values or check whether a particular function is executing or not. These all things are outputting something to browser. This is not applicable in case of redirection, or image processing (GD) or sometimes with [...]

1 Comments , , , , ,

Multi-language support with PHP

If you aim to create a multi-language  website using PHP + Mysql , remember the following tips. You can use mysql database for this purpose rather than using separate language files as usual content management system does. You can create a table with following structure for this purpose.Table: muli-lang string_id: page_id: en: arb: fr: Here [...]

8 Comments , , , , , , , , ,

Management Lessons – Funny but interesting

A very interesting presentation I got from  one of my friend last week. I found somebody uploaded that in slideshare. It is here. Remember, you can forward this ppt to your friends. Only friends ! Don’t forward to your company members or to your boss !  :) Share

0 Comments

Quick tips for https connection (Non secure content warning – IE)

If you are using https pages or some of the pages (payment pages etc) in your website, keep the following in your mind. In some browsers especially IE shows warning of non-secured content in secured page. This cause user the feeling that the website is not secured. Use relative url always. Relative URL means those [...]

1 Comments , , , , , , , , , , ,

IE6 Transparent PNG problem

We all have faced this problem during HTML development. Internet Explorer 6 renders transparent PNG images in different way.  It puts some other color , it damages the design. One solution is create gif images for IE6 and mention those in separate style sheet file for IE6 A simpel solution is IE PNG FIX  javascript [...]

1 Comments