For Freelance F# Software Development and Consulting, visit www.bengobeil.com/ To learn more, check out Sutil here: github.com/davedawkins/Sutil Outro: Artist: Lakey Inspired Song: Warm Nights
I use the C# back-end + Svelte front-end combo, a really great experience, but F# has gained my attention for a few weeks, especially for Data stuff, will give it a try, thanks!
Interesting now how 3 layers later, more and more JS UI frameworks are moving to signals and signals are now stage 2 and will soon become standard JS language feature. The observables you describe here sound exactly like Svelte/Solid/Angular/soon-to-be-standard-JS signals.
I was super excited of your trading application series, but lost you since you started from UI point of view. All your brainstorm session was initiated from UI and then you build up. That is something I care less, since to me everything in application is backend only, front end can be anything, we display anything and so on. The main backbone/brain of the application is backend engine only. And then I draw line from there to front end. So to me frontend comes at end since its never ending story of UI. But seems like I will still follow your sessions, since ideas like this video indicates that we still have quite some common ideas of how an ideal application should looks like. Thanks!!
Sutil view functions looks really strange and complicated to me ... You sure it is better than Feliz/Fable? Experimenting currently (but using Angular + Typescript at work) ...
Also I think I read somewhere that Elmish is not anymore the preferred choice, and better to use basic React hooks alone? Or did I misread something - would appreciate your opinion!
Good question. After recording the next few episodes, there are definitely some advantages and disadvantages. Advantages are, Feliz, Sutil, and others are coming together to use the same Html/Css rendering libraries (Feliz.Engine). Over the long run this quite good. Like I mentioned, the advantage of Sutil is improved performance, no virtual DOM, much lower bundle size, no dependency on React. The downside is, unlike Elmish, the view function is not deterministic. You can look at the function and be sure of what is happening, BUT, you do gain insight on what are the moving parts of the application. This has boilerplate costs we are currently trying to improve. It is definitely more complicated than writing a Feliz app. They really have both pros and cons, and I am willing to yield that at least for now, Feliz is a better option for most applications. In my case, I will be constantly re-rendering certain parts, so I believe Sutil is the better (more fun) pick. Also, I have been really enjoying it, even though it is more complicated, it feels more natural to me than constantly calling the view function. Hope this answers your question! I might talk about this question in a subsequent video.
I never liked web dev. This stuff just feels ugly. So much effort just to have some clickable buttons. Then came Svelte. The ideas behind it are fundamentally better than the stuff that came before it: make the compiler generate the gnarly JS code while the developer's code is clean and simple, at the same time obviating to need for a framework running on the client. I also think Sutil is going to be a huge deal! It's cool to see other people thinking the same way. Can't wait to see you coding your app with this!