Wednesday 28th February 2018, 17:11
Tutorials about RTTI, Attributes, Generics, ToolsAPI (Open Tools API) :
Sorry to disappoint you. DelphiLand's audience consists mainly of beginner to intermediate level of programmers. But the stuff that you ask for is too seldomly used and too specialized. Just a few words to satisfy the curiosity of our readers (I realize that it's not very informative):Attributes
A Delphi feature, supported in Delphi 2010 and up. It allows to add additional information to the declaration of types and type members.
Attributes are powerful but not well documented
and lots of explanatory articles on the web are either too vague or confusing.RTTI
Stands for: run-time type information. Delphi itself uses the RTTI to access properties when saving and loading form (.DFM) files, and to display attributes
in the Object Inspector. RTTI is only available for "published" properties, not for protected or public properties.
There is very little information about RTTI in the official Delphi documentation, you'll have to explore other sources like programmers magazines, web sites, newsgroups and books. Good introductions to the RTTI have been written by the well-known author of Delphi books Marco Cantu.Generics
Also called "parameterized types" or "generic types". They allow you to write more general code in Delphi, while keeping type safety. For example, the classes TList, TStringList, TObjectlist and TCollection can be used to build specialized containers, but they require type casting. With generics, casting is avoided and it's easier for the compiler to spot errors.
Sounds complicated? It is, and most specialized articles on Delphi generics use quite advanced concepts and insider wording that are not explained. ToolsAPI
The Open Tools API (OTA) allow developers to add features (addins) to the Delphi IDE. These additions are called "wizards" or "experts".
Wizards can use the OTA to modify the IDE, obtain information about the IDE’s state, and receive notification of important events.
To create wizards, you need an IDE version that includes the VCL source (Professional, Enterprise, Architect, etc).
Embarcadero runs a discussion forum that has an Open Tools API group: look at https://forums.embarcadero.com/ under Delphi, Open Tools API.
On the webpage http://www.gexperts.org/open-tools-api-faq/ you also find info about the Open Tools API.
We shall not post articles about OTA on DelphiLand, because this stuff is definitely not for beginners, even not for some intermediate level programmers.