Category Archives: Tech bits

Knockout and React together

Using KnockoutJs and ReactJs together. Continue reading

Advertisements
Posted in Tech bits, Web development | Leave a comment

Knockout JS – Separate Model from View Model

Knockout JS follows a MVVM approach. In the simple examples the ViewModel seems to hold two kinds of things: attributes of the Model object functions operating on the Model – typically via GUI interaction While this is fine for smaller apps, … Continue reading

Posted in Tech bits, Web development | Tagged , , , , | Leave a comment

Knockout performance tip

 As our SPA app grows we need to be more conscious of browser performance. One handy way is to keep the DOM tree light(er). Knockout offers an easy way to remove unused DOM fragments: By using the ko:if binding – instead … Continue reading

Posted in Tech bits, Web development | Tagged | Leave a comment

Real world Knockout JS example

In my recent exploits I put KnockOut JS (KO) through a real worldy example. I tried to assemble everything I believe an enterprise app is going to need, to get started. The app is a trade entry screen which allows the user … Continue reading

Posted in Tech bits, Web development | Tagged , , | 1 Comment

Choosing a JS MV* framework

JavaScript frameworks these days remind me of early J2EE days. The first headache is sifting through and choosing (hopefully) the right framework. The task is made more difficult since there are several excellent contenders. I narrowed it down to three: … Continue reading

Posted in Tech bits, Web development | Tagged , , , | 4 Comments

Resilience in software

Recent prod support experiences got me thinking about what it would take to handle failure in production. I compiled a handy list. Failure should not kill the whole system Largely achieved with a modular design/micro services. Would be difficult to … Continue reading

Posted in Tech bits | Tagged , , | 2 Comments

Haskell walkthrough – III

Types Haskell is statically typed meaning everything has to have a type. This allows the compiler to catch a lot of erros (unlike Python, like Java) Haskell has type inference, meaning you dont have to specify the type all the … Continue reading

Posted in Book review, Tech bits | Tagged , | 1 Comment