Monthly Archives

March 2013

Icenium and SQLite – a local database for your mobile apps

By | Uncategorized | No Comments

If you need relational storage for your Cordova-based app, SQLite provides a lightweight and feature-rich database.  I will walk you through the steps to use SQLite with Telerik’s Icenium IDE and build a demo Shopping List app that will select, insert, update, and delete records from a local database on the device. First, add the SQLite plugin in Icenium.  Double-click your “Properties” folder, select the Plugins tab and check the “SQLite” plugin.  This will add the Plugins folder and SQLite scripts within that folder. Database and Table Setup Before you can use your SQLite database and tables, you need to…

Read More

Falafel Software promotes Mike Dugan to VP of Products

By | News | No Comments

Falafel Software is pleased to announce that its current Director of Marketing, Mike Dugan, has been promoted to VP of Products. Mike is a software industry veteran with nearly 13 years of experience developing, managing and leading high tech projects. Mike’s strategic thinking and educational background as an MBA made him a natural fit as Director of Marketing the past few years, but his success with Falafel’s internal applications warranted a new strategic role. Mike developed the business plan for EventBoard, Falafel’s mobile conference application and has managed the sales, marketing, support and development teams for the past two years; setting in place…

Read More

Strong Naming a .NET Assembly without the Original Code

By | .NET | No Comments

I was recently helping a client code-sign their project for distribution over the Internet when we ran into a problem. They referenced a couple of pre-compiled .NET assemblies that were used by the main project but hadn’t been strong named. To be able to sign code in .NET, all the assemblies contained in that code need to have a strong name.  Normally, you’d just go into the project settings for any unsigned assemblies and set up strong name signing there. However, since I didn’t have the original code, I had to follow a different path. Here’s an outline of the…

Read More

Bootstrap layouts with Sitefinity 5.4

By | Uncategorized | No Comments

Last week over on the Sitefinity forums a question was asked on whether or not the Twitter Bootstrap framework was (or could be made) compatible with Sitefinity. More specifically, would it work with Sitefinity’s drag-n-drop layout editor, Mobile add-on and responsive design.  Both use a grid system that at first glance seem not to work well together. Take for instance a 33%+67% layout in Sitefinity: <div runat=”server” class=”sf_cols”>     <div runat=”server” class=”sf_colsOut sf_2cols_1_33″>         <div runat=”server” class=”sf_colsIn sf_2cols_1in_33″>                       </div>     </div>     <div runat=”server” class=”sf_colsOut sf_2cols_2_67″>         <div runat=”server” class=”sf_colsIn sf_2cols_2in_67″>                       </div>     </div> </div> And now look at Bootstrap’s implementation: <div class=”row-fluid”>   <div class=”span4″>…</div>…

Read More

A simple, minimally intrusive way to make a multi-batch T-SQL script succeed or fail atomically

By | News | 7 Comments

This goal is common in DB upgrade scenarios, yet problematic to achieve without a major impact on the contents of the script. The Problems The most obvious approach is probably just to start a transaction, and after each statement, check @@error and roll back the transaction yourself. This approach means writing a lot of extra error-handling code. You could start a transaction with XACT_ABORT ON, and after each batch, check if there is still a transaction. If there isn’t one, an error occurred. But now what? Many DDL statements require that they are the first statement in a batch, and…

Read More

Meet one of the newest Nokia Developer Champions at the Cowtown Code Camp

By | Uncategorized | No Comments

The Cowtown Code Camp in Fort Worth Texas is this Saturday, Mar 16th. I’ll be speaking about “Windows 8 & Windows Phone XNA graphics and sensor integration” at 4 PM. Nokia has seen fit to name me a “Nokia Developer Champion”. I, along with Falafel Software, look forward to working with Nokia and working to improve the Windows Phone ecosystem. My talk at the Cowtown Code Camp will be filled with lots of examples and hands-on demos. For those who are attending, I’ll be giving away one of my custom designed and 3D printed phone stands for the Nokia 920 and wireless…

Read More

In the Mobile Storm, Shield Yourself with Responsive Design, by Gabe Sumner

By | Uncategorized | No Comments

In my conversations with customers and vendors, I find everyone abuzz about mobile. What to do, where to start, what approach to take, etc. We at Sitefinity CMS have taken a strong stance in support of Responsive Design. Only this approach enables a single website to address an unlimited number of devices. I’ve written and lectured about Responsive Design quite a bit. However, I’ve long recognized that there are indeed, other approaches to mobile. Sometimes Device Specific, is Better than Device Agnostic Device-specific experiences have a role and, if used properly, can create better experiences for mobile visitors. However, these…

Read More

Announcing Falafel Tornado for Sitefinity

By | News | No Comments

Telerik’s Sitefinity CMS has been advancing at a tremendous pace. We’ve loved all the great new features, most notably the support for MVC, the inclusion of Kendo UI and the various client side features that come along with these technologies. After building several Sitefinity widgets that relied heavily on JavaScript, including the wildly successful Falafel Dashboard, a slick HTML5 replacement for Sitefinity’s default, we realized that we were relying on Visual Studio less and less. We eventually reached a point where we didn’t really need Visual Studio at all. So we decided to build Falafel Tornado and empower Sitefinity developers everywhere to…

Read More

Zip Align an Icenium Android APK

By | Mobile | No Comments

UPDATE (Mar 20, 2013): Icenium v1.3 was released yesterday with built-in zipalign format! read more… Last week I published a review of my first Icenium project. I wanted to go into a little more detail on one issue I ran into which confused me during the publication process of the Android version of my Icenium app. Publishing for Android from the Icenium IDE signs the package file, but it doesn’t do something else that is required. It’s called zip aligning. If you try to upload the APK file that Icenium produces, you will most likely get the following error message:…

Read More

Icenium: Looking Back on My First Project

By | Mobile, Web | No Comments

UPDATE (Mar 20, 2013): Icenium v1.3 was released yesterday with the ability to target iPhone or iPad only on iOS, one of my suggestions below. Thanks, Telerik team! read more… I’m just wrapping up my first project using Icenium, Telerik’s cloud-based IDE for creating Android and iOS apps using HTML5, CSS3, and Javascript. I must say that it’s been a very enjoyable experience and I’ve been very impressed with the product that our friends at Telerik have created. It’s a bit unfair to do a full review of this product yet, since it’s so new and still in v1. In…

Read More