Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

WebSharper

From Wikipedia, the free encyclopedia
Web development software
This articlerelies largely or entirely on asingle source. Relevant discussion may be found on thetalk page. Please helpimprove this article byintroducing citations to additional sources.
Find sources: "WebSharper" – news ·newspapers ·books ·scholar ·JSTOR
(January 2023)
WebSharper
Original author(s)Intellifactory
Initial 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 anopen-source and commercial web-programming framework that allowsweb developers to create and maintain complexJavaScript andHTML5front-end applications in theF# programming language. Other than a few native libraries, everything is F# source.

Overview

[edit]

WebSharper includes support forjQuery,HTML5,DOM andEcmaScript. WebSharper Mobile includes support forAndroid,iOS andWindows PhoneFormlets andSitelets.

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

[edit]

WebSharper extensions include

Development environments

[edit]

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

Mobile

[edit]

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. AnHTML5 app written in WebSharper can have separate views for Tablets and Mobile phones.

Examples

[edit]

The following sample displays a single HTML paragraph:

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

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

typeHelloWorldViewer()=inheritWeb.Control()[<JavaScript>]overridethis.Body=HelloWorld.Main():>Html.IPagelet

See also

[edit]

Notes

[edit]
  1. ^Adam Granicz."F# mobile development". Retrieved2012-11-26.

References

[edit]

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=WebSharper&oldid=1215502376"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp