Happy Birthday Sam
August 19, 2010 at 8:46 pm Filed in:AdoMado Team Update No Comments
From AdoMado.com Team
August 19, 2010 at 8:46 pm Filed in:AdoMado Team Update No Comments

From AdoMado.com Team
August 12, 2010 at 9:16 pm Filed in:Aggregated | Updates No Comments

Faster HTML and CSS: Layout Engine Internals for Web Developers (@GoogleTechTalks)
I think I never cared about these – but the way David Baron from Mozilla describes these, I think I will now.
The points he was making started seeming so crucial that I jotted them down as if taking notes – something I never did with previous videos.
The things which I picked up from this video are…
From fetching the DOM over the wire to displaying it, following steps take place in order…
(1) Compute => (2) Compute Style => (3) Construct the DOM frame => (4) Layout => (5) Paint
The further Left (towards (1)) you push the browser’s rendering engine via your DOM/JS/CSS, the slower the browser would get.
Hence…
Use as specific CSS tags as possible. The more generic tag, the higher performance hit while searching the DOM. For example, a “#some-id {}” is way way faster than “body > div p {}” – as in the second tag, a larger portion of DOM is parsed to check which elements are affected by the selector. You push the browser to start from stage (2).
“:hover” style hits the browser pretty badly – as it pushes the browser back to stage (2). Coupled with the above mentioned CSS selectors problem, it can lead to real slow computation. Use it with CSS selectors which are very very specific in nature.
Programmatic scrolling of tags (some of which might have overflow property) via javascript – as that does not causes re-computation of style (stage 2). While if you do it with CSS magic, you push your browser back to stage (2).
Mozilla’s rendering tree, while building itself – does not takes any element with with CSS property “display:none” into account – it just skips it. So when this property is flipped, it triggers a full re-computation of the tree – which is expensive. However if we use the style “visibility:hidden” – the rendering tree picks up the related element while building itself. Hence when visibility is flipped, its much faster as there is no re-calculation of the rendering tree.
An old one – when javascripts are being downloaded, the browser stops itself from any other processing and waits for the script to download and execute (as script can modify the DOM anyhow it likes). During this time, the precious time is lost – which could have been used in downloading other content – like images, DOM, CSS, etc. Hence – keep the javascripts as further in the DOM as possible. Use caching is possible.
Learn more about speeding up your website at – Yahoo’s best practices (YSlow stuff) – some of which we regularly follow at AdoMado.com
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.
August 6, 2010 at 3:56 pm Filed in:AdoMado Team Update 1 Comment
Wishing Kashif a very Happy Birthday
From the AdoMado Team
June 19, 2010 at 12:00 am Filed in:Aggregated | Updates 1 Comment
If you have ever experienced this…

…you know how painful it is to debug and rectify.
This error was so common that Microsoft created a knowledge base (KB927917) article for this. It even has a dedicated explanation at the IE Blog. The error basically is – “HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)”.
While building the Social sharing plugins for AdoMado, we were facing similar problems. Anywhere FB share, Orkut share or Digg buttons were being used, IE was complaining of exactly the same problem. Since social share plugins are the backbone of our community building process, fixing this ASAP was high on my agenda.
NOTE – There was no such problem on any version of Firefox or Chrome.
If you notice the IE blog entry, they mention that
Moving the location of your script block to a child of the body (this usually solves most problems, while allowing the most flexibility in terms of scenarios).
can be a possible solution.
Cool! But how do we reach here? My javascripts were spread all over the place!
First things first… I refactored the code in such a way that all possible usage of problem causing scripts was moved to one single partial. Now error was originating from only one location. The fix, as mentioned on the IE blog – was then straight forward.
In your layout, just before closing the BODY tag, use the “yield” block to render any such javascript – and render all such scripts into this “yield” block.
Here are some screen captures from our codebase…

Notice the “yield :delayed_loading” block…

Yield’ing to delayed_loading block.
If you browse over to our offer – Send Ad Free SMS using IE, you will notice that you see no such error. All the social share plugins render in harmony.
I’ve even thrown in a little jQuery fadeIn magic
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.
June 19, 2010 at 12:00 am Filed in:Aggregated | Updates No Comments
At AdoMado, we are always trying to improve the skewed gender ration we have amongst our user base. As part of the same endeavor, we have introduced a special set of coupons available for redemption while keeping in mind the needs of the ladies. This includes 5 sections:
Approx. 20 coupons!!
Though at times these coupons might be limited by gegraphical spread, but still its a step forward to entice the better half of our species to start surfing net regulary (while having AdoMado installed).
Looking forward to having a few beautiful and sexy users for AdoMado.
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.
June 16, 2010 at 11:02 pm Filed in:AdoMado Team Update | Aggregated | Updates No Comments
Hey everyone!!
Last week we embarked on the next phase of AdoMado. In this phase we had planned to be more stable, integrated with more services, better offers with more discount coupons for our loyal users and a better paying ad network.
Even though its still fingers crossed _\/, we have gone live with the KhojGuru integration last week. The benefits of the new ad network will start kicking in from next week onwards (means more moolah to share amongst the users… Hurrey!!). And hopefully the cash rewards options i.e. micro payments will be going live within this month, though the micro payments option is dependent more on the consent of the partner company.
Even though we are quite confident of the stability, its is still something that needs to be tested on the full throttle mode.
This phase also includes the option for users to distribute the offers to their friends and spread the benefits through the social bookmarking option, which will be going live shortly, hopefully early next week. (update it is live)
The best part is, this phase begins with the good news of Sandy getting engaged. The icing on the cake is for the engagement the team (Mayank, I and ofcourse Sandy) had to be there at Shri Banke Bihari Mandirjee – Vrindavan, so even the Gods have blessed this phase.
Three Cheers for the Next Phase Launch and Sandy’s engagement!!
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.
June 16, 2010 at 11:02 pm Filed in:Aggregated | Updates No Comments
Ever since we implemented content filtering mechanisms at AdoMado, our own site was being blocked – and this made me heck curious – why??
Today morning, using Rubular (which is an excellent online regex tool) – I discovered the culprit.
And it couldn’t have been more hilarious
)
Fixing this…
)
PS – a valid bug.
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.
March 3, 2010 at 12:03 pm Filed in:Campaign Winners | Spread The Internet 5 Comments
Our #43 winner for Spread The Internet initiative is…
Congratulations Alsabah!
Your 100% discount codes for the Logitech Cordless Desktop Pro 2400 (Keyboard + Mouse combo) have been mailed to you.
Steps to avail the 100% discount, perform the following steps
- Log onto http://www.theitdepot.com
- Browse to http://www.theitdepot.com/Logitech/product.php?cate_id=2&subcate_id=4&prod_id=7162#S
- Proceed to checkout
- Enter the 100% discount code
- Pay for the shipping (ground shipping is the least costly)
How can you win this cool Logitech combo?
- Log onto http://spreadtheinternet.com
- Connect with us via Twitter OR Facebook
- Activate AdoMado on your PC
- Become lucky!
![]()
March 2, 2010 at 10:17 am Filed in:Campaign Winners | Spread The Internet No Comments
Our #42 winner for Spread The Internet initiative is…
Congratulations Alsabah!
Your 100% discount codes for the Logitech Cordless Desktop Pro 2400 (Keyboard + Mouse combo) have been mailed to you.
Steps to avail the 100% discount, perform the following steps
- Log onto http://www.theitdepot.com
- Browse to http://www.theitdepot.com/Logitech/product.php?cate_id=2&subcate_id=4&prod_id=7162#S
- Proceed to checkout
- Enter the 100% discount code
- Pay for the shipping (ground shipping is the least costly)
How can you win this cool Logitech combo?
- Log onto http://spreadtheinternet.com
- Connect with us via Twitter OR Facebook
- Activate AdoMado on your PC
- Become lucky!
![]()
March 2, 2010 at 10:14 am Filed in:Campaign Winners | Spread The Internet No Comments
Our #41 winner for Spread The Internet initiative is…
Congratulations Ajay!
Your 100% discount codes for the Logitech Cordless Desktop Pro 2400 (Keyboard + Mouse combo) have been mailed to you.
Steps to avail the 100% discount, perform the following steps
- Log onto http://www.theitdepot.com
- Browse to http://www.theitdepot.com/Logitech/product.php?cate_id=2&subcate_id=4&prod_id=7162#S
- Proceed to checkout
- Enter the 100% discount code
- Pay for the shipping (ground shipping is the least costly)
How can you win this cool Logitech combo?
- Log onto http://spreadtheinternet.com
- Connect with us via Twitter OR Facebook
- Activate AdoMado on your PC
- Become lucky!
![]()