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

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

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

LINQ Obscura: outer join a base class table to a subclass table

By | News | No Comments

I’ve gone on at length before about inheritance in EF, specifically Table Per Type inheritance, and for the sake of this post, I’m going to assume you already know how to perform an outer join with LINQ. But what if you want to perform an outer join of a base class table to one (or more) subclass tables? I couldn’t think of a way to get it done, but a colleague presented a solution that seems blindingly obvious once demonstrated. In the following incantation, assume that Student is modeled as a subclass of Person:

The key is simply to realize that…

Read More

Kendo UI at Carolina Code Camp

By | Kendo UI, Web | No Comments

I really enjoyed the opportunity to talk about Kendo UI at Carolina Code Camp on Saturday.  There was a great mix of developers who had been using Kendo UI for a while and those who were checking it out for the first time. If you missed it, I provided a walkthrough of some of the key elements of Kendo UI Web and how it accelerates development on web applications.  Here are the demos and resources from my talk.  Click through to see the demos in JSFiddle, or download the code at the bottom of this post. Demos Widgets: Explicit and Declarative compared…

Read More