CLOSE FULL VIEW
“Batteries Included” - Advantages of an End-to-end JavaScript Stack
Recorded at:
Community comments
Sorry, but I don't believe JavaScript is Ready for Business
by
Faisal Waris
Posted
Sorry, but I don't believe JavaScript is Ready for Business
by
Faisal Waris
As a language JavaScript is too loose. Sure it's 'powerful' but in a scary way.
The reason it's popular is because it is the only cross-platform option.
However, for end-to-end development, JavaScript is not the only option. A much saner option is F# with WebSharper (websharper.com). You can pretty much do everything in one language F#. For the client side, WebSharper will generate JavaScript from F#. And on the server side you can use F# TypeProviders to access data bases, web services, etc. without stepping out of F#.
Even HTML 5 can be done in F# using the HTML5 'combinators'. For example, the following is F# code:
Div [Width "200px"] -<
[ H1 [Text "HELLO, WORLD!"]
P [Text "123..."]
]
That looks very close to HTML (sorry I can't post the corresponding HTML here as its not allowed).
Check out this video of a Web IDE built with F# and WebSharper:
www.facebook.com/photo.php?v=10200262541387350&...
I believe F#/WebSharper makes the most sense for contemporary business web applications.
The reason it's popular is because it is the only cross-platform option.
However, for end-to-end development, JavaScript is not the only option. A much saner option is F# with WebSharper (websharper.com). You can pretty much do everything in one language F#. For the client side, WebSharper will generate JavaScript from F#. And on the server side you can use F# TypeProviders to access data bases, web services, etc. without stepping out of F#.
Even HTML 5 can be done in F# using the HTML5 'combinators'. For example, the following is F# code:
Div [Width "200px"] -<
[ H1 [Text "HELLO, WORLD!"]
P [Text "123..."]
]
That looks very close to HTML (sorry I can't post the corresponding HTML here as its not allowed).
Check out this video of a Web IDE built with F# and WebSharper:
www.facebook.com/photo.php?v=10200262541387350&...
I believe F#/WebSharper makes the most sense for contemporary business web applications.




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think