15
2010
How to replace Prototype with jQuery in Rails
How to replace Prototype with jQuery as the default Javascript framework in Rails 3.
13
2010
Creating a Rails 3 app without the ‘rails’ command
This post will show you how to create a Rails 3 application without having the rails gem pre-installed, using only Bundler and the Gemfile
5
2010
Getting started with Rails 3 using RVM
‘Getting started with Rails 3 using RVM’ shows how to install rails and use rvm to create an isolated gemset for the application with a .rvmrc file.
4
2010
Refactoring: Extracting the Singleton Pattern
In this post, I show how to extract a Singleton Pattern, to reduce coupling and improve testability by using the Dependency-Inversion Principle
6
2009
A view model base class to use with MVVM in WPF
A view model base class to use with MVVM in WPF, with caching of PropertyChangedEventArgs for each property.
16
2009
Using Data Binding with Static Resources in WPF
In this post, I’ll be showing how to use resources for which you don’t know in design time the key to use in xaml (maybe because you’re loading them dynamically), by binding them to view model properties.
28
2009
An Introduction to ObservableCollection in WPF
This post discusses ObservableCollection
13
2009
Creating a Custom Observable Collection in WPF
One of the biggest advantadges WPF has is its Data Binding features. Data Binding can be done in several ways, but the most common is using the INotifyPropertyChanged and INotifyCollectionChanged interfaces. For simple objects, all you need to do is implement the INotifyPropertyChanged, and raise the PropertyChanged event when your properties change. When you want to bind to a collection, you will want to use ObservableCollection<T>. This collection implements both interfaces, therefore notifying you when the items in the collection change and when the items’ properties change. This works great if you’re using standard collections. The problem arises when you want to use a custom collection. For databinding to work with custom collections, you will have to create a new “Observable” wrapper around it.
23
2009
No clues, just money
Please remove your card I’m not the kind of person to carry much money in my wallet. I usually depend on debit or credit cards for most of my transactions. But while this is much more convenient for me, it sometimes is a nuisance, like the one that happened just a couple of days ago. I was having dinner at a local restaurant, and when we finished the meal, we proceeded to pay with the [...]
3
2009
Lets get the ball rolling
Hi. My name is Pedro Sampaio and I work for FARO Technologies, in the SWE-UX team based in Oporto, Portugal. I’m just finishing setting up this blog and hopefully will start posting more regularly soon. Hope you all find my posts helpful and I look forward to some great interactions!
An article by
