on Ubuntu 14.04

    14 October 2014

    I recently tried to get MEAN running on Ubuntu 14.04 and I ran into problems. Here are the issues that I ran into, what I did wrong to respond to the errors, and how you can easily resolve the problems.

    Windows 8 Development - Continuous Integration

    17 June 2014

    Continuous integration (CI) is one of those practices that is a necessity for me on all of my projects. Without the tight feedback loops that CI gives you, projects feel unprofessional to me. This has been a point of frustration for me while developing for Windows 8 with JavaScript. Building the solution can easily be done with MSBuild. But, unit testing has been a bit of a problem.

    Windows 8 Development - Application Errors

    13 June 2014

    An event that is often overlooked, but which is extremely important for customer service and diagnosing of issues is the event that occurs when there is an unhandled exception. In the paradigm of web application development, you can control your hardware and rely on your application logs. But in the distributed world of mobile, the logs are all on the user's mobile device. In this scenario, it is important for you to be able to capture these problems and "phone them home" to be diagnosed/fixed (with the user's permission of course).

    Windows 8 Development - Application Resume

    12 June 2014

    While most of the events I described in previous posts had events in both Windows.UI.WebUI.WebUIApplication and WinJS.Application, there is no WinJS wrapper around WinRT event in this situation.

    Windows 8 Development - Application Suspend and Shutdown

    11 June 2014

    At any given time, there are only three states that your Windows Store application can be in. Obviously, the first two are “running” and “not running.” But, there is a third state that the web and WinForms/WPF developer might not be accustomed to called “suspended.” An application can be suspended in several conditions:

    Windows 8 Development - Application Startup

    10 June 2014

    Unlike a web application, which always starts because someone has requested a page, Windows Store applications can be started for a whole host of reasons. It could be that the user has to click on the shortcut/tile to start your app. But, it could also be from the camera sharing a photo with your app, another application (e.g. a web browser) sharing data, or an auto-run triggered by the user inserting a flash drive. There are a whole host of activation kinds that your application can respond to.

    Windows 8 Development - Life Cycle Events

    09 June 2014

    In another post, I mentioned that you do not need WinJS at all to write a Windows Store Application. Not only is this true of the user controls, but it is also (mostly) true with regard to the application life cycle.

    Windows 8 Development - C# Components for JavaScript Applications

    05 June 2014

    Many articles will tell you that you cannot have a C# back end for an HTML5 presentation layer. While this is true on the surface because you cannot mix them in a project, it is still possible to mix-in C# (or VB.NET if you are a verbose kind of person) as a “Windows Runtime Component.” Since I came into my first Windows 8 project with an ASP.NET MVC mindset, this is the route my team and I took. In retrospect, this might not have been the best idea because of the many limitations and oddities that added complexity. Depending on your team's skill-set, this may or may not be an option for you. However, you should consider the following.

    Windows 8 Development - Things to Know about JavaScript

    03 June 2014

    For my client's Windows 8.1 project, the team was happy to see that Microsoft offers the ability to write the application in JavaScript. This is because we are primarily web developers, and we could bring a lot of our current skills directly into the project. Other than the code that is considered “unsafe” (which does bring a lot of runtime-only issues), there does not seem to be any restrictions on what you can do in your application. You still have complete access to the .NET (WinRT) framework in the same way that a C# project has. For us, the JavaScript project was actually even more beneficial to us than C# because we didn't have any expectations around open source libraries that we would later find out are not compatibility with WinRT.

    Windows 8 Development - Understanding the Terminology

    01 June 2014

    The first thing to understand about developing applications for Windows 8/8.1 is the terminology. While these types of applications have been around for some time, there is still confusion over the original Microsoft-internal code names and resulting product names. Since the community is not as established as other platforms, many of the blog entries you will find are older and still use the code names.