ManiaLib 1.0 beta

Open source, lightweight PHP framework for Manialink and Web development.

Moderator: NADEO

User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

ManiaLib 1.0 beta

Post by gouxim »

Hi,

Today we are releasing ManiaLib 1.0 beta !

Why a beta? While the code is stable, the documentation is still light, therefore the package is better made for experienced developers.

You just need to download the package, unzip it, and follow the instructions of the Readme.

To get the latest version: http://manialib.com

To see the API reference: http://api.manialib.com

To see the demo manialink: ManiaLib

Have fun, and don't hesitate to give us your feedback !
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLib 1.0 beta

Post by Knutselmaaster »

Thank you!
I have been told that now it is possible to sell tags directly on a ManiaLink, that is really a big advantage for my tagshop.
Instead of using a messaging system and asking the customer to pay me first, before they receive the tag they will be able to choose one and buy it right away. :D
User avatar
fastforza
Posts: 850
Joined: 15 Jun 2010, 11:19
Contact:

Re: ManiaLib 1.0 beta

Post by fastforza »

Fantastic guys! Will take a look at this as soon as possible! 8-)
Mania Exchange - Share your maps!

ASUS Maximus IV GENE Z / i7 2600K 3.40Ghz QC / 16GB G.Skill Ripjaws DDR3 / GTX 560 Ti

Need technical help for ManiaPlanet? Click here. :)
User avatar
adrimania
Posts: 6
Joined: 10 Jan 2011, 18:14

Re: ManiaLib 1.0 beta

Post by adrimania »

Hey guys,

I'm coding a little manialink (first with WampServer :mrgreen: ), and I can't find how to use addplayerid ?

I watched http://api.manialib.com/ManiaLib/GUIToo ... ddPlayerId and http://api.manialib.com/__filesource/fs ... .html#a297 but still can't find :cry:

OOP is very abstract for me, so i apologize for my question which i'm sure is very simple :)

Thanks.
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 1.0 beta

Post by gouxim »

Hey,

You can use it like that:

Code: Select all

$ui = new Label();
$ui->setText('Some label with a link');
$ui->setManialink('http://mymanialink.com/page');
$ui->addPlayerId();
$ui->save();
Hope it helps
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
adrimania
Posts: 6
Joined: 10 Jan 2011, 18:14

Re: ManiaLib 1.0 beta

Post by adrimania »

Yeah, thanks, I had forgotten to look at the cheat-sheet :D
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 1.0 beta

Post by gouxim »

If it's not already the case, you should consider using an IDE. I strongly suggest Eclipse PDT which is IMO the best free php IDE (well, even the best PHP IDE...). http://www.eclipse.org/pdt/

One of the most useful feature is the autocompletion.

Let's say you write:

Code: Select all

$ui = new Label();
$ui->
If your cursor is just after the ">", you can press CTRL-SPACE and you'll have all the availble methods for the Label class. Pretty damn usefull, especially when working with a full OO architecture.

And it also has real-time PHP parsing that helps you keep track of stupid errors like a forgotten ";"...
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLib 1.0 beta

Post by Knutselmaaster »

Aseco gave me the link to that program, it is a very nice and complete program, but a bit overwhelming too for a semi noob like me.
I still don't understand most of the functionality.
User avatar
gouxim
Nadeo
Nadeo
Posts: 1186
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 1.0 beta

Post by gouxim »

I agree with you. But believe me, you will be glad that you did in a while.

It's like going from Paint to Photoshop :D
Please do not PM for support. Instead, create a thread so that everyone can contribute or benefit from the answer! 8-)
tcq
Posts: 2645
Joined: 15 Jun 2010, 11:02

Re: ManiaLib 1.0 beta

Post by tcq »

Eclipse is really awesome, gives you stuff like auto formating, usage of test units, a nice debugger and i guess the same counts if you use it with php (used it a lot for java).
And asmentioned, the autocomplete is one of the best things for fast programming.
Post Reply

Return to “ManiaLib”

Who is online

Users browsing this forum: No registered users and 2 guests