Join us Tuesday, March 20th, for a LIVE conversation with Boian Mitov of Mitov software as we talk about Arduino, Visuino, IoT, Industrial Automation, AI and more!
(We had to reschedule due to technical difficulties)
Join us Tuesday, March 20th, for a LIVE conversation with Boian Mitov of Mitov software as we talk about Arduino, Visuino, IoT, Industrial Automation, AI and more!
(We had to reschedule due to technical difficulties)
Earlier this week Craig and I had a conversation the Cool App winners
Enter your cool apps and vote today!
Join Craig, David, and Jim as they discuss Delphi powered Games and Graphics engines LIVE!
Live Tuesday, February 27th, 2018 at 12 PM Central Standard Time
On Monday this week David, Craig, and Jim discuss some of their favorite programming books, both focusing on Delphi and C++ specific ones, and general programming topics.
Slides
I’ve run into this a few times, where a REST Service returns results in pages, so you have to make multiple passes to get all the data. One thing I love about the RAD REST Client Library is the ability to store all the data in the FDMemTable where you can work on it. Unfortunately when you can only get part of the results that limits the functionality. Here is a simple solution to get all the pages in a single FDMemTable.
What you need is a second FDMemTable. My first one is called MembersTempTable, and it is attached to the Response Adapter. The second one is called MembersMemTable and it will hold the complete set of data.
// Drop any existing data MembersMemTable.Close; // Get the first page MembersRequest.Params.ParameterByName('limit').Value := '50'; MembersRequest.Params.ParameterByName('offset').Value := '0'; MembersRequest.Execute; // This clones the FDMemTable MembersMemTable.CopyDataSet(MembersTempTable, [coStructure, coRestart, coAppend]); // Now we add the other tables MembersMemTable.BeginBatch(); try // Repeat until we don't get a full page while MembersTempTable.RecordCount = 50 do begin // Start with the next page MembersRequest.Params.ParameterByName('offset').Value := (MembersMemTable.RecordCount - 1).ToString; MembersRequest.Execute; // Append those records into our FDMemTable MembersMemTable.CopyDataSet(MembersTempTable, [coAppend]); end; MembersMemTable.IndexFieldNames := 'id'; finally MembersMemTable.EndBatch; end;
Join Craig, David, and Jim as they discuss Delphi Web Frameworks LIVE!
13-Feb-2018 at 12 AM CST [other timezones]
Planning to discuss some of the following . . .
Here is the replay of my webinar on Delphi and the Blockchain. We start with some basics of Bitcoin and cryptocurrency, but we look specifically at some simple examples of what the blockchain is and how to use it.
Agenda
More information:
Craig and Jim discussed Single Board Computers (SBC) and Delphi in this Live Episode of The Podcast at Delphi.org
If you are wanting to target these boards from Delphi remember if it is an ARM processor you will want to run Android, and if it is an x86 then you will want to run Windows or Linux. Here are some links to some of the single board computers we discussed:
We have a whole new streaming solution that should fix all the issues we were having, so expect better audio quality this time. Join Craig, David and myself for the latest on Delphi, C++Builder and software development in general.
[YouTube]
You can watch live right here:
During this episode we discussed: