Blog articles of Community for F#

0
comment
comment
on 2/24/2011 3:09 AM
I’m off to Seattle for the MVP summit very soon. I’ve arranged to meet with fellow F# fan’s Cameron Frederick and Richard Minerich at the Tap House Bar in Belleveue at 3:30pm on Sunday. Happy hour start at 3:30pm, so it should be lots of fun. The address of the bar is 550 106th Avenue NE, Bellevue, which is near the hotels for the Summit. So come and join the F#UN!
0
comment
comment
on 2/21/2011 8:59 PM
Mobile application developers can now enjoy, in addition to jQuery Mobile, the latest addition to the WebSharper Extensions Gallery - Sencha Touch.
The WebSharper Extensions for Sencha Touch are available on the main downloads page - grab your trial now and develop stunning mobile applications with Sencha Touch and WebSharper today, all in F# code!
Sencha Touch is the world's first app framework built specifically to leverage HTML5, CSS3, and Javascript for the highest level of power, flexibility, and optimization.
The WebSharper Extensions for Sencha Touch are available on the main downloads page - grab your trial now and develop stunning mobile applications with Sencha Touch and WebSharper today, all in F# code!
0
comment
comment
on 2/9/2011 6:54 AM
Recently I’ve doing a little work with Windows Phone 7. One aspect that interests me a lot is the integration of the Accelerometer. An accelerometer is a instrument that allows you to measure the forces acting on the telephone, including the force of gravity. This information will allow you to know what the orientation of the phone is and if the is moving or not. However there are a few challenges in interpreting is information. Firstly, the telephone’s accelerometer, when activated, will generate 50 event[...]
0
comment
comment
on 2/5/2011 10:21 AM
Today we are happy to announce that we released the first batch of WebSharper extensions to match WebSharper 2.1 Beta 5 - you can download them from the WebSharper downloads page. These are bringing the following libraries to F#:
You can find examples on how to use these extensions on the WebSharper samples page. Happy coding!
- Google Maps
- Google Visualization
- jQuery UI
- jQuery Mobile
- Bing Maps
- Raphaël
- Modernizr
- InfoVis - needs a trial or developer license, get it via WebSharper Manager
- Protovis - needs a trial or developer license, get it via WebSharper Manager
You can find examples on how to use these extensions on the WebSharper samples page. Happy coding!
0
comment
comment
on 2/3/2011 6:24 AM
(Update: there was a glitch in 2.1.18 - please upgrade to the latest version, and please make sure you remove all previous 2.x installations)
Today we are happy to announce WebSharper 2.1 Beta 5, with substantial new features and a major redesign of WebSharper sitelets, among others. Now with all major features in place and available, we are ramping up to ship the final WebSharper 2.x Professional in the coming weeks.
You can get download Beta 5 from the WebSharper home page, or directly from this link.
In addition to ASP.NET, ASP.NET MVC, and client-server sitelets-based applications, WebSharper 2.1 Beta 5 ships with the tool set and Visual Studio templates that enable you to develop pure HTML/JavaScript applications. These applications execute entirely on the client and can be deployed in any web container not just IIS. They can be developed elegantly with the new sitelets API which enables you to express static HTML pages with dynamic JavaScript functionality more easily than ever before.
The new sitelets API has gone through a major redesign and we will be blogging extensively about the new features in the coming days. If you can't wait to hear all the details and happen to be in Paris next week, come to my TechDays Paris 2011 talk on Feb 8. We will also be hosting a web cast on sitelets shortly - stay tuned for the date and further details.
Besides being able to represent compositional websites, express RESTful services, abstract over any response content type, sitelets also allow automating all URL-related chores:
Here is an all-inclusive example of a three-page website (an index page with links to the other pages, a static page, and another static page with some dynamic content) with explicit URLs. The resulting sitelet can be served from IIS, composed with legacy ASP.NET applications seamlessly, or distilled into HTML/JS files that are ready to be deployed in any web server.
Today we are happy to announce WebSharper 2.1 Beta 5, with substantial new features and a major redesign of WebSharper sitelets, among others. Now with all major features in place and available, we are ramping up to ship the final WebSharper 2.x Professional in the coming weeks.
You can get download Beta 5 from the WebSharper home page, or directly from this link.
Pure HTML/JavaScript Applications
In addition to ASP.NET, ASP.NET MVC, and client-server sitelets-based applications, WebSharper 2.1 Beta 5 ships with the tool set and Visual Studio templates that enable you to develop pure HTML/JavaScript applications. These applications execute entirely on the client and can be deployed in any web container not just IIS. They can be developed elegantly with the new sitelets API which enables you to express static HTML pages with dynamic JavaScript functionality more easily than ever before.
Sitelets on Steroids
The new sitelets API has gone through a major redesign and we will be blogging extensively about the new features in the coming days. If you can't wait to hear all the details and happen to be in Paris next week, come to my TechDays Paris 2011 talk on Feb 8. We will also be hosting a web cast on sitelets shortly - stay tuned for the date and further details.
Besides being able to represent compositional websites, express RESTful services, abstract over any response content type, sitelets also allow automating all URL-related chores:
- Infer URLs from Actions directly
- Provide type-safe access to parts of a URL (stay tuned for some awesome examples!) - extracting typed data has never been easier!
- Always yield safe URLs - e.g. managed URLs that are guaranteed to be valid.
Here is an all-inclusive example of a three-page website (an index page with links to the other pages, a static page, and another static page with some dynamic content) with explicit URLs. The resulting sitelet can be served from IIS, composed with legacy ASP.NET applications seamlessly, or distilled into HTML/JS files that are ready to be deployed in any web server.
namespace SampleWebsite
open System
open System.IO
open System.Web
open IntelliFactory.WebSharper.Sitelets
/// Defines a sample HTML site with nested pages
module SampleSite =
open IntelliFactory.WebSharper
open IntelliFactory.Html
// Action type to represent requests
type Action =
| Index
| Page1
| Page2
// Module containing JavaScript controls
module Client =
open IntelliFactory.WebSharper.Html
type MyControl() =
inherit IntelliFactory.WebSharper.Web.Control ()
[<JavaScript>]
override this.Body =
I [Text "Client control"] :> _
let Template title body : Content<Action> =
PageContent <| fun context ->
{ Page.Default with
Title = Some title
Body = body context
}
let Index =
Template "Index page" <| fun ctx ->
[
H1 [Text "Pages"]
UL [
LI [A [HRef (ctx.Link Action.Page1)] -< [Text "Page 1"]]
LI [A [HRef (ctx.Link Action.Page2)] -< [Text "Page 2"]]
]
]
// Page with static HTML
let Page1 =
Template "Title of Page1" <| fun ctx ->
[
H1 [Text "Page 1"]
A [Action.Page1 |> ctx.Link |> HRef] -< [Text "Page 2"]
]
// Page with a dynamic JavaScript control
let Page2 =
Template "Title of Page2" <| fun ctx ->
[
H1 [Text "Page 2"]
A [Action.Page1 |> ctx.Link |> HRef] -< [Text "Page 1"]
Div [new Client.MyControl ()]
]
// Putting the site together
let MySitelet =
[
Sitelet.Content "/index" Action.Index Index
Sitelet.Folder "/pages" [
Sitelet.Content "/page1" Action.Page1 Page1
Sitelet.Content "/page2" Action.Page2 Page2
]
]
|> Sitelet.Sum
// Actions to generate pages from
let MyActions =
[
Action.Index
Action.Page1
Action.Page2
]
/// The class that contains the website
type MySampleWebsite() =
interface IWebsite<SampleSite.Action> with
member this.Sitelet =
SampleSite.MySitelet
member this.Actions =
SampleSite.MyActions
[<assembly: WebsiteAttribute(typeof<MySampleWebsite>)>]
do ()
About this group
- Founded: 7/22/2011
- Owners: Loic Denuziere, Adam Granicz, Ryan Riley
- Members: 9
- Past events: 23
- Upcoming events: 1 Log in to join
Featured group
| New England F# User Group 4 past events |
Latest blog articles by c4fs (see all)
- Einstein’s Riddle and Closed Questions
- WebSharper 2.4 Q2 available
- Cross Posted: Online Training Course for F#
- F#, MSTest, and FsUnit 1.1.0.0
- You Might As Well Use Globals
- Back to the Primitive II
- Updated version of "TrueSkill Through Time" Bayesian Inference Code
- More Hadoop+F# Goodness
- Force-Directed Graph Layout in HTML5 with F# and WebSharper
- WebSharper 2.4 Q2 Beta out
- What Microsoft MVP means to me
- Next F# New York City Meetup: Tomas Petricek on F# applications - From Domain Model to User Interface
- Back to the Primitive
- TouchDevelop, from Microsoft Research
- Is Javascript code always so full of bugs?
- F# Event Madness, Spring 2012 Edition
- Why The Defaults Matter
- A Nice Addition to the Empty WPF F# Template
- I'm Speaking at the Big Picture Seminar at NICTA, Canberra, Tomorrow
- Next F# Seattle Meetup this Monday, March 26
- F# on Channel 9: Donna Malayeri - F# 3.0 - Information Rich Programming
- F# as a Platform for Quantitative Finance: Thursday, March 22, SkillsMatter, London
- Presentation - CoffeeScript: Good, Bold, and with Sugar
- Asynchronous client/server in F# (QCon 2012)
- Black-Scholes Taste Test
- The Tech Support Effect
- The Functional Nature of Web API
- F# and ASP.NET Web API
- Visual F# 3.0 Beta now available in Visual Studio 11!
- Why I Don’t Care If You Think Functional Programming Matters
- Razor Added to the F#/C# ASP.NET MVC 3 Internet Project Template
- ExpectThat with CoffeeScript, Zombie, Mocha, and Node
- FSharp Dataflow agents III
- Reasons to Come to Functional Programming eXchange 2012
- You Might As Well Make All Your Class Members Public
- Next Seattle F# Meetup, Tuesday Feb 21, 2012
- Functional Programming eXchange 2012, March 16, 2012, London
- Another Way To Kick-start F# WPF Apps
- F#/C# Contract Position for Silverlight/HTML 5 User Interface Development at Microsoft Research, Cambridge, UK
- Testing a jQuery Plugin with ExpectThat and Mocha
- From Iteratees to Conduits
- Undertone – Programmable music in F#
- Configuring Sublime Text 2 To Work With FSharp
- First F# Seattle Meetup This Saturday, Redmond
- London F# Meetup Group this Thursday: Pacman Kata
- Making F# Windows Phone Development a Little Easier
- F# 3.0 at TechDays France, Feb 7, Paris!
- F#, WebSharper, JavaScript, HTML5, Mobile etc.
- F# Training in London in January and February: Functional Programming in .NET and Real World F# Programming
- Microsoft Releases Local, Distributed and Cloud Numerics Library, with F# Samples
- Musicians, Mechanics, and Mathematicians
- developerFusion Article: An Introduction to FSharpx
- Come and work with the F# group at Microsoft Research in Cambridge!
- Some F# Programming Jobs in London
- Why do most programmers work so hard at pretending that they’re not doing math?
- F# courses and talks (Winter 2012 and beyond...)
- HTTP and Functional Programming
- Introducing ExpectThat: A CoffeeScript Assertion Library
- Wrapping Build Tasks With FSharp
- Web Architecture Done Right
- Regions and navigation bar for F# in Visual Studio
- A New Web for .NET: FubuMVC and Chad's response to AR Considered Harmful
- Programming Rules Of Thumb
- Announcing FsUnit 1.0
- 2011 In Retrospect: A Year of Writing F# Professionally
- Porting Bryan's Erlang Function to F#
- Announcing an F# Meetup Group in Seattle
- 6 Month Contract Position at MSR Cambridge: Cross-Platform and Web-Delivered Data-Rich Programming with F# 3.0
- Enhancements to FsUnit (version 0.9.1.1)
- Building an ASP.NET MVC 4 Solution with F# and C#
- Getting Setup for JavaScript Testing with Pavlov
- New York City F# Meetup Group: High Performance F#, in .NET and on the GPU with Jack Pappas, Tuesday, November 29, 2011, 6:30 PM
- F# Math (IV.) - Writing generic numeric code
- Building F# Solutions in Visual Studio 11
- F# Math (III.) - Defining custom numeric types
- F# agents with timeouts
- Updates to the August 2011 F# 2.0 Compiler Code Drop
- StatFactory: FCore maths & statistics library, designed for use with F#
- Tonight at F#unctional Londoners: Byron Cook: Proving program termination with F#
- A Pinch of CoffeeScript Sugar - Part 1
- F# Silverlight Library Template in Visual Studio 11
- New F# Windows Phone Library Project Template
- F# Math (II.) - Using matrices for graph algorithms
- MonoDevelop User Voice: Vote for Full F# Support
- A Coder Interview with Dan Mohl
- The Combinator Approach to Programming Domain Specific Languages with F#
- Job at MSR Cambridge: Infer.NET
- F# Math (I.) - Numeric types in PowerPack
- F# Math - Numerical computing and F# PowerPack
- Progressive F# Tutorials at SkillsMatter, London, Thu-Fri This Week
- Type Systems are Asserts
- Type Systems are Asserts
- Calling F# Libraries from Metro Style Apps
- Potential Post-PhD and Internship Positions in Web-Delivered, Data-Rich Cloud Programming
- How to let other teams at Microsoft know how they can support F# better
- Two New F# 3.0 Type Provider Related NuGet Packages
- Please submit, vote on and discuss F# and Visual Studio features
- Some thoughts about Google’s new Dart programming language
- OOP to me means only messaging local retention...
- OOP to me means only messaging local retention…
- Iteratee in F# - Part 1
- Iteratee in F# – Part 1
- Planning for Functional.net 2012
- Authoring Type Providers with the TypeProviderDSL from FSharpx
- Today's the day to say it.... I'm an Apple II kid
- F# 2-Year Contract Position for Biological Modelling Language Development
- The MSR Cambridge Research Games Team invite you to play Blotto
- F# presentation - F# Eye for the C# Guy
- Advice for Getting Started with F#
- MSDN Magazine Article: Authoring an F#/C# VSIX Project Template
- New F#/C# ASP.NET MVC 3 Template
- A Simple AppSettings Type Provider
- For whom the proteins fold
- Record Linkage Algorithms in F# – Extensions to Jaro-Winkler Distance (Part 3)
- WebSharper 2.3 Q3 released
- Presentation: Dialing Up with F# and Windows Phone 7
- Imperative Pseudocode to Pure Functional Algorithm with Gale-Shapely and F#
- First example of a very simple type provider
- F# Type Providers - Querying StackOverflow
- WebSharper at CUFP 2011
- Advantages of CoffeeScript When Working with jQuery Templates
- A few thoughts on build and Windows 8
- Record Linkage in F# – Token Matching, Stable Marriages and the Gale-Shapley algorithm
- WP7 AccelerometerProxy in F#
- Functional Programming eXchange 2012: Call for abstracts
- F#, RavenDB and PicoMvc – Creating an Autocomplete – The ETL
- See My Stack Overflow Dev Days Talk
- Getting Started with the F# PowerPack - Part 4
- F#, RavenDB and PicoMvc – Creating an Autocomplete – Scenario and Project Setup
- Interested in presenting at a conference on functional…
- Organizing Code Files
- Calculating when the 1000th XKCD will appear
- The iteratee is continuing to hang me up…
- Unit Testing a jQuery Plugin with CoffeeScript and Pavlov
- Upcoming September 2011 course has been moved to 1 November 2011
- F# courses and talks (Autumn 2011)
- Adding NuGet Support to F# Interactive
- Getting Started with the F# PowerPack - Part 3
- DevLink: Getting Started with F# Web Development
- Getting Started with the F# PowerPack - Part 2
- Chinese Chess: An Exercise in Upgrading
- Another CoffeeScript and jQuery UI Example
- Small Revamp to strangelights.com and Free Chapter of Beginning F#
- Programming with F# asynchronous sequences
- Real-World F# Articles on MSDN
- Speaking at Stack Overflow Dev Days and Progressive F# in autumn 2011
- Which do you prefer for Frank routing gist...
- State Machines...
- HTTP Parsing...
- Asynchronous I/O...
- State Machines…
- Jon Skeet's LINQ to Objects...
- Separate team quoted one man year. Took ...
- More WebSharper talks in February
- Come and see me and other F# guru’s in Seattle!
- Sencha Touch for WebSharper available
- Windows Phone 7 Accelerometer and F#
- New WebSharper extensions available
- WebSharper 2.1 Beta 5 available
Event tags for this group
- f# × 22
- web × 5
- teaching × 3
- http × 2
- testing × 2
- functional × 2
- templates × 2
- websharper × 2
- units of measure × 1
- fpish × 1
- single page application × 1
- servicestack × 1
- pit fw × 1
- monorail × 1
- type providers × 1
- open source × 1
- compiler × 1
- koans × 1
- bistro × 1
- introduction × 1
- metaprogramming × 1
- enterprise × 1
- tickspec × 1
- server × 1
- agents × 1
- tcp × 1
Group tags
- f# × 18
- clojure × 7
- functional × 7
- haskell × 6
- scala × 5
- c# × 3
- websharper × 3
- .net × 2
- erlang × 2
- javascript × 2
- skillsmatter × 2
- alt.net × 1
- async × 1
- blazehtml × 1
- coffeescript × 1
- continuous delivery × 1
- fractureio × 1
- html × 1
- html5 × 1
- jquery × 1
- lisp × 1
- load testing × 1
- ocaml × 1
- package management × 1
- reactive extensions × 1
- restful × 1
- rx × 1
- scalability × 1
- scheme × 1
- tdd × 1
- unit testing × 1
- user group × 1
- web × 1
- web services × 1
![]() |
Copyright (c) 2011-2012 IntelliFactory. All rights reserved. Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Built with WebSharper |

