Telerik blogs

Latest

  • Web

    Getting Started with the <canvas> Tag – Examples to Get You Closer to the HTML5 Bliss

    There is a great tendency among web browsers nowadays - the wide and fast adoption of HTML5 APIs. Why should we, as web developers, be excited about it? Well let's take the canvas tag, for example. Imagine that you can render raster graphics in the browser, edit an image purely on the client-side, apply filters on it or draw complex animations without the need for plugins, just JavaScript. Imagine the power and features you can implement without bothering with the overhead and complexity of server-side calls. This all and much more is possible with the canvas tag. In this blog...
    May 27, 2021 8 min read
  • Productivity

    Why SOLID Matters

    One of the biggest struggles that developers have with adopting Unit Testing, whether it’s Test Driven Development (TDD), Behavior Driven Development (BDD) or even just Test Eventual Development (TED), is the difficulty some code is to test.  This is typically when code doesn’t follow the SOLID design principles. If you aren’t familiar with Robert C. Martin’s SOLID Principles, here is a quick summary. There are five SOLID principles put forth by Robert (Uncle Bob) C. Martin. Single Responsibility Principle A class should have one, and only one, reason to change Did you ever have a Swiss Army knife?  64 features, but you could never...
    May 27, 2021 9 min read
  • People

    Why I am Starting a Hybrid Development Accelerator

    I often get the question, “why the focus on hybrid development for your accelerator?” This question has come up more and more as Mark Zuckerberg said that Facebook’s focus on HTML5/hybrid development was a mistake. As I argued over a year ago on this blog, it is mistake to bet exclusively on native or hybrid since some Apps will call for a native approach and some will call for a hybrid approach. Projects that need maximum performance and hardware interaction will require a native approach (medical scanning/rendering apps and some games come to mind) and projects that require larger reach and very fast time to market require a hybrid...
    May 27, 2021 2 min read
  • People

    Bad code exposed! Do you really know when your code smells?

    I’ve seen really bad code in my day. I have seen it in legacy code bases, code reviews on greenfield projects, and worse: I’ve even seen it in my own code. In fact, I can open up just about any open source project and immediately detect the existence of potentially bad code. I am not bragging… it is not as though I am incredibly gifted or that I have superhuman powers. I’ve experienced enough issues from bad code to intuitively pick up on much of it, and the rest of my knowledge comes from reading books on the subject of writing...
    May 27, 2021 5 min read
  • Mobile

    Location Awareness in about 2 minutes with Windows 8–HTML

    Introduction I was working on a mapping application for Windows 8 – HTML using the Bing SDK and needed to pass the latitude and longitude into it. I began searching for a straightforward way to get the location and had to read through pages of documentation before finally finding it. Here it is in case you want to use it in your own apps. Default.html Just replace the <body> tag as shown below: 1: <body> 2: Latitude: <div id="latitude"></div><br /> 3: Longitude: <div id="longitude"></div><br /> 4: Accuracy:...
    May 27, 2021 3 min read
  • Mobile

    Creating A Live Tile In Windows 8

    Continuing my series of Blog posts that distill the presentations I’m giving this month in Europe and the UK, today I’ll take a look at creating a Live Tile.  Live tiles tell the user that something interesting is happening in your application, or that you have new information for them.  Live tiles are an essential and exciting part of Windows 8 and creating a Live tile is not very difficult. In fact, creating a simple Life tile is, well, simple. To start, create a new blank application and name it LiveTile.  The very first thing to do is to add the NotificationsExtensions project...
    May 27, 2021 2 min read
  • Mobile

    Windows 8–Search Suggestions

    I recently started a series of postings from my tour of presentations in Europe and the UK.  Today I’d like to return to Searching (which I started to cover here), and this time take a look at what it takes to have your application offer Search suggestions as the user types into the Search box.  To examine this, we’ll create a Windows 8 application with the suggestions hard coded, but you can just as easily obtain the suggestions from a web service, or database, etc.Once again what I’m going to do is strip down one of the Microsoft SDK examples and then...
    March 22, 2023 6 min read
  • Productivity Testing

    Telerik Test Studio Better Than Ever! Latest Release is Live!

    You’ve been waiting, we’ve been working. Now it’s time to drop the curtains and get Test Studio 2012’s R2 release out to you! We’ve got a number of great features that will help you focus your time and effort on critical factors in the systems you’re delivering. Here are my three favorite parts of the new release: Gooooaaaaaaaal! Got goals for your load testing efforts? Likely! (And if you don’t, you should!) With the R2 release you can now add in specific thresholds in metrics such as response times, HTTP errors, etc. Load test runs will pass or fail as ...
    May 27, 2021 2 min read
  • Mobile

    Windows 8 App Bars

    In my previous posting I said that I’d be distilling parts of my presentations into blog posts.  This post continues that idea, focusing on the App Bar.  If we are going to place Content Before Chrome and remove as much of the navigation from the content as possible, we need a way to make the chrome (e.g., navigation and command buttons) available to the user on demand.  That is the role of the appbar.You retrieve the appbar by swiping up from the bottom or down from the top of the screen. The appbar can appear on the bottom, the top or both.  ...
    May 27, 2021 3 min read