InfoQ

News

WPF and F#

Posted by Jonathan Allen on Jan 09, 2008 06:51 AM

Community
.NET
Topics
Rich Client / Desktop
Tags
F#,
WPF,
Functional Programming

Yesterday we told you about using PHP.NET with Silverlight. The GUI framework for Silverlight, WPF, represents the future of Windows development. So it is understandable that F# developers would be looking at it with a keen eye as well.

John Liao has been working through Petzold's book, Applications = Code + Markup, from a F# viewpoint. He explains his reasons for doing so,

Why did I pick F# as the target programming language to translate the code to? Well, which the advent of multicore processors, functional programming languages seems naturally suited to the new hardware architectures. In addition, Wall Street Journal made a passing reference to F# in the article Behind Microsoft's Bid to Gain Cutting Edige. I figure if Wall Street Journal have an article about F#, it seems about time that F# will become mainstream. Having two F# books coming out also helps developers to start learning about this language by Microsoft.

In the process he is uncovering some design choices in the F# language that make working with WPF harder than it should be. For example, F# does not generate static read-only fields. Lewis Bruck mentions this as a problem for F#/SQL Server integration as well.

A list of John Liao's posts has been compiled by Don Syme.

No comments

Reply

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.