Recent

Author Topic: Xavier for XML — Compatible with FPC and Delphi  (Read 1925 times)

mdbs99

  • Full Member
  • ***
  • Posts: 121
  • Software Engineer. Husband. Trader.
    • website
Xavier for XML — Compatible with FPC and Delphi
« on: September 20, 2017, 09:00:30 pm »
Xavier is an object-oriented library for work with XML.

https://github.com/mdbs99/xavier

This 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
« Last Edit: September 21, 2017, 05:40:10 am by mdbs99 »

 

TinyPortal © 2005-2018