Xavier is an object-oriented library for work with XML.
https://github.com/mdbs99/xavierThis API is being written in Free Pascal and Lazarus. However, it is compatible with Delphi too.
Why. Nowadays, all XML libraries are very complex. Each class has so many methods that could be hard to use and understand them. These implementations are very procedural too.
The major goal of this project is to replace common procedural code in our projects, which could have so many conditionals and variables, to a declarative and object-oriented code to work more easily with XML.
We want to write elegant, clean, and maintainable code using OOP.
Principles. The code has some design principles:
- Fully interface-based
- Memory is released automatically
- No usage of nil/NULL in arguments or returns
- No type casting or reflection
- No procedures or functions, only Interfaces and Objects