wannabit who do you wanna bit

11Oct/11Off

getting crazy with ems

I am a big fan of using em sizes in css but sometimes is a little bit hard to get the correct conversion into the more readable px format.
here is a link to a web tool that does the conversion for you:
http://riddle.pl/emcalc/

Filed under: web design Comments Off
26Apr/11Off

Interaction design patterns

UI design patterns are common behavioural patterns that users may find during their navigation throug a website pages.
In web design they are used a lot since they are useful for the user becouse they increase drastically the chance to success of a task.
I found a useful site which contains the most common, and used, interaction patterns with a rich explaination on how and when to use them.
here it is:
http://ui-patterns.com/

Filed under: web design Comments Off
13Apr/11Off

How to generate getters and setters automatically with eclipse for php?

I think the title already express what this article is about.
I was designing few classes and suddently I had the need of speed up the code writing with some eclipse enhancement.
I knew that automatical getter and setter generation comes out of the box with eclipse for JEEE so why not have it on Eclipse for php?

here it is:
http://pdt.plugins.e-surf.pl/index.php

or directly from eclipse install panel:
http://pdt.plugins.e-surf.pl/updates

Filed under: web design Comments Off
6Apr/11Off

What is the value of a web domain name?

I like buying web domain names dreaming about someone, someday coming to me and buying it for hundreds euros... this will probably never happen but meanwhile be prepared!
so how much is worth a domain name?
I dug into the net and I found this interesting site:

http://www.glurk.com/

just insert few parameters and you have your domain name estimation!

enjoy

Filed under: web design Comments Off
12Feb/11Off

Which is the difference between event capture and event bubbling?

The DOM has two ways for objects to detect events: from the top down, and from the bottom up. The first method is known as event capture, the second is called event bubbling.

Event Capture
Let's say that your document contains a
<div> which contains a <span> which contains an <img alt="" />. Further, let's say you've added an event listener to all of them. When a user clicks on the image, a mouseclick event occurs.

Even though the user clicked the image, the image doesn't get the event first. Instead, the event listener attached to the document grabs the event first and processes it. The event is then passed down to the
<div>'s event listener. The event then goes to the <span>, and finally to the <img alt="" />. That is, all of the clicked-on object's "ancestors" higher up in the document capture the event for processing before sending it down the chain to its intended target.

Event Bubbling
Now let's look at the same situation from the inside out. You have an <img alt="" /> inside a
<span> , which is inside a <div>, which is inside your document. When a user clicks the image, this time the events rise like a bubble in a glass of water. The click's original target, the <img alt="" />, gets to see the event first, and then passes it upwards to the <span> for further processing, which passes it on to the <div> , which finally passes it up to the document.