mdbs99 / james

James is a collection of object-oriented Pascal primitives for Lazarus and Delphi
MIT License
53 stars 20 forks source link
delphi freepascal james lazarus object-oriented object-pascal pascal

James

License Hits-of-Code

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.

Table of Contents

Overview

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.

Installing

Clone the repository in some directory in your computer.

Dependencies

First of all, you should have these libraries installed in your environment:

On Lazarus

It has been tested using these versions:

To install on Lazarus:

The IDE will be aware about JamesLib Package to use in any project.

On Delphi

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:

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.

Testing

Make sure that everything is working in your environment opening the /test/TestAll project, compiling and running.

License

This project is released under MIT license. See LICENSE.