Forward-compatible development and the trunk

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
freejoe76
Registered User
Posts: 3
Joined: Thu Feb 07, 2008 5:57 pm
Location: Denver, Colorado
Contact:

Forward-compatible development and the trunk

Post by freejoe76 »

Hi all,

I'm in the early-middle stages of upgrading a phpbb2 forum to phpbb3.0 ( http://neighbors.denverpost.com ). I'm not big on going through this process again, thus, I'm making this install as "forward compatible" as possible.

This isn't easy, because I built some functionality into the phpbb2 core that I'd like to replicate in phpbb3 (things like turning the registration process into a one-pager, automatically logging members in after they register, writing topics to a flat javascript file for inclusion on another site, etc. etc. etc.).

I did have phpbb3.0 downloaded and added to a subversion repository I keep for the site. Then I saw you guys put phpbb3 on subversion too.

So, I'm wondering, is using the trunk version of phpbb3 the best way to keep as "forward-compatible" as possible? I'm not thinking it is (just ran a diff on the trunk vs. the phpbb3 on your download page)... so, well, is there any other better way to keep from having to significantly re-factor with every new release?

Joe
Senior Developer, The Denver Post
phpbb3 board: http://neighbors.denverpost.com/forums.php
phpbb3-generated most-commented lists: http://www.denverpost.com/commented

User avatar
Prince of area51
Registered User
Posts: 133
Joined: Mon Jun 27, 2005 8:46 pm
Location: Manchester, UK
Contact:

Re: Forward-compatible development and the trunk

Post by Prince of area51 »

Its never recommended to use the development (SVN) version in a live environment. When a new (and stable) release (phpBB 3.2.x) will be available, there would be an upgrade for it as well.

And I really don't think that a lot of functionality of the code would be changed for newer release of phpBB 3.x. So, as long as you keep everything >= PHP 5, things would be fine. Obviously, some of your added code might not work but you would have to do edits here and there to make the your own written code compatible with the new phpBB code.

User avatar
Techie-Micheal
Registered User
Posts: 566
Joined: Sun Oct 14, 2001 12:11 am

Re: Forward-compatible development and the trunk

Post by Techie-Micheal »

By definition, the trunk is not stable. phpBB uses the branches and tags model in SVN to flag different releases. However, the branches get committed to to update that version.

Post Reply