WURFL

WURFL stands for Wireless Universal Resource File. It is part of a FOSS community effort focused on the problem of presenting content on the wide variety of wireless devices. The WURFL itself is an XML configuration file which contains information about device capabilities and features for a variety of mobile devices. Device information is contributed by developers around the world and the WURFL is updated frequently reflecting new wireless devices coming on the market.

http://wurfl.sourceforge.net/

IComparable Interface to sort objects

Was trying Interfaces in .Net . Had a necessity to sort a set of Objects based on a criteria. The IComparable interface comes to the rescue. You can inherit the ICompable interface like this

public class ClassName: IComparable

private string m_Name;

public int Length = 0;

public string Name {

get { return m_Name; }

set { m_Name = value; }

}

I need to add a CompareTo method also in the class.

public int CompareTo (object obj) {

ClassName cls= (ClassName) obj;

return this.Name.CompareTo (ClassName) .Name);

}

Now I can use a Array.Sort method on the Array of objects based on the criteria Name.

XML with PHP4

I major upgrade is scheduled for one of my projects. Most of you will know which one..

I have been avoiding XML till now but this time round I cant escape without using the same..

I know a bit of XML but using it with PHP is what is puzzling me. PHP5 has built in XML support but PHP4 not much.

Need to use some 3rd party classes I believe.

Building the new system is going to take some considerable time for sure, but its worth the effort.

Tagged by Subramanian

Subbu has tagged me to answer the followiing questions:1. Are you happy/satisfied with your blog, with its content and look? Does your family know about your blog?

I am always wanting to improve the look of my blog. Content i need more time 36hrs a day would do. The whole world knows about my blog.

2. Do you feel embarrassed to let your friends know about your blog or you just consider it as a private thing?

I feel bad only if someone I know does not know about my blog.3. Did blogs cause positive changes in your thoughts?

It only added oil to the fire.
4. Do you only open the blogs of those who comment on your blog or you love to go and discover more by yourself?

I track a few of my favorite blogs regularly but also do blog hopping randomly.
5.What does visitors counter mean to you? Do you care about putting it in your blog?

I dont have to show off about the popularity of my blog.
6. Did you try to imagine your fellow bloggers and give them real pictures?

Haha never thought of that.

7. Admit. Do you think there is a real benefit for blogging?

Yeh.. learn to write better .. make more friends.

8. Do you think that bloggers society is isolated from real world or interacts with events?

No.
9. Does criticism annoy you or do you feel it’s a normal thing?

I just enjoy criticism +ve or -ve
10. Do you fear some political blogs and avoid them

I hate politics
11. Did you get shocked by the arrest of some bloggers?

Who cares
12. Did you think about what will happen to your blog after you die?

Lets first see how often i first get time to update my blog.

13. What do you like to hear? What’s the song you might like to put a link to in your blog?

I like to hear all kinds of music. Would never bother to put the links here.