Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

9 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. edwinyzh

    Pas2js for Delphi

    Checking it out... There is an extra dot in the link to https://github.com/Kryuski/pas2js-for-delphi and will lead to a 404 page.
  2. edwinyzh

    MMX for Delphi 10.3 Rio

    I know it depends on the decision of the original developer of MMX, actually I want to be able to contribute to the source by adding old version support :)
  3. edwinyzh

    FB4D – The OpenSource Library for Firebase

    What a great contribution, @Christoph Schneider! Thank you and I'll look at it later. BTW, The reason the min. supported Delphi version is Seattle is because it depends on new features only available in Seatle+ or you don't want to test it with older versions of Delphi?
  4. edwinyzh

    MMX for Delphi 10.3 Rio

    I'm sad but I fully understand.
  5. Thank you all for the comments. I need to activate the LiveView window on a local PC. The situation is when in DEBUG mode, I want to bring the error logs to my attention. For example: CodeSite.SendError('this error is rare to happen but you need to take a look it immediately!'); CodeSite.BringLiveViewWindowToFront; IIRC TraceTools (which I abandoned it due to a deal-breaker issue) has such feature.
  6. Is there a way to bring codeSite LiveView window to front by code?
  7. edwinyzh

    Advice on starting to work with databases

    It's real muti-user. When a SQLite db's accessed through mORMot, be it Delphi clients using the mORMot client classes, or any JS, C#, Java clients accessing through Rest API, tens of thousands of users can read/read the SQLite db just like what you do with other db system such as SQL Server. What is a multi-user system if this is not.
  8. edwinyzh

    Advice on starting to work with databases

    Unless you use a framework like mORMot which turns SQLite into a real multi-user DBMS (I meant real, although it's achieved with threads and locking). Advises for using an ORM - only use ORM (Object-Relation Mapping) for the simple CRUD part, but don't map your entire data model into a ORM. Doing the latter is the root cause of all complains about ORM from all the Java, C# and Delphi programmers. In this regard let me tell you why I LOVE mORMot - it allows you to accomplish simple data operations such reading/saving/updating/deleting a piece of cake, while it does NOT limit you using any SQL features. It's all about balance between a full-fledged ORM and using raw SQL, mORMot provides the best of both world. There is no over-abstraction nor over-engineering in mORMot, but it provides a HUGH foundation for your application - ORM, database, http(web ) server and http client Rest, remote function call, encryption, crossplatform-ready code base (think FPC and Linux), and so on, and so on, wow, unbelievable, all my new programs are relying on it, including an archiving software and a POS (point of sales) software.
  9. edwinyzh

    Berlin and Tokyo slow compared to Seattle

    Related post: https://forums.embarcadero.com/message.jspa?messageID=934167 And I have just disabled livebinding by renaming all the 4 .bpl files on disk: dclbindcomp180.bpl dclbindcompdbx180.bpl dclbindcompfmx180.bpl dclbindcompvcl180.bpl
  10. Thanks for sharing ab, the slides about server-side architecture is really inspiring! Speaking of 'clean code', I admire your ability to architect the entire mORMot's huge codebase which includes a lot of module, supports a lot versions of Delphi, supports a bunch of compilers on various platforms. And I have a humble advise - do you think the the `with` statement makes reading and debugging harder?
  11. edwinyzh

    Testing needed

    done: https://sourceforge.net/p/gexperts/feature-requests/47/
  12. edwinyzh

    Testing needed

    @dummzeuch Can I take this chance to make a suggestion? - In the 'Memo' view of 'Library Path' and the porject options 'Search Path', as shown in @Primož Gabrijelčič 's posted screenshot, two things would increase the productivity: Allow pressing [Ctrl + A] to select all text in the Memo. Even better - to have a 'Edit with external text editor' button, which when being clicked, will open the system's default text editor to edit the search paths. I guess this can be done with something like: save the paths to a temp file with a unique name. use the CreateProcess API to launch the text editor (the system's default one or can be specified by the user in GExperts), open the temp file. After the text editor's closed (IIRC you can can notified with the CreateProcess win32 API), load the modified content from the temp file and put it into the 'Memo' view of the path editor. Sorry for being off topic, I saw PG's screenshot and this idea came up :P
  13. Hey David, the speed difference is HUGE! Thank you so muchhhhhhhhhhhhhhhhhh!
  14. edwinyzh

    Delphi SQL Formatter

    Try GExperts -> Editor Experts -> Paste String As. This is a gem from GExperts. Furthermore - you have 'Copy Raw Strings' which does the opposite.
  15. When in DEBUG mode one of my app generates a log of log entries using CodeSite. The logging process is OK, but the Live Viewer's update is tooooooooo slow - even after the app existed the Live Viewer still took 5 more minutes to finish receiving the logs. Any way to improve the performance?