Array Join instead of String concat in Loop in JavaScript!

You may have seen array join after pushing data inside Array for concatenation work in JavaScript. That was faster method compared to doing large number of string concatenation in older Browser. Browser used to crash in such large number of concatenation. So, Array Join was the workaround. Now, change your… (Continue)

stdClass Object to Array in PHP

If you deal with Restful services then many times you need to deal with stdClass Object. This generally create requirements to stdClass Object to Array conversion.
Here is the code to do that in Class:

<?php

function objectToArray($o) {
if (is_object($o)) {
$o = get_object_vars($o);
}

if (is_array($o)) {

return… (Continue)

Track dynamic change in DOM through Firefox plugin

I was looking for plugin or any means to track change made in HTML DOM dynamically. JavaScript of any kind can change DOM at run time. It is generally difficult to know what got changed and where.

Finally at one good day I got a Firefox Add-on, which tells me… (Continue)

MacBook Lion Updates

I got message that all Macbook will be updated to Lion in office and it is mandatory. I was well set with my first Macbook laptop and do not want to change anything. But date came and I need to go for update. I have taken backup but missed few… (Continue)

SapientNitro Idea Engineer Exchange

Today was a SapientNitro Idea Engineer Exchange organized at Leela Palace. It started at 10:00AM and end at 4:00 PM. It was about Experience Design. More about it here
.… (Continue)

YUI Seed Files – yui.js, yui-base.js and yui-core.js – YUI3 Tutorial

YUI3 has three kind of seed files: yui.js, yui-base.js and yui-core.js. In this you may have used yui.js file always.
(<script src=”http://yui.yahooapis.com/3.4.1/build/yui/yui-min.js”></script>)
I just thought to read about other kind of seed files and its pros and cons. YUI main seed file (YUI.js) includes loader (dynamically load missing modules as… (Continue)

Photographs directly from Lalbaug, Bangalore Flower show, 2012

I have posted few photographs I have captured from Lalbaug, Bangalore Flower show, 2012 on my general blog.
Please follow the link to view all those photographs and few more which I have not posted but given link at the end to Flickr album.… (Continue)

CSS: Z-index is Not Working

If you are tired of correcting z-index and it is still not working then check the following points in your CSS code:
1. z-Index only works for positioned elements:
So, value with position:absolute, position:relative, or position:fixed will respond to z-Index.
2. If you are setting z-index to menu kind of… (Continue)

Easy Reading Online Article on Web Page

Make reading easier online article on web pages with reader plugins. These plugins are available on both Firefox and Chrome browsers.
I have found two plugins for reading pages with lots of data easier. One is iReader and another is just Reader. iReader is good one.

It will make your… (Continue)

YUI3 Tutorial: YUI Attribute Selector. Working with Attribute Selector

Here is a separate article on attribute selector. The attribute selector was not working in flexible way. I was facing problem is excluding some some tag based on attribute differences.
Here is the HTML snippet I was using and I will use here for Attribute selector example:
<a rel=”me” href=”http://newsviews.satya-weblog.com/”>My… (Continue)