KnockoutJS–Dependencies

יום שני, דצמבר 5, 2011

KnockoutJS–Dependencies One of the things we’ll probably need is to be able to have dependency tracking in our bounded data. For example – if we have a customer’s list, we’d like to see the customer’s orders whenever we click on a customer. In this post I’ll demonstrate how to do it using the dependentObservable function of KnockoutJS Let’s look at the following JavaScript code: var viewModel = { ...
no comments

KnockoutJs–MVVM in HTML & Javascript

יום ראשון, נובמבר 20, 2011

KnockoutJs – MVVM in HTML & Javascript Previously I’ve posted about MVVM and Silverlight, It seems long ago, before Microsoft has begun focusing on HTML & Javascript as a client development platform. One of the things I’ve cherished the most about XAML related technologies development was the ability to completely decouple behavior and UI using MVVM. I didn’t know about any possibility to implement the same pattern on HTML & Javascript based applications. In order to do so, we can now use KnockoutJS, a Javascript library based on jQuery  that...
no comments

Session manager

יום ראשון, דצמבר 20, 2009

This post comes as an extension to a post by Shlomo Goldberg (in Hebrew) that talks about how to work with session variable in a safer way than plain strings. Shlomo Goldberg has suggested that instead of strings we should work with enum entries. This way is more efficient for developers who can simply find all the uses of a certain  session variable and can find all reference to it. As you can see from the code attached to that post, it uses...
tags: , ,
no comments