Personally I've found developing Silverlight and WPF applications with F# very productive.

You can create standalone F# applications with XAML (see Online Templates in Visual Studio's New Project wizard) or as libraries to C# applications. Expression Blend works with F# applications and libraries, and XAML views can also be generated programmatically.

For fun I've created a number of Silverlight games that run in the browser, like Space Invaders and Tetris

On the Open Source side a Silverlight Spreadsheet and a simple WPF graphics library for teaching programming.

I've also worked on a commercial Silverlight Trading Application which mixes C# & F#.

By on 1/3/2012 2:39 PM ()

nice!

By on 1/5/2012 6:14 PM ()

For cross-platform, web UI's WebSharper is your best bet.

For XAML based UIs (WPF/SilverLight), the current tooling (Expression Blend and VS2010 XAML editor) only work with C#/VB based projects.

I have successfully combined raw XAML (edited in expression blend or VS2010) with straight F# code (no C#, VB in the mix). This also works in F# interactive but you will have to install the WPF 'message pump'. See Don Syme's blog for some guidance.

You can construct XAML from code and a WebSharper style 'combinator' library would be ideal but none exist thus far (that I know of).

By on 12/12/2011 5:20 AM ()

ASP.NET's request-response model has little to do with its ability to build UIs. FPish for instance is written entirely in F# and uses ASP.NET to serve its content; yet it's not using any ASPX markup but instead is driven entirely by WebSharper sitelets. It's probably the largest "pure" F# web application around, one of several we built lately.

For building forms to collect user data and express various page transitions and interactions, we used WebSharper formlets. Some of these forms (in particular, the one used for creating a FPish event or course) are among the largest formlets ever written - yet they remained concise and easy to work with.

All in all, formlets (implemented in F# as part of WebSharper or Mauricio's FsFormlets project) and sitelets provide a robust and effective way to build web UIs and applications and you should definitely investigate them if you are working in the web domain. Formlets in particular can be implemented over thick clients as well, so they are useful in any UI context. Both formlets and sitelets are composable and type-safe - and this yields a significant advantage over more standard approaches.

By on 12/11/2011 10:23 AM ()

WebSharper is a good tool, but expensive.:)

By on 12/18/2011 10:07 AM ()

We are happy to announce that WebSharper is now open source and can be used for free for open source projects. Go to the WebSharper site for more info.

By on 1/9/2012 3:37 PM ()

wow, great and big news. the new website seems a bit rough around the edges tough. examples are not shown in google chrome and the layout is messed up. ff and ie seem ok tough.

btw. where there any changes in the f# library coverage and if so where to look it up?

is version 2-4 backwards compatible or were there any breaking changes?

By on 1/10/2012 10:04 AM ()

examples are not shown in google chrome and the layout is messed up.

This is probably due to some css that stayed cached from the old site. Try cleaning your cache, and hopefully it should show up correctly.

By on 1/10/2012 11:52 AM ()

you are correct, clearing the cache worked.

By on 1/10/2012 12:27 PM ()

I have some good news here soon - so stay tuned.

By on 1/4/2012 4:33 PM ()

Formlets is probably the most stereotypical functional UI concept, and it can probably also be used to other technologies (if someone cares to write a library).

By on 12/11/2011 10:31 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper