PhilBoy 0 Posted Thursday at 09:45 PM Hello, I'm working on a desktop application development project(specifically a desktop simulator tool) and this simulator was developed with Object Pascal. I'm trying to understand the architecture of the simulator and improve the features of the simulator. I have very basic knowledge of OOP but I don't know what I need to learn to be able to do the task I described above. Can anyone offer a learning roadmap to be proficient enough to do the task above? Share this post Link to post
DelphiUdIT 199 Posted Thursday at 11:25 PM (edited) 1 hour ago, PhilBoy said: Hello, I'm working on a desktop application development project(specifically a desktop simulator tool) and this simulator was developed with Object Pascal. I'm trying to understand the architecture of the simulator and improve the features of the simulator. I have very basic knowledge of OOP but I don't know what I need to learn to be able to do the task I described above. Can anyone offer a learning roadmap to be proficient enough to do the task above? You can start from here: https://lp.embarcadero.com/ObjectPascalHandbookD11?utm_source=blog It is a free book from Marco Cantu. Other members of this forum may suggest you others books or resources. EDIT: and of course install the community edition of Rad Studio from here (if you are eligible for it): https://www.embarcadero.com/products/delphi/starter N.B: Take care about license, limitations and legal issue Edited Thursday at 11:32 PM by DelphiUdIT Share this post Link to post
Patrick PREMARTIN 87 Posted 21 hours ago Just a question to @PhilBoy : you say Object Pascal, but do you know if it is in Delphi, Lazarus or an other environment ? Let's suppose it's Delphi, do you know what was the development version ? The language don't differ a lot between releases, but used libraries does. Share this post Link to post
Patrick PREMARTIN 87 Posted 20 hours ago You can also read the "Delphi Language Guide" from https://docwiki.embarcadero.com/RADStudio/en/Delphi_Language_Guide_Index Share this post Link to post
Paul Dardeau 0 Posted 16 hours ago 5 hours ago, Patrick PREMARTIN said: Just a question to @PhilBoy : you say Object Pascal, but do you know if it is in Delphi, Lazarus or an other environment ? Let's suppose it's Delphi, do you know what was the development version ? The language don't differ a lot between releases, but used libraries does. Is it common to have shared code between Delphi and Lazarus? If so, what are the equivalents to c preprocessor macros like "#ifdef Delphi"? Share this post Link to post
DelphiUdIT 199 Posted 15 hours ago (edited) 58 minutes ago, Paul Dardeau said: Is it common to have shared code between Delphi and Lazarus? If so, what are the equivalents to c preprocessor macros like "#ifdef Delphi"? Normally it works the other way around... you write: {$IFDEF FPC} .... for FPC {$ENDIF} {$IFNDEF FPC} .... for DELPHI {$ENDIF} or {$IFDEF FPC} .... for FPC {$ELSE} .... for DELPHI {$ENDIF} Edited 15 hours ago by DelphiUdIT 2 Share this post Link to post
Pat Foley 52 Posted 14 hours ago 17 hours ago, PhilBoy said: Can anyone offer a learning roadmap to be proficient enough to do the task above? Much of the roadmap should include reticulation of the system you are modeling. Bond graphs allow cause effect, modular construction, and the relationship between the domains to be surfaced with causal strokes the bonds (effort vs flow) are drawn . To avoid paying 20 K to Twente sim, I draw the system out in bound book. these drawings help in connecting sources to sinks. A book on bond graphs mentioned that eigenvalue would be easier to understand written as characteristic wert. 🙂 Delphi to Laz. // in lpr was dpr {$IFDEF FPC} {$MODE Delphi}// saves using specialize in generic constructs {$ENDIF} uses {$IFnDEF FPC} {$ELSE} Interfaces, // lets the laz work {$ENDIF} Share this post Link to post
PhilBoy 0 Posted 3 hours ago To All, Thank you for your suggestions. I have already read the book by Marco Cantu but it wasn't satisfactory. The book by Marco Cantu does not offer a beginner a helpful way to understand how applications are developed from scratch in Delphi RAD Studio. Because I have very basic knowledge, I was wondering if anyone could recommend a roadmap of topics in Software Architecture and Object Oriented Programming/Design that will help me understand a methodical approach to understanding how to characterize and modify the simulation application I'm working on. I am looking for material that will help me learn app development using Delphi RAD Studio. I'm essentially trying to learn software architecture and OOP/OOD using Delphi RAD Studio. Share this post Link to post