Jump to content

Bob Devine

Members
  • Content Count

    40
  • Joined

  • Last visited

Posts posted by Bob Devine


  1. 12 hours ago, mytbo said:

    What problems did you have with nested objects?

    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


  2. On 6/28/2023 at 11:36 PM, MartinPe said:

    It does not support sort / filtering with a dataset

    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.


  3. +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.


  4. 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.

     

    1 hour ago, David Schwartz said:

    you might be using the Observables to act as setters / getters for the HTML tags

    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.

    • Like 1

  5. 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.


  6. @vfbb Thanks for this looks interesting. Would be worth putting a link to DEB on the readme https://github.com/spinettaro/delphi-event-bus

     

    There's another one here: https://github.com/THSoftPoland/DelphiMessageBus

     

    I've been mulling over using an event bus rather than the observer pattern in some of my code, but I need something that works with pas2js (in TMS Webcore). The latest pas2js has generics etc. so I'm aiming to try some testing next month - might be worth you taking a look though.


  7. Made the jump from 10.2 to 10.4.1 (both patches installed) and am already regretting it... LSP up to more than 3Gb memory after a few hours so switched to classic. The problem in classic is the "working" cursor when not typing or moving the mouse - anyone else seeing this and know how to get rid of it? Couldn't find anything in QP. I realise I can re-set the LSP by switching between classic and LSP as a last resort.

     

    Thanks, Bob


  8. @Fr0sT.Brutal Yes agreed my GPL objection isn't valid - in fact I'm already using the Nim compiler (MIT licence) to generate plugins from my app and it's run in a separate process. Scripting is no good for my applications though, primarily for performance reasons.

×