PHPDeveloper.org http://www.phpdeveloper.org Up-to-the Minute PHP News, views and community en-us Thu, 15 May 2008 00:09:09 -0500 30 <![CDATA[The Bakery: New Tutorials, News and Helpers Posted]]> http://www.phpdeveloper.org/news/10186 http://www.phpdeveloper.org/news/10186 Several new tutorials, components, news and helpers have been posted to The Bakery, the CakePHP community site lately. Here's a sampling:

Check out The Bakery for more great CakePHP-related goodness.

]]>
Wed, 14 May 2008 14:31:52 -0500
<![CDATA[IBM developerWorks: Build Web services with PHP in Eclipse]]> http://www.phpdeveloper.org/news/10185 http://www.phpdeveloper.org/news/10185 The IBM developerWorks website has a new tutorial posted showing how to create a web service with the combination of PHP and the Eclipse IDE.

Learn how to build Web services in PHP using the PHP Development Tools plug-in in Eclipse Europa. Become familiar with the PDT project, and learn how to create and deploy useful PHP projects, learn about the philosophy behind contract-first development, and understand the basic parts that make up a Web Services Description Language (WSDL) file.

You'll have to register/sign in to get to it. They give an introduction to the PHP Development Tools for Eclipse, creating a WSDL file visually in the IDE and integrating it all to work with your Eclipse front-end.

]]>
Wed, 14 May 2008 13:46:50 -0500
<![CDATA[Brian Moon's Blog: PHP session cookie refresh]]> http://www.phpdeveloper.org/news/10184 http://www.phpdeveloper.org/news/10184 Brian Moon has posted a tip (and a bit of code) he's worked up to help make a users cookies last a bit longer than they were originally designed to:

When you start a session, if the user had no cookie, they get a new session id and they get a cookie. You can configure that cookie to last for n seconds via php.ini or session_cookie_set_params(). But, and this is a HUGE but for me, that cookie will expire in n seconds no matter what.

His method provides a way to extend the life of the cookies currently set for the domain by changing the time to live through a series of ini_get calls wrapped in a setcookie() call.

]]>
Wed, 14 May 2008 12:51:02 -0500
<![CDATA[Sebastian Bergmann's Blog: Dutch PHP TestFest]]> http://www.phpdeveloper.org/news/10183 http://www.phpdeveloper.org/news/10183 For those that weren't able to make it, Sebastian Bergmann has posted a short summary of what went on at the Dutch PHP usergroup's TestFest 2008 event.

I arrived shortly after noon, just in time for the start of the test fest at 12:30. After a short introduction to PHPT, we started writing tests for the Reflection API. We managed to write 37 tests with 10 people in 4 hours.

You can find out more about the user group on their website including meeting times, locations and links to other great PHP resources.

]]>
Wed, 14 May 2008 12:01:08 -0500
<![CDATA[Stoyan Stefanov's Blog: www vs no-www and cookies]]> http://www.phpdeveloper.org/news/10182 http://www.phpdeveloper.org/news/10182 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.

]]>
Wed, 14 May 2008 11:18:39 -0500
<![CDATA[Theo Schlossnagle's Blog: BWPUG Meetup Reminder]]> http://www.phpdeveloper.org/news/10181 http://www.phpdeveloper.org/news/10181 Those PHP developers that live around the Columbia, MD area might want to drop in to the PHP user group meeting that Theo Schlossnagle mentions on his blog today:

Just a friendly reminder that we'll be having our first meetup [on 05.14.2008] as planned. I thought as a good kick-off we could all collaboratively share what we do with PostgreSQL. We'll start off with a whirlwind tour of how OmniTI uses PotsgreSQL, taking a brief look at ZFS, DTrace and large datasets.

The event will be happening here and will start at about 6:30pm.

]]>
Wed, 14 May 2008 10:25:38 -0500
<![CDATA[Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 8: Create/Add Blog Entries (HTMLPurifier)]]> http://www.phpdeveloper.org/news/10180 http://www.phpdeveloper.org/news/10180 Padraic Brady has posted part eight of his series guiding you through his construction of Zend Framework-based blogging software:

In Part 8 of the ongoing saga describing how to build a real world blog application using the Zend Framework we finally reach the point at which we concentrate on blog entries. At the end of this Part, we will be able to create and edit entries in preparation for Part 9 when we will explore displaying them to the world!

In this part, he shows how to add in the Entry controller with an Add action inside (and what code goes in them). He makes a Zend_Form extended form and throws in some validation, a use of HTMLPurifier and the code to push these entries into your database.

]]>
Wed, 14 May 2008 09:34:34 -0500
<![CDATA[Debuggable Blog: CakePHP 1.2 Stable! Come and help]]> http://www.phpdeveloper.org/news/10178 http://www.phpdeveloper.org/news/10178 Felix Geisendorfer has posted an announcement to the Debuggable blog about the upcoming stable release of the next major version of the CakePHP framework, version 1.2.

The CakePHP team is gearing up to finally push out a stable 1.2 release! If you are following the trac timeline you can see that everybody is putting in huge amounts of work to fix bugs and get everything stable.

He suggests a few ways to get involved in helping to push this release out the door like writing test cases, showing how to replicate bugs and help out the documentation team with their efforts to keep the manual up to date.

]]>
Wed, 14 May 2008 08:48:06 -0500
<![CDATA[Zend Developer Zone: SourceForge Uses Zend Framework to Implement OpenID]]> http://www.phpdeveloper.org/news/10177 http://www.phpdeveloper.org/news/10177 The Zend Developer Zone has come across an interesting face about the SourceForge website - it uses the Zend Framework to add OpenID functionality to its pages.

According to the press release from SF about their OpenID support:

OpenID is getting tremendous traction and we're happy to be jumping into it. it's bringing us back in touch with fresh web (2.0) technology. [...] We've spent the past couple weeks on it - integrating the Zend Framework OpenID component into our site code. we like the framework as a whole and I personally hope to use more of it in the future.

There might be a few kinks in the process, so if you're seeing issues with your OpenID working on their site, check out the FAQ they've posted to help.

]]>
Wed, 14 May 2008 07:51:31 -0500
<![CDATA[Community News: Latest Releases from PHPClasses.org]]> http://www.phpdeveloper.org/news/10179 http://www.phpdeveloper.org/news/10179
  • Form PDF
  • Email Parser
  • PHP Universal Feed Parser
  • pg_email
  • Debug system
  • Valid Markup
  • Number to Turkish text
  • Gerar Tabela Semanticamente Correta
  • QXML
  • Slide Show
  • io_dz
  • Login and DB classes quick start
  • Drevo Export ]]> Wed, 14 May 2008 07:07:13 -0500