Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WPF - Is it as dying as it looks to be?
Message
General information
Forum:
C#
Category:
Other
Miscellaneous
Thread ID:
01659772
Message ID:
01660244
Views:
61
>UI for electron is an Issue IMHO. Frameworks exists sure, but they are usually Web frameworks not optimized for desktop usage.
I used VUE.js and your statement is very true. But does that matter? They Web Frameworks I tested worked just fine. The performance was good and the UI interacted just fine.

>Again if you are going down the Electron route you should very strongly consider whether you should build your application as an online >Web Application in the first place. Because essentially that's what you're doing except that you do get local features via Node.

I agree!

>If you look at all the top level Electron applications out there you'll find that each and every one uses a custom UI, and not some generic >UI framework. If you want to build an app that integrates nicely into Windows for example, Electron will never look like a modern Windows >application (well never say never). Again it depends on what you're after. Building truly polished HTML applications is rather difficult >IMHO, but creating polished desktop applications is generally a lot easier because you have sophisticated standard frameworks that >provide the appropriate OS abstractions

I guess some would see the ability to create unique UI's as a feature! And whatever OS feature you are talking about (I'm sure there are some) I didn't need to create or account for the different OS's because everything I used was built into node.

I had a lot of fun playing with CSS and Javascript to create the interface (really don't like javascript). I didn't lose any features I had with FoxPro or Python. My returns, tabs, validation all worked. It was hard finding just the right tools (far to many tools that are out dated) and ones I was comfortable with to say the least. But I was able to do it. In fact the biggest issue for me was providing a data grid and an appointment calendar. I used Handsontable and a vue wrapper around a javascript calendar. As far as the UI - it looks the same on Linux as it does on Windows. I did NOT test for Mac's. Overall I was happy with the UI. The biggest trick was learning how to open windows/forms. The program has about 10 forms and lot's of small dialogs. BTW the trick to opening the forms is to use openwindow and not the browserwindow. Allowing only one browserwindow to be the primary control (which acted as a menu) allowed the openwindow forms to open and close without closing the program. It also minimized the need for IPC calls.
Johnf
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform