First time here? You are looking at the most recent posts. You may also want to check out older archives or the tag cloud. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS. Thank you for visiting! (hide this)

Javascript

Javascript

My review of Umbraco Codegarden 2014– One word: amazing!

Over last week I've been in Copenhagen to attend the Umbraco CodeGarden: I’ve been at this conference 4 years ago, in 2010, when I had 2 talks at the MVC pre-conference, but this time I was just a normal attendee. The atmosphere during the event was amazing, exactly like I remembered 4 years ago, and conference looked bigger and better organized. It really shows how one of the biggest feature of Umbraco is its community. I was planning to do a session-by-session review, but I realized that the post would become to longs, so I’ll just recap the...

Why is a 32bit Windows Azure WebSite running as 64bit?

Yesterday I updated my Ghost installation on Azure Websites and my test blog stopped working: I enabled error logging and the error I got was: [31m ERROR:[39m [31m Cannot find module './binding\Release\node-v11-win32-x64\node_sqlite3.node' [39m Error: Cannot find module './binding\Release\node-v11-win32-x64\node_sqlite3.node' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (D:\home\site\wwwroot\node_modules\sqlite3\lib\sqlite3.js:7:15) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) ...

How to update Ghost on Windows Azure

While trying Ghost I found myself in the need of updating the code to keep it up to date with the latest version available on github, and since both getting the updates and the deplyoment to Azure Web Sites is done via git I wrote a small batch file that automates the process. #! /bin/bash echo Pulling from Azure git pull azure master echo Pulling updates from origin git pull origin echo Compiling assets grunt init grunt prod echo Committing to local repository git commit -a -m "Applying changes from origin" echo Pushing to Azure git push azure master A little explanation of what the script does: It pulls from Azure in...

How to install all web development tools needed for Ghost on Mac

As I’ve written last week, I’ve been starting to play around with Ghost and to do so I had to go through an extensive maintenance of my MacBook. But that also gave me the opportunity to revamp it installing the tools needed for a modern web development workstation. In this post I won’t focus that much on the Ghost installation part as it’s well explained on Scott Hanselman post about installing Ghost on Azure, but I’ll focus more on installing the tools needed using the best practices. Tools needed Basically you’d need to install the following tools: Git Node.js Ruby Git Git is a prerequisite for installing most...

How to bind a jquery mobile radio button list to Knockout.js variable

Rendering a radio button list with jQuery Mobile is pretty easy: you just write a normal radio buttons list, apply the jQuery Mobile data attribute and you a get nice mobile “touch” friendly radio button list. Also having it send back to a knockout.js variable the value of the selection is easy too: just apply the checked binding to the radio button. Standard Radio Button List with jQuery Mobile and Knockout.js This was the code that turns a normal radio button list to the jQuery Mobile horizontal group with binding to a Knockout.js...

Node.js and JavaScript coding and development guidelines

Every now and then I go back to doing something with Node.js, and when this happens I’ve already forgotten everything I did and all the little knowledge I acquired the previous time I used it. And I always have to start almost from the beginning again. Two years ago I wrote about “How to get started with Node.js”: I think most of the information there are still valid… even the book Node.js in Action is still a MEAP (this time planned for release this month, August 2013). This summer I’m planning on revising, during my holidays, the architecture...

Using NPM behind a firewall

Lately the proxy configuration of my network has been changed, and moved from a transparent proxy, that required no configuration, to a “standard” proxy which requires a configuration script. Unfortunately NPM doesn’t pick up the proxy configuration of Windows, and it took me a while to understand how to download node packages via NPM, so sharing here. Basically you just run config set option of npm to set the proxy and https-proxy config keys, like this: npm config set proxy http://proxy.example.com:8080 npm config set https-proxy http://proxy.example.com:8443 ...

Deploying a MongoDB powered Node.js app on Windows Azure: my slides

A few days ago I attended the second event of the newly born Belgian Node.js User Group. The event was about deploying and testing node.js applications and has been hosted in Microsoft Belgium offices near Brussels, thanks to Tom Crombez (aka @artymoony) and Windows Azure. There were 3 presentations: Mine, about deploying a MongoDB powered Node.js app on Windows Azure: a walkthrough of the steps needed to deploy the app. Then another talk on how to build your own “cloud-like” environment on Linux, using systemd. Talk by Ruben Vermeersch. ...

Introducing Wijmo, a feature-packed jQueryUI based widget library

Lately I have been evaluating a few JavaScript based UI libraries for both my projects at work and to use for a new version of the bike climbs site called 39x27.com:  it was quite nice to see that almost all component vendors are now embracing, some more than others, JavaScript together with the more traditional Web Controls for ASP.NET Web Forms. In this post I’m going to briefly cover the reasons why I ended up choosing Wijmo, and then I’m giving a quick introduction on the set of widgets available. Why Wijmo? My first, and...