ManiaLib\Manialink: our (new) PHP lib for building XML
Posted: 04 Mar 2014, 16:01
Much hello,
We are working on a new version of ManiaLib (PHP framework for manialinks). In order to make things simplier, it will be split in several standalone packages (like Symfony components).
The first package we're working on is the evolution of ManiaLib\Gui and is made for building the actual XML of manialink pages.
We are keeping some stuff from ManiaLib\Gui, but are still starting from scratch and breaking most of the compatibility, so don't expect to easilly convert old Manialib code to this new lib.
The good news is that it uses a new namespace (ManiaLib\Manialink) so you can actually use both at the same time without conflict if you'd like.
As stated above, ManiaLib\Manialink is standalone. It is made for abstracting XML. Therefore you can use it wherever you fancy, from Web apps (typically manialinks) to controllers (eg. ManiaLive).
Installation is easy with composer, and usage, after a bit of learning, should feel confortable and logical.
It's a work in progress. Although functionnal, it lacks some classes and methods. We will break things without notice. Still, we think working on it openly on github is a nice way to do. We can also consider suggestions for features.
https://github.com/maniaplanet/manialib-manialink
I'll be glad to answer questions you might have!
We are working on a new version of ManiaLib (PHP framework for manialinks). In order to make things simplier, it will be split in several standalone packages (like Symfony components).
The first package we're working on is the evolution of ManiaLib\Gui and is made for building the actual XML of manialink pages.
We are keeping some stuff from ManiaLib\Gui, but are still starting from scratch and breaking most of the compatibility, so don't expect to easilly convert old Manialib code to this new lib.
The good news is that it uses a new namespace (ManiaLib\Manialink) so you can actually use both at the same time without conflict if you'd like.
As stated above, ManiaLib\Manialink is standalone. It is made for abstracting XML. Therefore you can use it wherever you fancy, from Web apps (typically manialinks) to controllers (eg. ManiaLive).
Installation is easy with composer, and usage, after a bit of learning, should feel confortable and logical.
It's a work in progress. Although functionnal, it lacks some classes and methods. We will break things without notice. Still, we think working on it openly on github is a nice way to do. We can also consider suggestions for features.
https://github.com/maniaplanet/manialib-manialink
I'll be glad to answer questions you might have!