 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Stoyan Stefanov's Blog: www vs no-www and cookies
by Chris Cornutt May 14, 2008 @ 11:18:39
Stoyan Stefanov has come up against one of the frustrations of web development involving cookies - problems caused by the switch from a "www." in the host to none. He's come up with a test to show you how cookies are set and where you can access them from.
One of the implications of following the rule is related to the whole www vs no-www question. Basically you should always use www if you're planning to use any other sub-domains and you want them cookie-free. This is because you have no way to set a cookie only to the top-level domain.
His code sets cookies for the ".phpied.com", "phpied.com" and "www.phpied.com" domains. Since the domains without the "www" offer a bit broader range of possible matches, he recommends that if you're ever going to use any kind of subdomain, you'll want to use the more broad cookie to cover it.
voice your opinion now!
cookie hostname test board coverage
DevShed: Developing a Discussion Forum in PHP with Recursion (Part 3)
by Chris Cornutt May 15, 2006 @ 11:44:01
On DevShed today, they've posted this new tutorial continuing their "recursion in PHP" series - "Developing a Discussion Forum in PHP with Recursion".
After covering in detail how to define recursive method and functions, the question is: what comes next? Luckily, there's vast terrain to explore with reference to using recursion in PHP. As I said in previous articles of this series, recursion can be used in cases where a specific tree structure or a linked list needs to be navigated, in order to display, add, delete or edit its values. It's exactly for that reason that this last article will be focused on building an extensible discussion forum, which precisely uses a tree structure (implemented on a single MySQL database table) for displaying forum messages and adding new posts.
Using what they've taught in the first two parts of the series, they put it to good use, giving you a step-by-step guide to a simple recursive forum. They start with the database structure (always a good thing) and work out from there, creating the "ThreadProcessor" class and fetch functionality to grab the thread's contents. They also include a bit of functionality to create threads as well. It's not much more than that, so don't expect too much, but it is a great place to start.
voice your opinion now!
php recursion forum message board part3 fetch view php recursion forum message board part3 fetch view
Community News: Mambo Lead Developer Quits
by Chris Cornutt May 08, 2006 @ 09:42:39
According to this post on his blog today, one of the board memebers from the Mambo project, Martin N Brampton is formally leaving his position.
I now feel it necessary to resign from the Board of the Mambo Foundation with immediate effect. Since joining the Board, a number of minor irregularities have been evident, and not all of them have been rectified even though I have sought to raise them. It is apparent that early decisions were taken by exchange of email and no records were kept. Present banking arrangements breach the Foundation's rules.
In terms of fundamental principles, there is a considerable concern in my mind that the Board is not informing itself about the members wishes, and not making decisions that fully take account of their interests. I see this as a breach of trust.
He goes on to talk about some of the ongoing issues that the Board faced, including misinformation about trademark issues and their change to allow the membership of the Foundation to suggest rule changes.
As the majority decisions being made by the Board conflict with my understanding of those obligations, I cannot continue as a Board member any longer. As there was no resolution to appoint me to the Board, I am unsure how you will handle my resignation. I will remain a member of the Foundation and continue with my work in Mambo development.
For the complete story, check out this official release...
voice your opinion now!
php mambo lead developer quit board bad decisions php mambo lead developer quit board bad decisions
|
Community Events
Don't see your event here? Let us know!
|