Introduction to WebSharper — Part 0

Today I would like to start my first series: the Introduction to WebSharper series. My main goal with the it is to help people learn the fundamentals of WebSharper. At the moment its learning curve is pretty steep and unforgiving, since there are no real entry level documentations, tutorials or whatsoever in the internet about WebSharper. It is a shame really, because it is a pretty cool tool for web development, and I think that it deserves more attention.

This is also a kind of a blog starter post. It isn’t my first entry, but I thought that if I make a post about something, and the I make a blog starter entry, it is much better, since from the first moment you will see a sample of my work, not just a short introduction.

First things first, I would like to introduce myself. I am Gergely Fábián, a 20 years old Hungarian university student of the ELTE Faculty of Informatics, who is really interested in web development, functional programming, and game development. I do think that blogging about my experiences will help me to grow as a developer, and also will help others.

Before we start the tutorials, lets talk about WebSharper. What is it anyways? It is a web framework for developing functional and reactive .NET applications in F# and C#. Although I have some experiences with C#, in this blog I would like to concentrate on F#, since it is much less known than C# and it is a functional first language (and in my opinion the code looks better, which in a case of a blog is not a disadvantage at all).

Okay, it was the official description to WebSharper, but what does it do in practice? The coolest feature of it is that it can compile client side F# (and of course C#) code to JavaScript. So, you can write client side code in a strictly typed functional language, AND it will become JavaScript, which can be used in any browser without any problem.

It sounds cool but I don’t even know what F# is, what should I do?
Well, it is not that big of a problem since there are plenty of tutorials and information about F# in the internet, so if you really want to learn it you will be able to do it, without any problems. If you have never heard of the functional paradigm, at first it will feel really weird, but after the first shock you should be okay.
If I were you I would definitely start here.

What are your plans?
Well, it is too early to say for sure, since I have never blogged before, but I would like to make a full tutorial on WebSharper, and a detailed series about developing a longer project. I do think that seeing stuff in practice is much more helpful than plain information and random out of context code snippets. I would like to make at least 3 blog post every week.

Since this is not meant to be a long post just a basic introduction to my blog and the series, I will finish it now. Stay tuned for part 1!