Visit site TPersistent.com

October 2019

1
vote
Vote UpVote

hcOPF Dialog Validation

TPersistent.com – Reminder to self, when presenting a dialog for editing an hcOPF object a generic OK button click or action Execute handler is: procedure TfrmObjectDialog.btOKClick(Sender: TObject); var ValidationErrorList: ThcValidationErrorList; begin //switch focus to another TWinControl to ensure the current ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-10-01 01:05

September 2019

1
vote
Vote UpVote

Doubling Down - Fixing Min/Max() for Doubles

TPersistent.com – Today I discovered that the built-in overload for Min() and Max() double in the Math unit do not always work as expected.  If you search on how to compare floating point types there are many StackOverflow answers, none of which have been adopted over the years by the built-in library.  I have come ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-09-17 20:04
1
vote
Vote UpVote

Adding a New Attribute to hcOPF

TPersistent.com – In order to support a client using SQL Server with replication I needed to add GUID support to hcOPF.  This post is a chronicle of my efforts. If you’re unfamiliar with ThcAttribute you can breathe a sigh of relief.  It’s analagous to a barebones TField implementation which contains two ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-09-13 21:04
1
vote
Vote UpVote

FireDAC TFDScript component - Bug or Feature?

TPersistent.com – When switching a project from using the Spring4D ORM to hcOPF I was forced to change the implementation of the CreateDatabase functionality that was so easy to implement using Spring4D.  Now I am using a TFDScript component with multiple scripts which naturally have to match the MetaData definitions ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-09-09 02:04
2
votes
Vote UpVote

hcOPF now supports FireDAC

TPersistent.com – In my last post I talked about how unfortunately Spring4D does not provide change notifications so that developers can easily determine if an object graph has been modified and needs to be persisted.  It was primarily for this reason I decided to change the persistence layer in my latest project to ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-09-07 23:04
1
vote
Vote UpVote

Spring4D ORM Change Tracking

TPersistent.com – Spring4D’s ORM uses an instance of an IEntityMap to perform change tracking. The default implementation is essentially a threadsafe wrapper around a Dictionary that uses an entitykey of the classname + ‘$’ + the object Id and the Value portion is an array of member values. If an ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-09-01 22:05

August 2019

1
vote
Vote UpVote

Ordering IN()

TPersistent.com – This post is not about DoorDash or SkipTheDishes, it’s about using the Where IN() clause in SQL. Yesterday I thought I had discovered a way to order the inclusion of child records since this StackOverflow answer led me to believe that ordering values in the IN() clause will in fact order the ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-08-09 23:04
1
vote
Vote UpVote

Linux Compiler will remain an Enterprise Only Feature

TPersistent.com – In case you have not been watching RSP-17195 Marco just closed the ticket yesterday. Apparently EMBT has decided that the Linux compiler will remain an Enterprise edition feature and will not appear in the Pro edition as requested. I have written before as to why I think this a major marketing ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-08-09 23:04

June 2019

3
votes
Vote UpVote

Delphi Now Has Linux UI Support

TPersistent.com – Just announced, FMXLinux has been licensed from KSDev for inclusion in the Enterprise and Architect editions of RAD Studio and related products (Delphi & C++ Builder).  The product is available via GetIt for all current subscribers. Since I have been following FMXLinux’s development for ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-06-26 18:03
0
votes
Vote UpVote

Android - The case of the vanishing file

TPersistent.com – I’m relatively new to the Android development platform, coming from the Windows desktop. One of the great things about recent editions of Delphi is it’s ability target numerous other platforms. One of the worst things about recent versions of Delphi is it’s ability to target ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-06-23 01:02

May 2019

0
votes
Vote UpVote

JIRA is Down

TPersistent.com – Just a note to EMBT customers, JIRA has been down for several hours now.  It is currently giving the following message HTTP Status 500 - org.ofbiz.core.util.GeneralRuntimeException: Could not determine database type. (Network error IOException: Connection refused: connect) With a Java callstack if ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-05-17 01:03
1
vote
Vote UpVote

More Persistence with Spring4D ORM

TPersistent.com – Today I decided to ensure the project I am working on is in fact database independent. The best way I have found is to make sure you develop and test on multiple databases as you go. Since the ORM portion of Spring4D often called Marshmellow is supposed to isolate your application from the ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-05-15 17:04
0
votes
Vote UpVote

Persistence with Spring4D

TPersistent.com – My blog tagline is certainly no accident.  I have been interested in persistence frameworks for a long time, and thought I would use Spring4D’s Marshmellow ORM for a project.  Spring4D has been around for quite some time and just had it’s first conference in Italy so I figured the ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-05-15 01:04
0
votes
Vote UpVote

How to get Login Dialogs Appearing on the TaskBar

TPersistent.com – Most of the applications I have worked on in Delphi are database apps that may present a splash form quickly followed by a login dialog.  If the user fails to authenticate, the application needs to terminate gracefully.  The only way to do so cleanly is to modify the DPR code with some conditional ...
Details Favorite? Off-Topic? Larry Hengen @ 2019-05-10 06:04

October 2018

1
vote
Vote UpVote

The Web vNext

TPersistent.com – I have been reading a lot about Web development lately, and pondering the future of web development.  For the longest time I shied away from Web development, largely because it was so laborious and frustrating. I dabbled a bit back when people were using COM objects with VBScript on the server and ...
Details Favorite? Off-Topic? Larry Hengen @ 2018-10-26 01:05
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)