Hello, WebSharper!

      3 Comments on Hello, WebSharper!

In my previous post I was explaining why I chose WebSharper as my main topic for DSP 2017. If you haven’t read it yet, here’s the short answer: full-stack Web Dev, F#, and no JavaScript. So yesterday I put on my coding pants and got to work. More or less one hour later, I ended with a rather simple but functional website that looks like this:

(click on the GIF to enlarge)

As you can see, the website basically does just two things:
– it queries for your name, and then says ‘Hello!’ to you. This is done on the server side.
– it displays the number of times you click on the 2nd button. This is done on the client side.

All this in just about one hour? Not bad at all, especially for a noob like me! Let’s see in details what I did to get there. You can download the source code from my GitHub repo. Continue reading

DSP 2017, here we come!

      4 Comments on DSP 2017, here we come!

Well hello!

This is my very first post dedicated to DSP 2017. Wait, what? You don’t know what DSP is? Take a moment to read this first, then. Don’t know me either? About time we got acquainted! All set? Let’s go on then. I know this is quite a long introductory post and I’ll try to keep the next ones shorter.

Incidentally this is also my very first post on a public blog. I’ve been wanting to try my hand at blogging for quite some time now, so I figured this would be the perfect opportunity to do so. After spending long hours looking for hosting options and domain prices, configuring WordPress, and most importantly, finding a decent-looking theme, here I finally am. Quite the adventure already!

In Quest of The Unimaginable

But having a blog is not enough to take part in DSP, for you also need a project! And this where things got a little complicated. There are literally so many things I’ve wanted to experiment with in the last few months that I couldn’t make up my mind. Would I go with a new language? A shiny framework? A cutting-edge tech? Ideas kept bouncing around in my head, but after some time, I realized all revolved around a certain pattern:

  • I’d surely like to try my hands at Web Dev
  • But… I don’t really like front-end work
  • But… I’ll need some kind of UI anyway
  • Shoo Shoo, JavaScript!
  • Damn, this F# looks pretty sexy!

At the first glance, some points seem pretty contradictory already! Let me expand on some of the ideas above.

…Why Web Dev?

Since the beginning of my career, I’ve been mostly working on server and desktop applications for enterprise. This is all fine and fun (well, not always), but there is this new thing in town called the Internet, and it seems to be catching up pretty fast. Who knows, companies might as well decide to use it too, at some point! So why not jump on the bandwagon? Continue reading