James is a collection of object-oriented Pascal primitives for Lazarus and Delphi
James is a collection of object-oriented Pascal primitives.
ATTENTION: We’re still in a very early alpha version, the API may and will change frequently. Please, use it at your own risk, until we release version 1.0.
This API is being written in Free Pascal and Lazarus. However, it is also compatible with Delphi.
The main goal is to replace common procedural code, which has so many conditionals and “controllers”, to a declarative and object-oriented code.
We want to write elegant, clean, organized, interface-based, and maintainable code using OOP.
The code follows a restrict rules about naming and style, as prefixes and suffixes, to help programmers to find the correct class or method to do the job quickly.
Clone the repository in some directory in your computer.
First of all, you should have these libraries installed in your environment:
It has been tested using these versions:
To install on Lazarus:
mormot_base.lpk
available - see dependencies/pkg/JamesLib.lpk
The IDE will be aware about JamesLib Package to use in any project.
There is no package for Delphi users yet.
Considering <james>
as the path where you have saved the sources, you must include these paths in your project:
<james>\src;<james>\src\delphi
If you are using an old Delphi version as Delphi 7, you also might need to download these:
And make sure that these libraries are in your Delphi search path.
Make sure that everything is working in your environment opening the /test/TestAll
project, compiling and running.
This project is released under MIT license. See LICENSE.