ManiaLib 1.0 beta

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

Moderator: NADEO

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

ManiaLib 1.0 beta

Post by gouxim » 15 Nov 2010, 19:49

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: 1276
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLib 1.0 beta

Post by Knutselmaaster » 15 Nov 2010, 22:35

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: 859
Joined: 15 Jun 2010, 11:19
Contact:

Re: ManiaLib 1.0 beta

Post by fastforza » 16 Nov 2010, 03:09

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: 7
Joined: 10 Jan 2011, 18:14

Re: ManiaLib 1.0 beta

Post by adrimania » 03 Mar 2011, 18:57

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: 1188
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 1.0 beta

Post by gouxim » 09 Mar 2011, 17:51

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: 7
Joined: 10 Jan 2011, 18:14

Re: ManiaLib 1.0 beta

Post by adrimania » 11 Mar 2011, 19:19

Yeah, thanks, I had forgotten to look at the cheat-sheet :D

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

Re: ManiaLib 1.0 beta

Post by gouxim » 11 Mar 2011, 19:57

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: 1276
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLib 1.0 beta

Post by Knutselmaaster » 11 Mar 2011, 20:22

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: 1188
Joined: 14 Jun 2010, 17:20

Re: ManiaLib 1.0 beta

Post by gouxim » 11 Mar 2011, 20:41

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: 2717
Joined: 15 Jun 2010, 11:02

Re: ManiaLib 1.0 beta

Post by tcq » 11 Mar 2011, 20:43

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 1 guest