Embedding Javascript in .NET

We have a C++/C# based application where I work, and we currently use VBScript as a scripting language. Needless to say, we want to replace it, and we’ve decided that Javascript is a good candidate. When it comes to executing Javascript in .NET, there are quite a few options. We have narrowed it down to [...]

Posted at 2012.05.02 | no comments; | Filed Under: Javascript | read on

Working with mobile web applications

So for the past year, I’ve been working almost exclusively on a mobile web application that is designed to run on Android and iPhone. It works quite well on Windows Phone (Mango) as well, but none of our customers have WP devices (yet). The application is a LOB app with offline capabilitites, so it’s mostly [...]

Posted at 2012.01.25 | 4 comments | Filed Under: Mobile Web | read on

Extending built in objects in a safer way in Javascript

In Javascript, its very easy to extend built in objects like Object, Array and String. You might find yourself wanting string methods that aren’t built into the String object, and it’s much nicer to read “one short sentence”.toUpperFirst(), than toUpperFirst(“one short sentence”). The problem is that by extending the builtin objects, you are adding global [...]

Posted at 2011.05.15 | 8 comments | Filed Under: Javascript | read on

Dependency injection and IoC in Javascript

There has been some talk lately about DI and IoC in Javascript, and other dynamic languages such as Ruby and Python. A popular opinion seems to be that these concepts are obsolete in dynamic languages, mainly because you can alter an object at runtime. This certainly makes testing easier, but testability isn’t the main goal [...]

Posted at 2010.08.08 | 15 comments | Filed Under: Javascript, Object Oriented | read on

About

This is where I put my thoughts and ideas on software development, mainly Javascript (get it, Coffeescripter, Javascript… funny, right?). I’m a developer from Sweden, working with web development.

Code

Plugins, code snippets and other things can be found here.

Categories

Pages