GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — WebSharper - Wikipedia

icon
This article relies on a single source. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "WebSharper" – news · newspapers · books · scholar · JSTOR
(January 2023) (Learn how and when to remove this message)
WebSharper
Original authorIntellifactory
Release2008
Stable release
4.5.14 / May 29, 2019 (2019-05-29)
Written inF#
Operating systemLinux, Windows, Mac OS X, Android, iOS, Windows Phone
Available inF#, C#
TypeAjax framework
LicenseApache License 2.0, Commercial
Websitewebsharper.com

WebSharper is an open-source and commercial web-programming framework that allows web developers to create and maintain complex JavaScript and HTML5 front-end applications in the F# programming language. Other than a few native libraries, everything is F# source.

Overview

WebSharper includes support for jQuery, HTML5, DOM and EcmaScript. WebSharper Mobile includes support for Android, iOS and Windows Phone Formlets and Sitelets.

Unlike many other web-programming toolkits, WebSharper offers a rich set of abstractions and DSL syntax for common web-related chores, such as composing HTML, defining web forms, managing required resources and handling URLs safely.[1]

Extensions

WebSharper extensions include

  • Bing Maps
  • DHTMLX
  • Ext JS
  • Formlets for jQuery UI
  • Formlets for jQuery Mobile
  • GlMatrix
  • Google Maps
  • Google Visualization
  • InfoVis
  • jQuery Mobile
  • jQuery Tools
  • jQuery UI
  • Kendo UI
  • Modernizr
  • O3D
  • Protovis
  • Raphaël
  • Sencha Touch
  • TinyMCE
  • Twitter
  • WebGL
  • YUI Library

Development environments

WebSharper can be used with any text editor. WebSharper can also be used with Visual Studio 2008/2010/2012 templates with full ASP.NET integration and with MonoDevelop.

Mobile

As a general framework for making web apps, WebSharper is also capable of being used as a framework for making mobile and tablet apps, either by making the needed widgets and animations from scratch, or by using one of the mobile frameworks for WebSharper. An HTML5 app written in WebSharper can have separate views for Tablets and Mobile phones.

Examples

The following sample displays a single HTML paragraph:

[<JavaScript>]
let Main () = Div [ P [Text "Welcome"] ]

The matching server-side code is also written in F#:

type HelloWorldViewer() =
    inherit Web.Control()
  
    [<JavaScript>]
    override this.Body = HelloWorld.Main () :> Html.IPagelet

See also

  • F#
  • Comparison of JavaScript frameworks
  • Comparison of web frameworks

Notes

  1. ↑ Adam Granicz. "F# mobile development". Retrieved 2012-11-26.

References

  • Syme, Don; Granicz, Adam; Cisternino, Antonio (2012). "Expert F# 3.0". Apress. {{cite journal}}: Cite journal requires |journal= (help)

External links

  • Official website
Retrieved from "https://en.wikipedia.org/w/index.php?title=WebSharper&oldid=1305818451"
Category:
  • Web development software
Hidden categories:
  • Articles with short description
  • Short description matches Wikidata
  • Articles needing additional references from January 2023
  • All articles needing additional references
  • CS1 errors: missing periodical
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.