Re:Orb is a free and open source web desktop
by gunapologist99 on Monday August 07, 2023 @05:25PM
(#37041175)
speed has nothing to do with the problem that you originally described. an AJAX call can take 750ms also.
Re:Orb is a free and open source web desktop
by throwaway60707 on Monday August 07, 2023 @07:47PM
(#37042509)
There's no AJAX call in a SPA if all I did was close a detail side-pane to get back to the listing. The AJAX call goes on in background if I saved a modification and I can continue to use the app as it runs. And when I open a detail, at least I'm not watching the whole damn app reload and reconstruct itself from scratch for the 1000th time, and need to download just the data and not the whole bloated HTML mess.
Re:Orb is a free and open source web desktop
by happytiger on Tuesday August 08, 2023 @03:25AM
(#37045640)
Re:Orb is a free and open source web desktop
by JohnFen on Monday August 07, 2023 @05:31PM
(#37041245)
> when you need to wait 750ms to have each page load
Wait, what? If it's taking most of a second for a page to load, then that's the problem, not that it isn't a SPA.
Re:Orb is a free and open source web desktop
by throwaway60707 on Monday August 07, 2023 @07:49PM
(#37042533)
What can I do? Do you have a suggestion for a different HRIS? All of these that have all needed features are bloated OOP apps in PHP...
Re:Orb is a free and open source web desktop
by hliyan on Monday August 07, 2023 @11:56PM
(#37044338)
Amdhal's Law would suggest that much of the 750ms latency is likely attributed to I/O operations (mainly DB ops) and not CPU. Also, without knowing anything about your setup: upgrading to PHP 8 and/or enabling opcode cache may help. All that said, my original quibble was with development time, not run time overheads.
Re:Orb is a free and open source web desktop
by happytiger on Tuesday August 08, 2023 @03:24AM
(#37045632)
750ms transaction times and it’s “the language” that’s the problem? Not bloody likely.
Re:Orb is a free and open source web desktop
by iamphilrae on Monday August 07, 2023 @05:51PM
(#37041450)
Beauty of that though is that you can CMD+click on each one and open all 50 into separate tabs, then work on each one whilst the others load in the background. Want to cross-reference? Easy, just shift a tab to a new window. All likely not possible in an SPA, either because links don’t work like links, or because it’ll muck up state.
Re:Orb is a free and open source web desktop
by throwaway60707 on Monday August 07, 2023 @07:48PM
(#37042519)
You can do that with a SPA. All SPAs I made and most of the ones I use support it just fine.
It also doesn't bother me much on here because HN is much faster than these systems - no wonder, since it's just a forum. But try updating the details of 50 employees, each separated into 5 subpages, when you need to wait 750ms to have each page load. And you need to load that page multiple times - first to get into the detail, then to put it into "edit" mode, then to save it - and then you can switch to a different subpage of the detail.