Re: PunBB 1.2 - What's to come

zaher wrote:

>SQLite support

good but

is that mean depend on PHP5, i hope no?

No, it doesn't depend on PHP5. However, SQLite is bundled with PHP5, so if you do have PHP5, you most likely have SQLite support.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

77

Re: PunBB 1.2 - What's to come

because most of HOST providers not upgrade to PHP5.
But i like to punbb support SQLite for my project (Offline Articles) not named yet.

If your people come crazy, you will not need to your mind any more.

Re: PunBB 1.2 - What's to come

In a couple of months, it is quite likely that the majority of hosts will have upgraded to PHP5.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

79

Re: PunBB 1.2 - What's to come

Paul wrote:
Andy wrote:

Any chance of a screenshot?

http://www.post21.co.uk/punpics/index.png
http://www.post21.co.uk/punpics/viewtopic.png
http://www.post21.co.uk/punpics/register.png

For those who are wondering. The index page has one table only and the other two pages have no tables at all.

I for see some problems with the conversion to XHTML (Body: 5px margin, Forum 100% width), also i think the ability to integrate into CMS and other project will be MUCH more difficult then a HTML 4.01 design.

While i do agree that a better CSS design is a must, im not sure this was the path to choose.

...since i see from the screens that a forum is running, is it possible to get a private screening of what the future holds from a design standpoin (i wont signup, i just want to view source and concider the future of punbb in my current, and future projects)t? (shayne[AT]mars-project[DOT]com)

*also i think the scroll bars on the quotes suck, im hoping thats just a CSS preset div with overflow that can be removed*

80

Re: PunBB 1.2 - What's to come

Rickard wrote:

In a couple of months, it is quite likely that the majority of hosts will have upgraded to PHP5.

I doubt this.  I work for one of these hosts, and while i do agree that php5 is the way to go, from a business standpoint of "if it aint broke dont fix it", im imagining a very slow adoption of php5.  Take a look at the stats of Apache 1 vs. Apache 2, or even Windows 2000 vs. Windows 2003.

My company is doing the "wait and see" and probably adopt php5 when it hits 5.1 or is declared stable (not by Zend, but by somebody who isnt making money peddling their warez)

Re: PunBB 1.2 - What's to come

shayne wrote:
Rickard wrote:

In a couple of months, it is quite likely that the majority of hosts will have upgraded to PHP5.

I doubt this.  I work for one of these hosts, and while i do agree that php5 is the way to go, from a business standpoint of "if it aint broke dont fix it", im imagining a very slow adoption of php5.  Take a look at the stats of Apache 1 vs. Apache 2, or even Windows 2000 vs. Windows 2003.

My company is doing the "wait and see" and probably adopt php5 when it hits 5.1 or is declared stable (not by Zend, but by somebody who isnt making money peddling their warez)

Well, yes. Hosting companies will of couse be hesitant to upgrade when their current installation is working without problems, but 5.0 differs from previous upgrades in that it offers lots of new functionality, not just bug fixes and a new function here and there. I believe this, together with the fact that customers are much more demanding these days, will speed up the process.

I also think it differs quite a lot from country to country. I don't know of a single serious Swedish hosting company that runs anything prior to 4.3.0.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

82

Re: PunBB 1.2 - What's to come

Rickard wrote:

Well, yes. Hosting companies will of couse be hesitant to upgrade when their current installation is working without problems, but 5.0 differs from previous upgrades in that it offers lots of new functionality, not just bug fixes and a new function here and there. I believe this, together with the fact that customers are much more demanding these days, will speed up the process.

I also think it differs quite a lot from country to country. I don't know of a single serious Swedish hosting company that runs anything prior to 4.3.0.

Bug fixes?  I think bug "introductions" would be better wording smile, while I do agree that it does offer a lot more functionality (if you code in OOP), but its not the second coming by any means, if anything php5, is what php4 should have been to begin with.

I still dont think you will see much in terms of upgrading in say the next...year.  Your example of Swedish hosts running 4.3.0 seems normal to me concidering they are all just bug fixes on the 4.x branch, no worries about things breaking, unlick a dramatic shift in technology.

consider...

http://bugs.php.net/bug.php?id=29132
http://bugs.php.net/search.php?search_f … p;phpver=5

..time will tell.

THough, i think the jump to MySQL 5.X, or 4.1.X is a much more important feature upgrade then phps move to version 5

(perhaps we outta move this conversation to another topic wink

83

Re: PunBB 1.2 - What's to come

shayne wrote:

I for see some problems with the conversion to XHTML (Body: 5px margin, Forum 100% width), also i think the ability to integrate into CMS and other project will be MUCH more difficult then a HTML 4.01 design.

I don't get it. Why should it be more difficult. The best of the current generation CMS systems and almost all of the blogs are XHTML/CSS driven. In any case, properly written HTML 4.01 and XHTML are essentially the same. I could set the doctype to HTML 4.01 and it would validate fine. If you mean a move away from tables thats another mater. I've nothing against tables personally but why use them when there is something lighter, quicker, easier to code and more accessible available. Using a table for the message box when an H2 and a P would do the job seems like overkill.

shayne wrote:

While i do agree that a better CSS design is a must, im not sure this was the path to choose.

What are you worried about in particular. I'm open to suggestions.

shayne wrote:

...since i see from the screens that a forum is running, is it possible to get a private screening of what the future holds from a design standpoin (i wont signup, i just want to view source and concider the future of punbb in my current, and future projects)t? (shayne[AT]mars-project[DOT]com)

Soon.

shayne wrote:

*also i think the scroll bars on the quotes suck, im hoping thats just a CSS preset div with overflow that can be removed*

The problem is that while the current systm works fine if PunBB is alone on the page it's a real problem if PunBb is sitting in a two or three column layout as it may well be if you are integrating with a CMS or blog. That leaves you with four choices; 1. wrap all wide posts i.e destory the code functionality, 2, display code in a different window, 3, cut it off with overflow hidden, 4, scroll it with overflow auto.  I chose the fourth option.  I'm not in love with it myself, it's a right royal pain to get right.  If you can think of a better idea I would love to hear it. My first option would have been to have code display as it does now but the box containing the code would float over any surrounding content not push it aside. I could only get it to work in one browser at a time.

BTW. Why did you use a spacer graphic on your site?
<div class="space"><!-- empty --></div>
.space {height: whatever}

84 (edited by shayne 2004-07-26 04:47)

Re: PunBB 1.2 - What's to come

*id quote, but it would be huge*

..perhaps im just a little CSS/Design retarded smile  I do like the idea of an extremely customizable and modular forum system and im anctious to see the results (hopefully sooner then later wink

I agree with your logic in the quoting system.  Im not a fan of it because i hate scrolling to the "side", while scrolling down is fine, i guess i will have to see it in action to make a real judgement on it., but i do agree that at times the quoting on a forum can get way out of hand *the way you have done it is the perfect way, well thought out*

BTW. Why did you use a spacer graphic on your site?

Customizable sizes smile  While your div system would work, i perfer...

function spacer($width, $height){
print "<img src=\"spacer.gif\" width=\"".$width."\" height=\"".$height."\">";
}

(though im not sure height is a supported attribute anymore)...while i suppose...

function spacer($width, $height){
print "<div style=\"width:".$width."; height:".$height."\"><!-- empty --></div>";
}

..i think the image system just looks a bunch neater code wise then an assload of useless div tags spread about.  Though i will reserve judgement till i see the final product smile

...but one quick note, can you give me a sneak peak at your EXCELLENT container code (those nice borders around the options on the register screenshot)?

Im glad that Rickard, and yourself are intelligent and passionate enough to defend your stances with some good comments.  Having spent the better part of the last few hours scanning through document after document and example after example, im sure that a solid XHTML 1.0 strict forum would be something rather impressive.

Re: PunBB 1.2 - What's to come

shayne wrote:

Bug fixes?  I think bug "introductions" would be better wording :)

So all alterations in the code has lead to the introduction of new bugs? I have no idea what you are trying to say. Of couse new bugs are introduced when old bugs are fixed. This is hardly anything PHP-specific.

shayne wrote:

while I do agree that it does offer a lot more functionality (if you code in OOP), but its not the second coming by any means, if anything php5, is what php4 should have been to begin with.

I can't see what that has to do with anything, but sure, PHP5 might be what PHP4 should have been all along. I still think PHP4 is one of the best scripting languages for the web.

shayne wrote:

I still dont think you will see much in terms of upgrading in say the next...year.  Your example of Swedish hosts running 4.3.0 seems normal to me concidering they are all just bug fixes on the 4.x branch, no worries about things breaking, unlick a dramatic shift in technology.

We'll see. I don't consider PHP5 such a huge upgrade and I don't think the Swedish web hosts will do either. I have yet to encounter a piece of code I've written that hasn't work in 5.0.

Sure, there are lots of bugs, but most of them are quite uncommon and hard to replicate. Then there are also bugs such as this one:

"shallow __clone copy behavior not documented in any place on php website"

Calling PHP5 unstable because it's website lacks documentation on a very seldomly used feature of the OO model is hardly fair.

shayne wrote:

THough, i think the jump to MySQL 5.X, or 4.1.X is a much more important feature upgrade then phps move to version 5

I disagree. PHP5 will allow people to write object oriented programs in PHP. Something that was basically impossible with PHP4 (mainly due to the inability to do real encapsulation). I agree that the upgrade to MySQL 4.1 will be extremely important in the long run (because of the Unicode support), but 5.0 pretty much adds only stored procedures. SP:s are nice, but not that nice.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

86

Re: PunBB 1.2 - What's to come

shayne: The container code is is just the fieldset tag. The nice rounded corners are just IE6's default display of fieldsets.

<fieldset>
<legend>Blah Blah</legend>
<label>Username</label><br />
<input />
</fieldset>

The spacer div was an example. I'v just used margins to seperate elements so no spacers at all.

87

Re: PunBB 1.2 - What's to come

PHP5: Not the second coming. It is if your interested in XML.

88

Re: PunBB 1.2 - What's to come

Paul wrote:

shayne: The container code is is just the fieldset tag. The nice rounded corners are just IE6's default display of fieldsets.

<fieldset>
<legend>Blah Blah</legend>
<label>Username</label><br />
<input />
</fieldset>

The spacer div was an example. I'v just used margins to seperate elements so no spacers at all.

You learn something new everyday.  Most impressive, even works in Firefox.

Paul wrote:

PHP5: Not the second coming. It is if your interested in XML.

You got me here smile

Rickard wrote:

We'll see. I don't consider PHP5 such a huge upgrade and I don't think the Swedish web hosts will do either. I have yet to encounter a piece of code I've written that hasn't work in 5.0.

I keep getting fatal exception errors, but its spradic, like sometimes i get it, then i will go for a day or 2, then bam, its showing up again, probably just my install (i havent tried 5.0 yet, just the first 2 RCs)

Rickard wrote:

I disagree. PHP5 will allow people to write object oriented programs in PHP. Something that was basically impossible with PHP4 (mainly due to the inability to do real encapsulation). I agree that the upgrade to MySQL 4.1 will be extremely important in the long run (because of the Unicode support), but 5.0 pretty much adds only stored procedures. SP:s are nice, but not that nice.

Stored procs are evil smile  They tend to marry you to a server, having worked for a company who sells contract management software that sells for $500K+ (clients include Microsoft, HP, Blizzard), i can tell ya that they cause more problems then they are worth.  Im talking even SUBSELECTS!!! triggers and functions would be excellent as well.  Ive used MSSQL for sooooooo long, that i miss the more advanced features,

Re: PunBB 1.2 - What's to come

shayne wrote:

I keep getting fatal exception errors, but its spradic, like sometimes i get it, then i will go for a day or 2, then bam, its showing up again, probably just my install (i havent tried 5.0 yet, just the first 2 RCs)

Thats odd. Are you running Apache 1.3 or 2.0?

shayne wrote:

Stored procs are evil :)  They tend to marry you to a server, having worked for a company who sells contract management software that sells for $500K+ (clients include Microsoft, HP, Blizzard), i can tell ya that they cause more problems then they are worth.

How is that? Stored procs have the advantage of separating database logic from actual code. If anything, I would say triggers are a pain in the butt. At least during development.

shayne wrote:

Im talking even SUBSELECTS!!! triggers and functions would be excellent as well.  Ive used MSSQL for sooooooo long, that i miss the more advanced features,

Functions would be nice, I agree. However, I don't think subselects are the holy grail. Pretty much all queries that involve subselects can be executed with the aid of some creative JOINs instead. The results is almost always faster. Subselects have a tendency to make developers lazy :)

"Programming is like sex: one mistake and you have to support it for the rest of your life."

90

Re: PunBB 1.2 - What's to come

Rickard wrote:

Thats odd. Are you running Apache 1.3 or 2.0?

Apache 2, as well as IIS4 (i think, whatever is on Windows2000 Server)

Rickard wrote:

Stored procs have the advantage of separating database logic from actual code.

This is VERY true, dont get me wrong, i perfer having 50% of my code in SQL, since its normally way faster, however from experiances a DB layer similar to what ipb (invision) does for its version 2.0, is the best bet.  It allows complex database changes to be easily mirrored and altered in one location (rather then having to rebuild your stored procedures, not to mention manage them)

91

Re: PunBB 1.2 - What's to come

shayne wrote:

"wait and see"

right, that is my in principles

Rickard wrote:

SP:s are nice, but not that nice

Stored procedures not good as like Triggers and "Forign key" especially when write plugin system or MOD
when you delete a forum you must delete all its topic, there is a plugin (or MOD) added new table and need delete all record in that table,
it's hard to modify code when you can add trigger(Forign Key) on table

the Stored procedures advantage is running in server but when you code PHP is also in same server the Stored procedures lost this advantage.

Rickard wrote:

Subselects have a tendency to make developers lazy

i agree, mysql support JOIN in DELETE statment so not need Subselects.

Rickard wrote:

PHP5 will allow people to write object oriented programs in PHP. Something that was basically impossible with PHP4

is mean that new features like function override etc... ?

If your people come crazy, you will not need to your mind any more.

Re: PunBB 1.2 - What's to come

zaher wrote:

Stored procedures not good as like Triggers and "Forign key" especially when write plugin system or MOD
when you delete a forum you must delete all its topic, there is a plugin (or MOD) added new table and need delete all record in that table,
it's hard to modify code when you can add trigger(Forign Key) on table

What you described above is a feature of foreign key support (cascading delete). MySQL already has that (not in MyIsam tables though).

zaher wrote:
Rickard wrote:

PHP5 will allow people to write object oriented programs in PHP. Something that was basically impossible with PHP4

is mean that new features like function override etc... ?

It means PHP5 has a completely new object model. Here's more info on what has changed.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

93 (edited by zaher 2004-07-26 22:47)

Re: PunBB 1.2 - What's to come

not just (cascading delete), i meant like increase post count (Ranks) in a trigger

If your people come crazy, you will not need to your mind any more.

Re: PunBB 1.2 - What's to come

zaher wrote:

not just (cascading delete), i meant like increase post count (Ranks) in a trigger

Ah, I see. I'm not a big fan of triggers because it's very easy to lose control over what you're doing. Triggers do things "behind your back". I guess it's a matter of taste.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: PunBB 1.2 - What's to come

Someone asked a question about register globals on page 3, havn't been able to find this answer though.

So... are they on or off? smile

Re: PunBB 1.2 - What's to come

What question?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: PunBB 1.2 - What's to come

deusiah wrote:

are they on or off? smile

lol wink

Re: PunBB 1.2 - What's to come

deusiah wrote:
deusiah wrote:

are they on or off? smile

lol wink


As far I know the punBB works with regiter globals off, it used $_GET and this kind of thing... another thing it's if your server has te register globals on or off.

Re: PunBB 1.2 - What's to come

Well I know its server dependant lol, I was just asking if its coded for register_globals off so thanks for the answer wink

100

Re: PunBB 1.2 - What's to come

Ah, I see. Well, Juan.Llanos answered the question. PunBB does not require register_globals to be enabled. Any script that requires register_globals today should be shunned.

"Programming is like sex: one mistake and you have to support it for the rest of your life."