Monthly Archives

January 2013

Handling the AdControl with Flyout Settings Pages

By | .NET, C#, Fun, Microsoft | No Comments

In my last blog post, Using Generic Attached Properties to Simplify Windows 8 Settings Charm Pages , I talked about how to easily add Settings Charm pages to any Windows 8 app. If your app happens to have an AdControl, you might have an issue that you need to handle. The issue is that AdControl is hosted in a WebView Control, which causes the control to always be on top. When flyout Settings Charm pages overlap AdControl elements you get unexpected behaviors. It’s a known issue but is easy to handle. I’ve updated the GitHub example to include a couple of AdControls on the…

Read More

Falafel Software Announces FalafelCon

By | News | No Comments

Falafel Software is pleased to announce FalafelCon 2013, the new annual training conference for software developers. Capitola CA – 29th January, 2013 – Falafel Software’s new annual training conference, FalafelCon, will take place at Microsoft’s Silicon Valley Campus on June 10 and 11th, offering software developers four co-located events and 40 technical sessions to choose from. FalafelCon’s four co-located events include Web and Mobile specific events that explore cutting edge software development techniques with Microsoft development tools. Advanced development topics include Azure tips and tricks, cross platform mobile development, NFC with Windows Phone, Windows 8 sensor integration and many more….

Read More

Falafel Bugs for Windows 8 Released

By | News | No Comments

We take quality seriously. Up until now, if you said the word “bug” in the halls of Falafel Software, you had better be whispering. So just imagine how much fun it was to build an app that was full of bugs. Of course, we’re not talking about programming bugs, but the kind of bugs that can scurry all over your screen and give anyone looking over your shoulder the creeps. This new Windows 8 app wasn’t just for fun either, this bug invasion is smart. You can set the size of the swarm and these intelligent little creatures can tell…

Read More

Using Generic Attached Properties to Simplify Windows 8 Settings Charm Pages

By | .NET, C#, Fun, Microsoft, Tools | No Comments

I’ve always liked attached properties… so much so that a couple of years ago I created a series of generic classes to simplify the process of creating custom attached properties. Attached Properties – a review: External control interactions — like the Grid.Row attached property. Basic info storage — just like the Tag property. Behaviors — changing properties and behaviors of the parent control. Bindings — to achieve custom bindings between UI controls. If you use XAML, you use attached properties whether you realize it or not. Creating a custom attached property only takes a few lines of code. Many declarative…

Read More

Building Single Page Applications with CanJS and RequireJS

By | JavaScript, MVC | 3 Comments

The web users of today expect a modern experience that only a single page application can deliver. Page refreshes are a thing of the past. Waiting for anything longer than 2 seconds without a “cool effect” is not acceptable. Responsive design for tablets and smartphones should just work. These demands of the new era have spawned new ways to develop JavaScript applications. For modern, scalable, and extensible JavaScript applications, two techniques are on the forefront: MVC patterns and AMD design. For this demo, we will be using RequireJS for AMD modular design and CanJS for MVC. By the way, I…

Read More

Loading Sitefinity’s Built-in jQuery

By | Uncategorized | One Comment

A couple of months ago I wrote a column on how to use jQuery and other JavaScript libraries in Sitefinity. It was elegant and fairly simple. The sad news is, it’s no longer valid for Sitefinity 5.3. The good news is, there is always a better way ! Here’s how I managed to modify my base master page class to include the JavaScript libraries as well as the built-in jQuery that comes with Sitefinity without having to worry about the fully qualified name of the resource. public class MasterBase : System.Web.UI.MasterPage {     protected void Page_PreRender(object sender, EventArgs e)     {         InitPage();…

Read More

Falafel Launches New Sitefinity 5.3 Website

By | News | No Comments

Its 2013, so out with the old and in with the new! Over the holidays, the Falafel team was hard at work preparing our new Sitefinity 5.3 website for launch. The new site is a complete redesign inspired by Windows 8 that features a tile-based, color-coded theme to make navigating the site and finding the exact Falafel Software content you were looking for easier than ever before. Under the hood, the Sitefinity 5.3 engine and MVC based widgets have given the site a huge performance boost over past incarnations. Fans of Sitefinity will also recognize and appreciate that the Falafel…

Read More

Creating JavaScript/HTML5 Sitefinity Widgets

By | Uncategorized | No Comments

Today I am going to introduce to you a new way of building Sitefinity widgets. A couple of them are actually live on our new home page. The image carousel and blog rotator are JavaScript widgets stored in shared content blocks. It’s only a few lines of script and very elegant. See for yourself: <div id=”myCarousel” class=”carousel slide hidden-phone”> <div class=”carousel-inner”> <div class=”loading-page”></div> </div> <!– Carousel nav –> <a class=”carousel-control left” href=”#myCarousel” data-slide=”prev”>‹</a> <a class=”carousel-control right” href=”#myCarousel” data-slide=”next”>›</a> </div>   <script id=”home_slider_template” type=”text/x-kendo-template”> # for (var i = 0; i < data.length; i++) { # <div class=”item”>   #if (data[i].Link) {…

Read More