Tag: ui

Both Angular 1.x and React Feel Familiar

I’ve used AngularJS 1.x for 18 months on a greenfield internal project, and then used React + Redux for 6 months on a bigger commercial web project.  I’ve been interested to find strong parallels with other UI frameworks I’ve used in the past. AngularJS 1.x AngularJS 1.x was an excellent framework to build a modern single-page web-app.In learning it I was struck by the similarity with WPF.  This rich client framework from Microsoft, along with its similar cousins Silverlight and WinRT, have some similar pros and cons. Pro: clear separation of view/controller/service (WPF view/view-model/model) simple 2-way binding between view and…

Read More »

WPF/Silverlight Layout Gotchas

Coming from WinForms or even older technologies like MFC, WPF and Silverlight are a revelation. A consistent framework to layout simple forms, draw graphics, add video and 3D images and animation and styling. All in the same window. Woo! But there some places where WPF and Silverlight behave differently to initial expectations and which can waste a lot of developer time or even put some off entirely from experimenting with them. Interactive Demo Most layouts in WPF use a Grid control. It’s very flexible and has a lot of powerful features. The classic demos for WPF for WinForms developers show…

Read More »

Zoom as a Primary Navigation Metaphor

Old Navigation Metaphors Scrolling Scrolling is great when you have little structure, just a list or a piece of text. In particular it’s only good if the extension is in one direction – if you only have to scroll up and down (traditional text editor or web-page display) or left and right (new Microsoft Windows Phone 7 display) but not both. For mostly text this works well because we are used to text wrapping to defined columns in books and newspapers so extending this to the computer screen left natural. But for an image or a map where you need…

Read More »