Jump to content

Edwin Yip

  • Content Count

  • Joined

  • Last visited

Community Reputation

118 Excellent

Recent Profile Visitors

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

  1. @Fr0sT.Brutal, Thanks for the link! From the overview webpage the features seems to be quite powerful, but it doesn't seem to be compatible with my XE4 compiler: [dcc32/dcc64 Error] TemplateEngine.pas(2253): E2030 Duplicate case label Feature-set aside, it still has less documents and examples than Sempare Template. But thanks for the link!
  2. For my new project I need a template engine for generating web pages, while I have concluded which suited my needs the best and I'm quite confident about my conclusion, your opinions and comments might help me to make my final decision. Since mORMot is my go-to framework for server-side web development, the first candidate to consider is obviously DMustache, which is a fast Delphi/FPC implementation of the popular logic-less Mustache template engine. Actually I've used it in several of my projects and it's great. But sometimes I need more features, but as you know, logic-less means no "if", "while", and so on. And fortunately I found Sempare Template Engine, which is the only feature-rich template engine for Delphi ( Yes, I meant it, because we all know Delphi was/is mostly focused on GUI development but not web development...) Pros === - Very very feature-rich, "if", "for and while loop", "include", "JSON", "custom methods", and so on. Basically, the feature set it's very close to template engines you can find in web-focused languages such as Java. No other Delphi template engine is even comparable (sorry, I love DMustache, but I also need "if" and "while"...). - Very well designed! You can tell by just looking at the unit namespaces and the source! - Documented, and with examples. - Well-tested (with DUnitX tests) Cons: While It's also open source, but for commercial uses you need to buy a license key with a very reasonable price. There are other template engines too, but IMHO, only DMustache and Sempare Template are serious, so I won't list them here... Your comments are welcomed!
  3. Implemented natively in Delphi, as Stephen suggested: https://github.com/ahausladen/JsonDataObjects Maybe world's fastest: Simdjson, however, there is no complete Delphi wrapper yet, but this one-function only wrapper can get you started quickly if you go this route: https://synopse.info/forum/viewtopic.php?id=5926
  4. Wow! So the collections in mORMot2 is/will be even more powerful! Great to hear that, and as always, we can rely on mORMt/2 ;)
  5. You are not alone! And sadly that's the reason I use as less as generics as possible... sometimes a re-build clears the issue, sometimes I have to re-boot the IDE, it's really unproductive... And, I thought the bug only exists in my old XE4 compiler, I didn't expect it also lives in the new IDEs... then I wonder, what are the new versions charge for??? ...
  6. Edwin Yip

    TBCEditor text editor component

    Great news! It seems that TBCEditor is coming back as open open source again as github.com/TextEditorPro/TTextEditor But looking at the texteditor.pro site, but quite sure the github repo is by Lasse the same author of the old TBCEditor. Not sure what improvements has been brought by the new version and but it seems doesn't support CJK characters, pity...
  7. Edwin Yip

    MAP2PDB - Profiling with VTune

    I know nothing more than his github profile page ;)
  8. Edwin Yip

    MAP2PDB - Profiling with VTune

    I guess map2pdb enabled the birth of the following new open source stack tracing library ;) https://github.com/thatlr/Delphi-StackTrace
  9. Edwin Yip

    Getting Exception stack trace in 2021

    Found the detailed steps: https://stackoverflow.com/a/1130506/133516 Edit 1: Would love to see an example of using `System.ExceptObjProc` and the other related procedure variables ;)
  10. Edwin Yip

    Getting Exception stack trace in 2021

    You really have a good memory :D
  11. Edwin Yip

    Getting Exception stack trace in 2021

    Well, well, well, I had that misconception too! While I was puzzled why madshi provides the open source DebugEngine while he already has the madExcept commercial package, but I didn't think too much since Jeroen said so... Maybe people confused by the name 'Mahdi' with 'madshi' the nickname :) I shouldn't have that misconception - because IIRC I asked Mahdi Safsafi and he's a doctor from the Middle-east, while IIRC madshi is in Germany...
  12. I was having the same perception for many many years, until my Win 10 Guest became deadly slow on a Win 7 host. Then switched to VMWare and wow, much "snappy" now! Haven't used Hyper-V though.
  13. Edwin Yip

    ANN: HTML Library 4.4 released

    Amazingly great work, as always! Do you have a list of 'CSS not supported by HCL'? Thanks!
  14. Edwin Yip

    MAP2PDB - Profiling with VTune

    Thanks for the info. Just downloaded AMD uProf and the installer supports Windows 7 (but haven't tried it yet) ;)
  15. And here is the link of the github project: Wasm by marat1961. @Arnaud Bouchez ;) Just in case you didn't know, WASM is a subject of JavaScript that's optimized for speed and cross-platform.