Bob Devine
Members-
Content Count
41 -
Joined
-
Last visited
-
Open-source Delphi interpreters?
Bob Devine replied to David Schwartz's topic in Network, Cloud and Web
You should try FPC for Linux servers. The absence of Linux in Delphi Pro or Community is one of the reasons I let my Delphi subscription recently lapse. It's not even so much the cost, but the lack of an open community means I've no idea how stable Delphi Linux is, so it's not worth the risk. FPC/Linux has been rock solid for the two years I've been using it (with mORMot). -
Problem with JSON library "SuperObjects"
Bob Devine replied to chkaufmann's topic in Network, Cloud and Web
To be honest I can't remember. It was about 4 years ago and no doubt mORMot will now have it sorted out 🙂 I use JSON for config files on the desktop and at the time Neon was the only one that coped with the complex configs I was using. I use mORMot JSON for everything else where performance is important (I never tested Neon for performance). Cheers, Bob -
Problem with JSON library "SuperObjects"
Bob Devine replied to chkaufmann's topic in Network, Cloud and Web
I use the mORMot solution for my REST stuff but for desktop applications I use this excellent library: https://github.com/paolo-rossi/delphi-neon It was the best library when I tested a couple years back for handling nested objects - had no problems with it. Cheers, Bob -
One of my favourite features of the FNCGrid is it's virtual mode, which is actually the only mode I use. Allows you to manipulate the underlying data in any way you want and then just update the view. Also means that large datasets aren't a problem.
-
Postgresql in the cloud, possible for Desktop App?
Bob Devine replied to mvanrijnen's topic in Network, Cloud and Web
I'm about to start using this: https://supabase.com/ It has a Rest API but I haven't tried it from Delphi yet. -
+1 for HTML Component Library - I use it to display complex charts generated by Matplotlib (including tessellated charts) and it works really well, with very smooth resizing of windows.
-
Does the code re-factoring make an FMX port more achievable or is that still out of scope?
-
TBH I haven't considered that yet. @Stefan Glienke would be the best person to ask.
-
I've actually been using the FNC components with Stefan's Knockoff for a few years now so I'm very familiar with them. In Knockoff it's easy to create new bindings and this type of MVVM is addictive 🙂 I'd used WPF and also KnockoutJS in the past so when Knockoff came along I was delighted. However I'm now getting close to actually requiring a cross-platform app and every time I used the FMX style designer I lost the will to live. Linking Knockoff and DHTML seemed an ideal solution. That's right - I've been using DHTML for almost a year and it really is an amazing component set. The website and documentation don't do it justice. When you get into it, CSS is just great to use - no fiddling with visual designers if you don't want to. Having said that, you can use something like Figma to create HTML/CSS UIs, e.g.: https://www.uistore.design/items/macos-monterey-free-ui-kit-for-figma/ https://docs.telerik.com/blazor-ui/styling-and-themes/figma-ui-kits An example of what can be achieved just with CSS is here (there are many others): https://picturepan2.github.io/spectre/index.html I'd also briefly looked at Flutter but really don't see the point of adopting another non-standard UI technology. With CSS I can draw on a vast pool of resources, and developers. Another potential benefit of this approach is right-to-left script. I think some of the demos might support this but am not sure - if anyone with an RTL system could test them I'd be grateful.
-
https://github.com/SigmaSciences/KnockoutOP Still pretty rough but looking quite promising I think. Based on Stefan Glienke's KnockOff and the DelphiHTMLComponents. Any bugs, suggestions, problems etc. just drop me an email (see the readme for gmail address).
-
Flexcel is in a class of it's own - it's non-visual so it's perfect for use with a virtual grid (the TMS FNC grid works in virtual mode). If you need to store the object with the workbook then use custom document properties (Flexcel handles this). You serialize your objects to XML and store them in the workbook. You then just need to keep track of which object applies to which cell - use named cells/ranges and you don't need to keep track of possible row/column insertions/deletions.
-
I'm using DHTML extensively for SVG: https://delphihtmlcomponents.com/ I tried a couple others but DHTML gives better re-sizing (really smooth without flickering) and was better at handling the SVGs I work with (generated by matplotlib).
-
Parsing Text search expression
Bob Devine replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
+1 for HTML Library -
Good quality Random number generator implementation
Bob Devine replied to Tommi Prami's topic in Algorithms, Data Structures and Class Design
Some that look interesting - I haven't investigated these in detail so can't give any opinions on them. The CodeProject ones would need to be ported. https://github.com/LUXOPHIA/Random https://www.codeproject.com/Articles/1083372/Random-Number-Generator-Recommendations-for-Applic https://www.codeproject.com/Articles/1190459/Randomization-and-Sampling-Methods https://www.codeproject.com/Articles/5272482/Partially-Sampled-Random-Numbers-for-Accurate-Samp -
Yes it's valid - it's just the username I gave with gmail.com.