Page 1 of 1

ManiaLib, a lightweight & simple PHP framework for Manialink

Posted: 19 Jul 2010, 10:34
by gouxim
Edit:
ManiaLib 1.0 beta was released. See:
http://forum.maniaplanet.com/viewtopic.php?f=40&t=481
Hello everyone,

My mission at Nadeo was to develop the ManiaTeam game mode. I therefore developped a set of small but pratical libraries to help creating and maintaining Manialinks. In the end, we decided with the team that the project should be given back to the community as an open source project. There was born ManiaLib, a lighweight and simple developpement framework, written in PHP, for the creation of Manialinks. Even if it comes with basic modules, it isn't an all inclusive solution. It is a set of "building bricks" for PHP developpers.

I invite you all Manialink creators to use this framework. Your precious feedback will help the project to improve.

It is hosted on Google Code, where you can get the source code and some documentation:
I've already written tutorials about the core APIs so that you get rapidly confortable with the basics of ManiaLib. These are the available APIs:
  • GUI : classes for creating Manialink graphical elements
    DatabaseEngine : database abstraction layer
    RequestEngine : handling of GET variables and referers, creation of links and redirections
    SessionEngine : manipulation des variables de session
    LangEngine : internationalization
    MultipageList : page numbering helper
Some basic modules are also provided to help developpers making other modules:
  • Admin: secure authentication to make admin panels
    Posts: generic content management
    Auto Connect: forced user identification
The ideal working condition is to use an IDE (Integrated Dev Environment). I personnaly use PHPEclipse plugin for Eclipse, which provides code assist, code completion etc. For those of you who use plain text editors, I made a "cheat sheet": a wallpaper with a reminder of all the core classes with their public methods and properties.

There are two way to get the source code. You can either download the latest release from the project's website - this is the simplier - or you can checkout the latest revision from the SVN repository - if you now SVN, this is the ideal, checkout from trunk/manialib-example.
You can see the demo Manialink here : ManiaLib
Don't hesitate to post any feedback in this thread.

Re: ManiaLib, a lightweight & simple PHP framework for Mania

Posted: 21 Jul 2010, 20:12
by Xbody
Never heard of this project. :?:

Re: ManiaLib, a lightweight & simple PHP framework for Mania

Posted: 21 Jul 2010, 20:39
by w1lla
Heard of this project. too bad the .zip isnt updated but you can make real nice manialinks with them. ;)

Re: ManiaLib, a lightweight & simple PHP framework for Mania

Posted: 01 Sep 2010, 08:59
by gouxim
w1lla wrote:Heard of this project. too bad the .zip isnt updated but you can make real nice manialinks with them. ;)
A huge update of ManiaLib is actually planned. Farfa and I are working on this. We think it will be released somewhere in october. We'll try to make it as accessible as possible so people can get started with ManiaLib easily.

In any case, expirmented users can always checkout the source code from the svn to have the latest version :)

Re: ManiaLib, a lightweight & simple PHP framework for Mania

Posted: 01 Sep 2010, 19:21
by w1lla
Nice to hear an update is coming in October. Hope its good. Well like phpdoc its nice to see you guys are making documents and making controllers for some nice features. 8-)

Re: ManiaLib, a lightweight & simple PHP framework for Mania

Posted: 27 Oct 2010, 20:11
by w1lla
how far is a release for manialib?

Re: ManiaLib, a lightweight & simple PHP framework for Mania

Posted: 15 Nov 2010, 19:51
by gouxim

Re: ManiaLib, a lightweight & simple PHP framework for Mania

Posted: 15 Nov 2010, 20:30
by tcq
Looks like awesome work, keep it going.
Sadly i can't code php :(