Using MySql 5 as Membership Backend for ASP.NET 4.5 MVC 4 Application

Oracle provide MySql ASP.Net web providers through NuGet – search for MySql.Web. Using the MySql providers you can easily use MySql as your membership/profile/role backend for an ASP.Net application. But beware the MySql providers do not currently support the ASP.NET 4.5 templates since those templates use ExtendedMembershipProvider and SimpleMembershipProvider and they have an internal dependency on MS SQL Server… I am going to demonstrate using it as the membership provider for an MVC 4 application […] Read more »

Js updates all-around!

As I have written previously I am involved in some really JavaScript heavy development target at “native” mobile apps done using Phonegap. The last month or so has brought a lot of framework updates which are interesting. First of all JqueryMobile 1.0.1 has been released and the upcoming (February?) 1.1 release is said to bring true fixed header/footer toolbars and scrolling. We’ll see… Steve Sanders has released knockoutJS 2.0 – this is actually the 1.3 […] Read more »

Working fork of iScroll 4 with extended acceleration

The problem that I had introduced in my iScroll 4 code just needed a simple fix. This was the code I had in my local file. speed = m.abs(dist) / time + (addVelocity ? velocity : 0) Speed should always result in a positive number, when velocity was negative then obviously the end result could be negative. In addition the effects were quite strange since sometimes multiple touchmoves would result in the speed being lower […] Read more »

iScroll 4 first fix for acceleration on multiple touchmoves

Chicago Temple Building 50 by orijinal, on Flickr

iScroll 4 is a great library for adding scrolling to mobile Html5 applications. Unfortunately I found that there is something missing in how the scroller works compared to native scrolling. After comparing how one of my HTML5 mobile applications scrolls compared to an equivalent native app I found one major difference that changes the feel of the iScroll scroller – multiple consecutive scrolls on the native app speeds up the scrolling. With iScroll 4 multiple […] Read more »

Knockout js 1.3 external native templates using xui

caseycorcoran and maverix (Andrew Harry) have created a gist for an external template engine using jQuery for Knockout’s new native templating feature in 1.3. I am using Knockout in one of my Phonegap projects but I am trying to avoid jQuery in favor of xui.js which is a much smaller library optimized for mobile phone HTML5 development. I have created a fork of their gist changing the ajax loading from jQuery to the xhr function […] Read more »

Enable scrolling in html5 mobile apps

Jquery mobile fixed toolbars

My recent forays into mobile app development with Phonegap have uncovered a couple of surprises (for me at least). Clearly mobile app development and specifically HTML5 applications are a very imature space! I have been focusing on getting to know a couple of different model-view frameworks (Knockout, Backbone, Angular) and also trying to get a simple UI based on HTML5 to render in a mobile phone, both with and without UI frameworks (JQuery mobile, Appmobi […] Read more »

W3 Total Cache and WordPress Network issues

Racing Stars

I have setup this wordpress installation as a network of sites using the built in WordPress support for site networks. All of the sites are running on separate domains but WordPress is setup to use subdirectories for the different sites. So this blog is actually installed at /nsilverbullet in wordpress. To map from subdirectories to domains I am using the WordPress MU Domain Mapping plugin. Unfortunately WordPress MU Domain Mapping and W3 Total Cache do […] Read more »

Amazing wordpress cache

Photo by Viernest, on Flickr

I have installed and setup W3 Total Cache and the performance increase is amazing. My site which, on a bad day, used to load pages in 5 to 7 seconds now loads them in closer to 1.5 seconds! The end result far surpases my expectations and thats without all the bells and whistles that W3 Total Cache supports in the form of CDN and advanced cache servers. I will admit that it was not as […] Read more »

ASP.NET DropDownList always fires SelectedIndexChanged

DropDownList

After a couple of days trying to get to grips with a misbehaving custom compositecontrol I finally located the issue to a feature/bug in the framework implementation of DropDownList and ListControls in general. There is an issue logged on Microsoft Connect but it has been closed as “by-design”. I don’t think that this behavior really is by-design but there are two contradicting features interacting with each other leaving Microsoft with no other choice but to […] Read more »

Break-down of javascript mobile frameworks for phonegap development

Physical Notifications by Johan Larsson, on Flickr

I am experimenting with PhoneGap for a couple of projects that I am currently working on. PhoneGap is a native mobile app packager which basically converts a html5/js based site into an app that will run on mobile phones and can be distributed via app store/market. Since PhoneGap merely leverages existing support for html5 and javscript in the mobile phone you have pretty much the same issues as when developing a regular mobile enabled web […] Read more »