Telerik blogs
  • Productivity

    Saving a few lines of code. Part III - The power of monads

    I won't go into detail about how you could use the maybe monad to save a few lines of code as Daniel Earwicker already blogged about it so you'd better read his post. Basically using the IfNotNull extension method you'll be able to replace lines of code like these: string[] url = SplitUrl(urlString); RecordCompany company = Music.GetCompany("4ad.com");     if (company != null)   {       Band band = company.GetBand("Pixies");       if (band != null)       {           Member member = band.GetMember("David");             if (member != null)               return member.Role;       }   }   return null;    with the following: return Music.GetCompany("4ad.com")...
    January 06, 2009
  • People

    Happy New Year to Everybody!

    Time does fly fast! More than a year ago, I wrote a blog post about the then upcoming 2008 and just a wink later it's already 2009! Last year was one that passed by at light speed... I've noticed that when you are at work and you're focused on the daily grind, you often see only the challenges and think about how slow you are progressing. It's great that there are holidays when you slow down a bit and you have time to look back and see that things are much different.   At New Year's Eve my wife and I were...
    January 06, 2009
  • Web

    Marketing and Silverlight, configuring cross-domain banners

    I have been part of Telerik’s Silverlight team for almost a year now, and I too well know that our marketing team is just two floors away to say anything bad about marketing.  So I will just say that now having Silverlight 2 in its official version out, marketing mix should adopt one more P in its four P’s concept, Ptechnology. That is why, I will try to explain this topic step by step, so that all marketing guys attracted by the name of this topic can delete the first paragraph and give it to their development teams for consideration....
    December 30, 2008
  • Desktop WPF

    Putting Instructional Prompts in Controls

    When asking the user to provide input in any application it can help to give them guidance on what you are expecting.  There are a variety of ways to accomplish this, but one in particular seems to be very effective.  If you have ever used Microsoft PowerPoint you will undoubtedly have seen a screen similar to the graphic below. The instructional prompt effectively conveys to the user where to type a title and subtitle for the slide.  Better yet, the user can ignore these prompts and proceed with other activities in the application.  Live Search Map provides another example of...
    December 28, 2008
  • Productivity Testing

    A Vote for Extensibility in Test Automation Solutions

    I hope I haven’t confused anyone mentioning the weak points of test automation in my previous post. The gained experience however indicates the importance of looking into test automation based on straight-forward and easily maintained solutions. That’s a problem people have been trying to solve for more then a decade now. In the current post I’d like to get your attention to a key of successful test automation via using the tools extensibility. Nowadays there are plenty of test automation solutions especially for the well-known platforms like ASP.NET Web. Should you consider automate your testing activities, you will probably ...
    December 26, 2008
  • Productivity

    Saving a few lines of code. Part III - The power of monads

    I won't go into detail about how you could use the maybe monad to save a few lines of code as Daniel Earwicker already blogged about it so you'd better read his post. Basically using the IfNotNull extension method you'll be able to replace lines of code like these: string[] url = SplitUrl(urlString); RecordCompany company = Music.GetCompany("4ad.com");     if (company != null)   {       Band band = company.GetBand("Pixies");       if (band != null)       {           Member member = band.GetMember("David");             if (member != null)               return member.Role;       }   }   return null;    with the following: return Music.GetCompany("4ad.com")...
    January 06, 2009
  • People

    Happy New Year to Everybody!

    Time does fly fast! More than a year ago, I wrote a blog post about the then upcoming 2008 and just a wink later it's already 2009! Last year was one that passed by at light speed... I've noticed that when you are at work and you're focused on the daily grind, you often see only the challenges and think about how slow you are progressing. It's great that there are holidays when you slow down a bit and you have time to look back and see that things are much different.   At New Year's Eve my wife and I were...
    January 06, 2009
  • Web

    Marketing and Silverlight, configuring cross-domain banners

    I have been part of Telerik’s Silverlight team for almost a year now, and I too well know that our marketing team is just two floors away to say anything bad about marketing.  So I will just say that now having Silverlight 2 in its official version out, marketing mix should adopt one more P in its four P’s concept, Ptechnology. That is why, I will try to explain this topic step by step, so that all marketing guys attracted by the name of this topic can delete the first paragraph and give it to their development teams for consideration....
    December 30, 2008
  • Desktop WPF

    Putting Instructional Prompts in Controls

    When asking the user to provide input in any application it can help to give them guidance on what you are expecting.  There are a variety of ways to accomplish this, but one in particular seems to be very effective.  If you have ever used Microsoft PowerPoint you will undoubtedly have seen a screen similar to the graphic below. The instructional prompt effectively conveys to the user where to type a title and subtitle for the slide.  Better yet, the user can ignore these prompts and proceed with other activities in the application.  Live Search Map provides another example of...
    December 28, 2008
  • Productivity Testing

    A Vote for Extensibility in Test Automation Solutions

    I hope I haven’t confused anyone mentioning the weak points of test automation in my previous post. The gained experience however indicates the importance of looking into test automation based on straight-forward and easily maintained solutions. That’s a problem people have been trying to solve for more then a decade now. In the current post I’d like to get your attention to a key of successful test automation via using the tools extensibility. Nowadays there are plenty of test automation solutions especially for the well-known platforms like ASP.NET Web. Should you consider automate your testing activities, you will probably ...
    December 26, 2008