Monthly Archives

May 2014

Sharing Sensor Code in Universal Apps

By | Uncategorized | One Comment

Universal Apps have the ability to unify code between platforms, but what about using sensors between platforms? I wrote a simple Universal App to see how much sensor code could be shared. In the past, Windows Store and Windows Phone had similar code to access and handle sensors, but sharing code meant lots of conditional compilation symbols to handle the differences.

Read More

Behold, the Kendo Checkbox

By | JavaScript, Kendo UI | One Comment

Telerik’s Kendo UI offers an extensive collection of UI widgets for your HTML5 applications. One widget that seems to be missing is a Kendo Checkbox. Technically, we don’t really need one because we can use Kendo’s MVVM binding on any HTML element, including inputs with type=”checkbox” so we can bind the enabled, checked, and label values. But there is certainly a place for a checkbox widget that is styled the same and offers the ease of Kendo’s declarative initialization. We are going to use a combination of Kendo’s Widget.extend() and CSS to create a custom Kendo Checkbox that has a custom look to match our application.

Read More

Creating Kendo UI ViewModels in TypeScript

By | JavaScript, Kendo UI, Telerik | No Comments

TypeScript provides a nice way of making strongly typed classes and turning them into JavaScript for you. When you pair it with Kendo UI, you will almost certainly want to make your ViewModels their own classes. This can be done by extending the kendo.data.ObservableObject class, but if you aren’t careful, TypeScript can get in the way more than it helps.

Let’s take a look at the common mistake made when defining a Kendo UI ViewModel as a TypeScript class.

Read More

OMG! This Codebase Sucks!

By | Uncategorized | No Comments

Call them “legacy,” call them “brittle,” call them something else. difficult codebases have been giving delivery teams headaches for years. Regardless of the label you use, dealing with these troublesome piles of goo usually leaves organizations in a downward spiral of slowing velocity, increasing customer frustration, and sinking delivery team morale.

Read More

Kendo UI & Dynamic Data: Solution 2

By | Kendo UI, MVC, MVVM | No Comments

This blog post is part 2 of a series by Jesse Liberty and Rachel Hagerman of Falafel Software.

In our previous post, we demonstrated one way we can implement dynamic data binding to create a series of checkboxes in our sample application. It is a method we would use in most situations where we are creating items in a Kendo UI ListView from dynamic data. Checkboxes are often the exception to the rule, however, and soon after we discovered a built-in way to handle the ‘checked items in a list’ type of problem.

Read More

Adding dynamically the Sitefinity Search Widget to a User Control

By | Uncategorized | No Comments

One of the requirements that you might encounter is the ability to include the already built-in search widget of Sitefinity into another User Control. That User Control might be a help box that offer, in addition to the search mechanism, other capabilities like referencing to external pages, etc… To achieve this we need to go through the following: Map the Search Widget UI Template to an external User Control Template. Reference and create an instance of the search Widget in the Help box.  Configure the Search Widget Map the Search Widget UI Template to an external User Control Template The…

Read More

J. Tower Speaks at ITCamp Romania This Week

By | Uncategorized | No Comments

Falafel Senior Software Architect J. Tower will be dazzling the crowds at ITCamp Romania this Thursday with two sessions. ITCamp is back for another year with 2 days, 4 tracks, over 30 speakers, 40+ hours of content and open panels, pre-conference workshops and lots of networking opportunities. ITCamp is the largest community-driven conference focusing on Microsoft technologies in Romania, now at its 4th edition. You’ll spend two great days among well-known speakers who will be covering 4 separate tracks of high-quality content. The Sessions: 30 Tools for Modern .NET Web Development in 60 Minutes Are you a .NET developer interested in crafting…

Read More

Running Cordova Multi-Device Hybrid App from Visual Studio On Android Device

By | .NET, Android, C#, Icenium, JavaScript, Kendo UI, Microsoft, Mobile, MVVM, Telerik, Tools | 15 Comments

As the name suggests, in this column I am going to show you how to run and debug your hybrid application from Visual Studio on your Android device. We will not be covering iOS here but in a later post. If you haven’t started developing Multi-Device Hybrid applications in Visual Studio then I suggest that you take a look at my previous post. If you have attempted to run your application on your Android device and you were not successful, read on. First of all, to run your application on your device, you need to select the “Device” mode in Visual…

Read More

Tech Ed Day Four and Farewell

By | Uncategorized | No Comments

What a week it has been! My first major conference was a blast, and more than anything my favorite part has definitely been everything I have learned. I’m eager to go back and watch all the sessions I missed, even re-watch the ones I attended, and most of all, trying it all out! Unfortunately a few of my sessions were cancelled today, so it was short. I spent some extra time browsing the Expo and found some pretty cool vendors doing some nifty stuff, and also visited the Study Hall for some resources and a practice test. The Async Best…

Read More

Tech Ed Day Three

By | Microsoft | No Comments

The fun continues in Houston, I’ve meet some great people and am learning plenty to keep me a busy and happy developer. I had originally planned to scope out just the developer track sessions, mostly on Windows and Windows Phone developoment, but given that there is so much to learn, I thought I would wander a little out of my comfort zone and see what else is out there! Here are some highlights from the sessions I visited on Wednesday. Exam Prep: 70-483 – Programming in C# – This is actually the exam I expected to take this week, so…

Read More

Getting Started with Cordova and Multi-Device Hybrid App in Visual Studio

By | .NET, Android, iOS, JavaScript, Kendo UI, Microsoft, Mobile, Tools, Web, Windows | 18 Comments

Two days ago at TechEd conference, Microsoft announced the future step in its “mobile first, cloud first” strategy with a preview of Apache Cordova support in Visual Studio. Apache Cordova is a popular open source toolkit for building apps for iOS, Android, and Windows using HTML, CSS, and JavaScript. With the Cordova integration, Visual Studio will directly support building apps for all of these platforms. The Cordova support is important for a number of reasons. It very much aligns with the company’s strategy to target all the platforms and provide the developers with the tools to do it. After announcing the partnership with…

Read More

Tech Ed 2014 Day Two

By | Microsoft | No Comments

Day one at Tech Ed already set the bar high, but day two just smashed it open. So much going on, and it’s way too much content to cram into a summary. Look for full, dedicated posts on some of these topics in the coming days and weeks as I dive deeper into my notes and re-watch the videos (not to mention the ones I missed)! The Future of .NET on the Server – Scott Hanselman took another look at the topics previewed about .NET vNext yesterday, then took an even deeper dive in the next session. There’s some really…

Read More

Tech Ed 2014 Day One Recap

By | Microsoft | No Comments

What a day, full of sessions, lessons, great people, and great information; I can’t wait to take in more on Tuesday. If you’d like to say hi, be sure, ping me on twitter @SelAromDotNet, I’d really appreciate the opportunity to meet you in person! Here are some of the highlights from Monday that still have my developer senses tingling! Visual Studio 2013 R2 RTM – Official release of the latest update to Visual Studio. Considering that the RC is only just over a month old, this is a testament to Microsoft’s increasing commitment to rapid iteration and release. This update…

Read More

Hello, Tech Ed!

By | Microsoft | No Comments

It is a great pleasure, and a true honor to represent Falafel Software at the 2014 Tech Ed Conference in Houston, TX. I’m now onsite, taking in my first ever major conference, and would love to say hi to fellow developers and community members. If you’re attending, please ping me and say hello! I’ll also be around to answer any questions you may have about the Channel 9 app which is powered by Falafel’s own EventBoard platform. If you are at the conference and are having any issues syncing your agenda be sure to logout and back in using the…

Read More

Dependent Methods (calculated fields) – a hidden goody in Kendo UI

By | Uncategorized | One Comment

Dependent methods are easy to miss in the Kendo UI documentation, but hugely valuable. On the face of it, dependent methods implement calculated fields, but can actually take any type of data and convert to any other type (if you’ve worked with Silverlight, think Converters). MVVM bindings are updated so that page elements update automatically. Imagine you have a set of severity types: “no problema”, “I’m a little concerned” and “Armageddon”. These can be painted on the page as green, yellow and red flags or you could go with text in normal/italic/bold font. Dependent methods are methods that fire when properties…

Read More