phpBB 2.1/2.2 API

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
xanie
Registered User
Posts: 2
Joined: Thu Jun 24, 2004 2:54 pm

phpBB 2.1/2.2 API

Post by xanie »

The search function didn't work, and Google didn't turn up anything useful. So I figured I'd ask here.

At this time is the API inside of phpBB "stable". i.e., are various functions and class declarations planning on changing? Specificaly, functions and classes that deal with user authentication, cookie management, et al?

If not, I'll write all of my own functions to handle everything, but I would rather not reinvent the wheel.
User avatar
Techie-Micheal
Registered User
Posts: 566
Joined: Sun Oct 14, 2001 12:11 am

Re: phpBB 2.1/2.2 API

Post by Techie-Micheal »

No, nothing is stable at this point in time. Just the other day, a CVS commit was done to fix some issues with cookies.
xanie
Registered User
Posts: 2
Joined: Thu Jun 24, 2004 2:54 pm

Re: phpBB 2.1/2.2 API

Post by xanie »

I'm not really referring to the stability of the product, more of the stability of name spaces in terms of variables, functions, and classes.
User avatar
the_dan
Registered User
Posts: 700
Joined: Thu Apr 01, 2004 7:36 pm

Re: phpBB 2.1/2.2 API

Post by the_dan »

Thats what he means ;)
The code was changed to fix some problems - And could do so again in the future - Therefore, not stable :P

Dan
User avatar
{o}
Registered User
Posts: 90
Joined: Wed Mar 31, 2004 1:26 pm
Contact:

Re: phpBB 2.1/2.2 API

Post by {o} »

stability of the classes?
There will be classes: session, user, auth, template - these names are stable :P
User avatar
VxJasonxV
Registered User
Posts: 341
Joined: Sun Mar 02, 2003 2:51 pm
Location: Castle Rock, CO
Contact:

Re: phpBB 2.1/2.2 API

Post by VxJasonxV »

{o} wrote:There will be classes: session, user, auth, template - these names are stable :P
Are you sure?
"If You Support It, They Will Come."
"Construction"
User avatar
{o}
Registered User
Posts: 90
Joined: Wed Mar 31, 2004 1:26 pm
Contact:

Re: phpBB 2.1/2.2 API

Post by {o} »

Yes (at least templae and session). But I don't know if there will be any changes in names of properties and methods within them...
Graham
Registered User
Posts: 1304
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK

Re: phpBB 2.1/2.2 API

Post by Graham »

It seems likely that the class names will remain stable, but the methods of the class are another matter.

It is rather a lot of effort to change all the references to the name of something, but the last time I looked, there was at least one method with the comment along the lines of "Remove by late milestones".

I would personally suggest not trying to code using it until later on in the development cycle.
"So Long, and Thanks for All the Fish"

Graham
Eeek, a blog!
User avatar
upsTex
Registered User
Posts: 95
Joined: Thu Apr 22, 2004 11:58 pm
Location: The Netherlands

Re: phpBB 2.1/2.2 API

Post by upsTex »

No bug reports.
- upsTex
User avatar
chAos
Registered User
Posts: 259
Joined: Wed Jan 16, 2002 7:05 am

Re: phpBB 2.1/2.2 API

Post by chAos »

What xanie is asking about is whether or not that function names and class names are likely to change again. I'm not sure of the answer, you'll have to get a dev to answer that, but chances are they wont change, but dont quote me on that. :)
Post Reply