JavaScript addicts

November 20, 2008

JavaScript: Filtering data

Filed under: dojo, javascript — Tags: , , , , , — Wolfram Kriesing @ 2:11 am

Storing data in arrays is a pretty common technique throughout various programming languages, and it’s very straight forward. Until you get to reading them, sorting, filtering and mixing them. A lot of times you have more complexity in your data and filtering them is a very usual task.
Almost every toolkit has some functional approaches to make this easier and the latest JavaScript versions also implement some of them natively. Here I will show two use cases for filtering an array of objects, different approaches and their consequences.
(more…)

Copyright 2008 - Uxebu, Ltd.
All Rights Reserved