Monthly Archives

September 2013

Falafel Software at DevReach 2013

By | News | No Comments

DevReach is upon us again. Now in its 8th year, the event that sets out to be the premier developer conference in Central and Eastern Europe gets our vote for the top event in the region. Hosted annually in Sofia Bulgaria, the event has grown year after year. Grown so much in fact, that this year the event had to move to the much bigger Sofia Event Center to support the demand for its top notch technical training. Much of the event’s success can be attributed to the high quality standards that the event organizers at Telerik uphold. Attendees know that…

Read More

Falafel Software Wins 2 Sitefinity Awards

By | News | No Comments

This week Falafel Software was recognized for its outstanding achievement with the Sitefinity CMS platform and given two prestigious Sitefinity honors: The Sitefinity Expertise Award in the Technology Industry / Web Solutions category and the Sitefinity Certified Solution Partner Award. Sitefinity Expertise Awards are given to solution partners who have excelled at creating successful Sitefinity projects in a specific vertical or with specific functionality. The awards help Sitefinity customers identify the top performing partners in particular industries. Falafel Software was selected for this award after creating a number of high profile and technically challenging Sitefinity solutions. The award came as…

Read More

Learning Xamarin–Preserving State

By | Xamarin | No Comments

This is post 6 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] In the previous post we looked at the Application Lifecycle.  In this post we’ll put some of that information to practical use, and create an application that preserves a little state across being Stopped.  This is an adaptation of the walkthrough available on the Xamarin site; however I dive a bit deeper into where to set yoiur resources and have simplified the example to focus on the key aspects of preserving and restoring state.   Getting Started Begin by creating…

Read More

Learning Xamarin for Android–Table of Contents

By | Xamarin | No Comments

I have embarked on a course of learning Xamarin for Android. By request, here is an evolving Table of Contents of the articles.  Each article will point back to this TOC, and this TOC will point to all the articles, in order. Getting Started With Xamarin Android Using the Genymotion Emulator Logging Weirdness Explained Application LifeCycle Preserving State Adding the Spinner Control Taking the Plunge – Creating An App Preserving State With JSON Menus!

Read More

Falafel Software Launches Kendo UI Training

By | News | No Comments

Falafel Software launches two new Kendo UI training courses to teach developers how to build modern web and mobile applications with Telerik’s HTML5 and JavaScript framework. Capitola, CA  September 23rd, 2013 – Falafel Software is pleased to announce the launch of two new training courses that will teach developers how to deliver modern web and mobile applications with Telerik’s Kendo UI framework. Each 4-hour course is conducted online with a live instructor; with one course focusing on building web applications for modern desktop browsers and the other focusing on building cross platform mobile applications. Telerik’s Kendo UI framework bundles everything…

Read More

Porting an Icenium Project to Visual Studio

By | Mobile | No Comments

Now that the Icenium team has announced a new Visual Studio plug-in, some developers may want to port their projects from Icenium Graphite or Icenium Mist to Visual Studio. Unfortunately, in spite of a lot of really great features offered in v1 of the plug-in, porting an existing project is not a supported scenario (see the documentation). I’m sure the Icenium team will get around to implementing this feature eventually. They’re working very quickly through a long list of feature requests, so it’s just a matter of how important this feature is to the community. If this feature is important to you,…

Read More

Learning Xamarin–Application Lifecycle

By | Xamarin | No Comments

This is post 5 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] As is true with iOS and Windows Phone development, you can’t get very far in Android development (with or without Xamarin) without understanding the Application Lifecycle in somewhat painful detail. And, as explained in the previous blog post, some aspects of Android’s life cycle are, shall we say, unusual.  The heart of an Android app, as you know by now, is an Activity. The rub is that activities can be suspended and resumed by the operating system, but not necessarily…

Read More

Kendo: How to get the model bound to an element

By | Uncategorized | No Comments

There might be times when your app is structured such that you bind a Model to a View in one scope, but you still want to be able to obtain that Model for modification in a different scope without relying on global variables. By diving into the source code, I found that elements bound to Models do so through a BindingTarget object, which has a source property that contains the Model. This BindingTarget is saved in a property named “kendoBindingTarget” on the element itself. Thus, you can obtain the original model like so:  var viewModel = kendo.observable({   selectedValue: 3…

Read More

Xamarin for Android #4–Weirdness Explained

By | Xamarin | No Comments

This is post 4 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] . Most tutorials and books on frameworks and systems insist on giving you “all the background you need to really understand the system” because, they claim, without that, you won’t understand how it all fits together.  I find, on the other hand, that what I want, is to get busy creating applications, and then understand the architectural underpinnings later, as I go. That said, Android is so weird that there are a few concepts you really do need to grok…

Read More

Quick and easy way to run IIS Express on any path

By | Uncategorized | No Comments

This is just a quick tip that will make it quick and easy to host a site in any folder using IIS Express. Simply create a new text file and paste the following line into it: “C:\Program Files (x86)\IIS Express\iisexpress.exe” /path:”%cd%” /port:12345 You can set the port to any value you choose. Save the file with a .bat extension and put a copy in the website folder. Whenever you want to host the site in that folder with IIS Express, just double_click the file. A console window will appear showing the status of IIS Express. Just press “q” in the…

Read More

Xamarin for Android: Logging

By | Android, Xamarin | No Comments

This is post 3 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.] In today’s brief posting, I’ll demonstrate how to add logging to your application using the built-in logging facilities provided by the Android.Util namespace. To begin, create a new Android application in Visual Studio  2012 named Hello Log.  When VS settles down, you’ll find a sample file named Activity1.cs that contains almost all the code we need.  This code wires up a button event handler to count the number of times the button is clicked. Our goal is to add logging…

Read More

Learning Xamarin #2: Using the Genymotion Emulator

By | Uncategorized | 3 Comments

This is post 2 of 50 in the series “Learning Xamarin” [Please see the Table of Contents for this series.]   In a previous post, I explained that I’m learning Xamarin and documenting the process.   As soon as I noted this effort on Twitter, I received a tweet from the estimable Paul Betts, now employed by GitHub, that  I wanted to be sure to use Genymotion or HAXM.  I went with the first. The process is simple, and the results are gratifying. In my totally non-scientific tests (I started it up and hit the stopwatch on my iPhone), Genymotion’s Nexus…

Read More

Icenium: Blank Project and Hello World

By | Icenium | No Comments

In my last post we explored how easy it is to dive into Icenium to create cross-platform HTML5 hybrid mobile applications. This time we’ll take a closer look at the project files and how they work together by creating a blank project and using it to display a “Hello, World” message. Creating a Blank Project As mentioned before, Icenium has several project types to get you started. In later posts, we’ll be making use of the Kendo Mobile project, since this is my platform of choice for mobile and web development. However, to keep things as simple as possible for…

Read More

Add Page Names as HTML Classes

By | Uncategorized | One Comment

Wouldn’t it be great if you can specify different styles per page all from the stylesheet? For example, your home page may have a larger header section than the rest of your pages. The solution would be to add a different class on each page so you can do something like this: .header {   height: 30px; }   .home .header {   height: 100px; } Only problem with this is most of the time your pages are generated by a content management system or web application. That means, you would have to hook into the page lifecycle and add the page…

Read More

My Icenium Journey: Getting Started

By | Icenium, Mobile | No Comments

This is the first in a series of blog posts that will chronicle my journey through Telerik’s Icenium mobile development platform. In this intro, I’ll talk about my experience setting up the Icenium environment, and running my first project on both the simulator and my test device. Two Sides of the Same Coin Icenium is available in two flavors: an installable Windows application (called Graphite) as well as a full-fledged online IDE called Mist that runs in your browser. Both offer a complete environment for developing and testing your apps, and even have the availability to sync your projects, allowing…

Read More

How to completely replace the Kendo DropDownList pop-up with a custom one

By | Uncategorized | No Comments

There is a lot about the behavior of the Kendo DropDownList that I like. I like that you can count on it to have a selected value. I like the type-ahead searching behavior. The pop-up is pretty customizable too, within limits. But what if you really want to display the options in some way that is different from a single-column stack of templates, such as a mega menu? It is not easy to try to manipulate the Kendo DropDownList into doing this just with templates, but it isn’t too hard if you sidestep the built-in pop-up entirely and supply your…

Read More

Falafel Software and Apress Launch New Windows Phone 8 Book

By | News | No Comments

Falafel Software and Apress Media team up to deliver a new book on Windows Phone 8 development. Capitola, CA  September 3, 2013 – Falafel Software is pleased to announce that its latest book, “Pro Windows Phone App Development,” has been released and is available through Apress Media. The 560 page development guide walks readers through the entire application development process, starting with an explanation of the basic requirements of a modern Windows Phone app and progressing through app creation and submission to the Windows Phone store. “Working on this book was a lot of fun” said Noel Rice, VP of…

Read More

Fluid Column Layout with HTML and CSS

By | Web | No Comments

I recently needed to lay out content in columns that had variable height, yet still have every row line up evenly.  While it is possible to achieve this using display: table-cell; but I am building my content dynamically and I don’t necessarily know how many items will be displayed. The best solution for this is typically to use float: left; on each element that needs to be placed in columns and while I could set a specific width to have uniform columns, if the height of one of the cells was different, the items would start to stack on top…

Read More