A new home

I’ve made the move to WordPress!

You should be automatically redirected in 5 seconds. Please visit World Wide Code on Wordpress

Hope to see you there!

Friday, July 15, 2011

Building Mobile-Ready Content and Layout

Smart phones and tablets have changed people's web experience dramatically. If you are a web developer, you would probably require a mobile ready website.

There are two options one create two different sites one for the large screen devices and other for mobile devices.
Managing two different websites and become a difficult task after some time.The solution, build a mobile ready website which can change its appearance depending on the device you are viewing your site.


For this purpose, one must:
  • Focus on creating semantic markup – use CSS and JavaScript for appearance and behavior

Thursday, July 14, 2011

Categorize Custom Properties in Visual Studio or Blend


Many a times when you write your own control in Silverlight, its properties are displayed under "Other" in Visual Studio and "Miscellaneous"  in Expression Blend.

For one or two properties this behaviour is acceptable, but when you are creating custom template controls, usually you have many custom properties. Having these organized in groups makes the life of a XAML designer a bit simple.

So how do you set categories to your properties?

The answer is simple, just place a Category Attribute to your property like this:
[Category("My Properties")]
public string MyCustomProperty{ get; set; }
You can have multiple properties in one group by setting two properties within the same group name.

Related Links

Wednesday, May 25, 2011

Windows Phone 7: Mango preview



Microsoft gave a preview of the upcoming "Mango" release of Windows Phone, through a series of events around the world.

Mango is set to provide 500 new features and enhance the smartphone experience dramatically.

Communications: Easier to Connect and Share
  • Threads
  • Groups
  • Deeper social network integration.
  • Linked inbox
  • Hands-free messaging
A Smarter Approach to Apps
  • App Connect
  • Improved Live Tiles
  • Multitasking
Taking the Internet Beyond the Browser
  • Internet Explorer 9.
  • Local Scout
  • Bing on Windows Phone
  • Quick Cards

Sunday, May 15, 2011

From iPhone to Windows Phone 7


In a very strange move, Microsoft is helping the iPhone developers use their skills to make a Windows Phone 7 application.

Does this mean Microsoft admits that the iPhone is superior to Windows Phone 7 or its just another marketing gimmick from Microsoft to get some attention on the WP7 platform.

Leveraging your iPhone development expertise to build Windows Phone 7 applications on the Windows Phone Developer Blog gives more insights on this topic.

The blog also has a series of “developer stories”, in which developers share on video their experience porting iPhone applications to Windows Phone and explain why and how they did it.


Windows Phone 7 Guide for iPhone Application Developers
If you have been developing iPhone applications and are interested in building your applications for Windows Phone 7, this guide is for you.
The guide will cover what you need to know to add Windows Phone 7 development to your skill set, while leveraging what you have already learned building iPhone:
Source : http://windowsphone.interoperabilitybridges.com/

You may also want to visit Jesse Liberty's tutorial: iPhone to Windows Phone 7 Tutorial.

iOS API call and its WP7 equivalent along with C# sample codes and API documentations for both platforms can be found here.

Related Links

Silverlight 5 - 3D support


The 3D Graphics API was added in the recently released Silverlight 5 Beta.

Having 3D graphics support is a major advancement in Silverlight and is expected to have a huge impact in the near future.

One area where the 3D Graphics API can be useful is 3D Graphics

3D Physics demo




There are a lot of places that you can visit to gain more knowledge about the 3D Physics.
Here are some useful links:
Another nice implementation of the 3D Graphics API is Augmented Reality.
Augmented Reality demo

Useful Links
I would have appreciated more documentation from the Silverlight Team on the 3D Graphics API.
Let's wait and see how these features are implemented by various people. (If you have a good implementation don't forget to ping me)

Sunday, May 1, 2011

What’s Coming In Mango–Reminders


Mango is the next update to Windows Phone 7. Its set to bring a lot of features with it, including something called as "Reminders"

This is what you could be able to do:



What are you waiting for, see this latest post from Jesse Liberty on his blog.