Monthly Archives

July 2013

Two Falafels Named Icenium Insiders

By | News | No Comments

Today, two Falafel Software consultants were invited to participate in the new Icenium Insider program. As Icenium insiders, Jonathan “J” Tower and Daniel Plomp will have early access to draft product road maps and experimental new features. As new features are tested and roadmaps are unveiled, our new insiders will be able to share their ideas and feedback directly with the Icenium team. For those unfamiliar with Telerik’s Icenium product, the application enables developers to build cross-platform mobile apps using HTML, CSS and JavaScript in a locally installed or browser based IDE. Daniel began building cross platform mobile applications with…

Read More

Using The “Hide Content” Feature in Sitefinity for Responsive Design

By | Sitefinity | No Comments

When working with responsive websites, one often needs to hide certain content depending on which device the site will be seen on. For example certain content may be accurately viewed on a laptop, but not on a tablet. Or content that looks good on a laptop and tablet, may not display correctly on a mobile device. Certain libraries like bootstrap handle these type of queries, but did you know this is also available in Sitefinity? It is pretty simple to set up. First make sure that your site is set up for responsive design through the Sitefinity admin, you can…

Read More

Falafel Software Releases First Pluralsight Course for Sitefinity

By | News | No Comments

Over 200,000 techies use the Pluralsight video training platform as their secret weapon, relying on the library of over 20,000 videos to learn the ins and outs of latest technologies. Today, Falafel Software adds to that library with a new course to help developers get started with Telerik’s award winning CMS, Sitefinity. This new 4-hour course will help those new to Sitefinity understand the application’s architecture and how to use the CMS to create their first web application. Learn to create new pages and content, use the layout manager and where to find help and new add-ons in the marketplace….

Read More

iOS UITableView: Hiding separator lines above custom section headers

By | Mobile, Xamarin | 2 Comments

I wanted to share a little trick I discovered when creating custom section headers for a UITable. The issue is that UIKit renders in an undesirable way (in my opinion) when using the combination of default separator lines (between table cells) and custom section header views. The examples shown here are in C# using Xamarin.iOS, but the same technique applies if you are using Objective-C. Before we look at the issue, let’s take a look at a vanilla UITableView with the standard iOS defined section headers: I have purposely made the separator lines red so that you can see that,…

Read More

Custom Kendo Visibility Binding

By | Uncategorized | One Comment

Kendo’s MVVM is a great way to write data-centric HTML5 apps because it allows you to move away from writing jQuery to get and set values, to just manipulating the data objects and letting the bindings handle the display. Kendo comes with not one but two bindings to control visibility, but unfortunately they both control it the same way, by setting the CSS property "display" to "none". This has the effect of rendering the document as if the element didn’t exist. But what if you want to hide the element but cause it to occupy space in the layout? Ordinarily…

Read More

Processing real-time video with a Windows Phone application using C#

By | Uncategorized | No Comments

This is a follow up to my previous video blog post Processing real-time video with a Windows Store application using C#. In this video we are doing the same thing, but with a Windows Phone. Links You can download the updated example with both the Windows Store and Windows Phone projects here. Here is an old blog post about displaying the Windows Phone camera preview with XAML. The Nokia Imaging SDK. The Nokia Real-time Filter Demo.

Read More

Kendo Class Inheritance and RequireJS

By | Uncategorized | One Comment

Kendo UI includes base class objects that provides class inheritance. This is very useful for creating elegant, object-oriented JavaScript code. Couple this with RequireJS and you have a very scalable architecture. Below is a JavaScript AMD module that returns a base class for client-side classes. It can be consumed as a dependency. Take a look: define([     ‘kendoui/kendo.core.min’ ], function () {       //CREATE BASE CLASS FOR LATER INHERITANCE     var MyBaseClass = kendo.Class.extend({         id: null,           //CONSTRUCTOR CALLED ON NEW INSTANCES         init: function (id) {             this.id = id;         },           //METHODS         display: function() {             console.log(“Base class display”);         }     });       return MyBaseClass; });…

Read More

Kendo UI Upload and File Types

By | ASP.NET, MVC, Telerik, Web | One Comment

Kendo UI provides a great Upload Widget that makes it easy to get a file or multiple files uploaded in your web application.  By default, the upload widget will let users upload any type of file.  What if you want to restrict the file types allowed for upload?   Accept Attribute When you click the “Upload” button for the Kendo widget, it opens the operating system’s “Open File” dialog.  We will use the HTML Input Accept attribute to filter the available file types.  We can follow several different formats to restrict files: <!– Content Type with wildcard.  All Images –>…

Read More

Collections and Xamarin.Android

By | .NET, C#, Mobile | No Comments

When using Xamarin.Android and Mono to develop Android applications, it is helpful to know a bit about what is going on under the covers. In the Android implementations there are essentially 2 VM’s or runtimes. The Dalvik VM is used to run Java/Android native code and the Mono VM is used to run managed code. Oftentimes you need to pass collections from managed code into the native Android API’s, these API’s are all mapped to C# classes, methods, and datatypes, so you may freely use them from your managed code, however there are some things to be aware of when…

Read More

Mobile Asynchronous Coding with Mono

By | Uncategorized | No Comments

One of the upcoming features in mobile Mono, using the Xamarin toolset, is support for the async and await language keywords. Currently this support is working in beta builds of Xamarin Studio and the Mono frameworks for iOS and Android. The feature is considered stable and feature complete and should appear in the stable release builds soon. You may already be familiar with the two cardinal rules of mobile development. Never block (e.g. perform long running operations) on the UI (main thread). Always manipulate UI controls/widgets from the UI thread. Typically, the solution to this would be spawning a thread…

Read More