<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 08 Aug 2008 16:16:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Location for PHP Vikinger]]></title>
      <guid>http://www.phpdeveloper.org/news/10097</guid>
      <link>http://www.phpdeveloper.org/news/10097</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> <a href="http://derickrethans.nl/location_for_php_vikinger.php">points out</a> that the group putting on the <a href="http://phpvikinger.org/">PHP Vikinger</a> conference has found a home:
</p>
<blockquote>
It will be at one of the old factory buildings here at <a href="http://www.klosteroya.no/">Klosteroya</a>, close to <a href="http://ez.no/">eZ Systems'</a> offices. The room has about space for 80 people, and has a nice view over the river southwards.
</blockquote>
<p>
You can find out more about there conference on the <a href="http://phpvikinger.org/">main website</a>, including <a href="http://phpvikinger.org/register">reserving your spot</a> to attend.
</p>]]></description>
      <pubDate>Fri, 02 May 2008 09:32:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: How To HTTP-PUT A File Somewhere Using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9415</guid>
      <link>http://www.phpdeveloper.org/news/9415</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> has a <a href="http://www.littlehart.net/atthekeyboard/2008/01/11/how-to-http-put-a-file-somewhere-using-php/">quick post</a> (but complete with code) about moving files around a bit differently than the norm - it's his method for using a HTTP-PUT to push a file out.
</p>
<blockquote>
A work project is getting close to 0.1 status. Pretty underwhelming, I know. One of the last 'milestones' for 0.1 is taking these wonderful XML documents that my web app creates and sends them to an internal web service. This web service will accept documents via an HTTP PUT [...] so I dug around a bit on the web and put together some code.
</blockquote>
<p>
The code is a generic "publish" method that opens a stream to the remote server and, in a binary format, pushes the contents of a local file and parses out the response.
</p>]]></description>
      <pubDate>Mon, 14 Jan 2008 09:39:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPWomen.org: php|tek 2007 Wrap Up]]></title>
      <guid>http://www.phpdeveloper.org/news/8284</guid>
      <link>http://www.phpdeveloper.org/news/8284</link>
      <description><![CDATA[<p>
For anyone that didn't get to attend this year's php|tek in Chicago, you really should check out <a href="http://www.phpwomen.org/wordpress/2007/07/18/phptek-2007-wrap-up/">this (very through) summary</a> written up over on the PHPWomen.org site by <i>Elizabeth Smith</i>.
</p>
<blockquote>
Chicago Illinois is the third largest city in the United States. It's also very different in personality and structure than other large US cities, taking on the rather laid back flavor that defines the Midwest, but also has the dubious distinction of being the "travel hub" of the United States. The size and travel possibilities made it an ideal location for the php|tek conference in May, hosted by php|architect.
</blockquote>
<p>
She <a href="http://www.phpwomen.org/wordpress/2007/07/18/phptek-2007-wrap-up/">talks about</a> the speakers, the location, people she met, keynotes (<i>Rasmus</i> and <i>Marco Tabini</i>) and tons of other great info. Check out the full post for the complete story.
</p>]]></description>
      <pubDate>Thu, 19 Jul 2007 07:13:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHPLondon Conference 2007 Announced]]></title>
      <guid>http://www.phpdeveloper.org/news/7123</guid>
      <link>http://www.phpdeveloper.org/news/7123</link>
      <description><![CDATA[<p>
As posted <a href="http://www.onekay.com/blog/archives/20">here by <i>Marc Gear</i></a> and <a href="http://blog.joshuaeichorn.com/archives/2007/01/18/phplondon-conference-2007/">here by <i>Joshua Eichorn</i></a>, the PHPLondon <a href="http://www.phplondon.org/wiki/HomePage">user group</a> has announced their <a href="http://www.phpconference.co.uk/">PHPLondon Conference 2007</a>.
</p>
<blockquote>
<p>
After the success of 2006 the PHP London user group are staging the UK's second dedicated PHP conference on Friday, 23 February 2007.
</p>
<p>
The conference will be a low-cost event, costing &pound;50 for the day. There is a 230 person limit on the number of delegates we can support, and demand is expected to be high, so make sure you register early. If you'd like to register, check out <a href="http://www.phpconference.co.uk/">the conference's main page</a> and enter your information today.
</p>
</blockquote>
<p>
The conference will be happening over at the Keyworth Centre and speakers attending include <i>Cal Evans</i> (of Zend's Developer Zone), <i>Simon Laws (of IBM) and <i>Rasmus Lerdorf</i> (creator of PHP).
</p>]]></description>
      <pubDate>Thu, 18 Jan 2007 13:21:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jason Palmer's Blog: Zip Code To Location]]></title>
      <guid>http://www.phpdeveloper.org/news/6986</guid>
      <link>http://www.phpdeveloper.org/news/6986</link>
      <description><![CDATA[<p>
On his blog today, <i>Jason Palmer</i> has a <a href="http://www.jason-palmer.com/tutorials/zip-code-to-location">handy bit of code</a> to help you validate zip codes on your website (using the Codebump.com web service).
</p>
<blockquote>
Using the CodeBump GeoPlaces Web Service I constructed a function which takes three parameters (zip, city, state) and does a case-insensitive comparison to make sure that the given zip code matches the city and state. Upon verification the function will return true. Otherwise, it returns false.
</blockquote>
<p>
The <a href="http://www.jason-palmer.com/tutorials/zip-code-to-location">simple code</a> is about 35 lines long and grabs and parses out the information with a combination of an fopen and converting the results into an XML element.
</p>]]></description>
      <pubDate>Thu, 28 Dec 2006 11:22:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexander Netkachev's Blog: About Eclipse PHP IDE php.ini location]]></title>
      <guid>http://www.phpdeveloper.org/news/6966</guid>
      <link>http://www.phpdeveloper.org/news/6966</link>
      <description><![CDATA[<p>
In <a href="http://www.alexatnet.com/Blog/Index/2006-12-23/about-eclipse-php-ide-php-ini-location">this new entry</a> on his blog, <i>Alexander Netkachev</i> shares a hint for those PHP IDE Eclipse users out there frustrated with php.ini issues.
</p>
<blockquote>
 You may notice that the IDE does not load options specified in the php.ini and this makes customizing extensions impossible. I run into this problem today and looked over the source code of PHP plugin for it.
</blockquote>
<p>
The solution he found was in <a href="http://dev.eclipse.org/viewcvs/indextools.cgi/org.eclipse.php.core/src/org/eclipse/php/core/phpIni/IniModifier.java">an update he found</a> to one of the Java files, pointing it to the correct location. Changing this changes the default setting for the editor.
</p>]]></description>
      <pubDate>Tue, 26 Dec 2006 10:46:17 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: How to organize your CakePHP App's Javascript?]]></title>
      <guid>http://www.phpdeveloper.org/news/6479</guid>
      <link>http://www.phpdeveloper.org/news/6479</link>
      <description><![CDATA[<p>
In his <a href="http://www.thinkingphp.org/2006/10/10/how-to-organize-your-cakephp-apps-javascript/">newest blog post</a>, <i>Felix Geisendorfer</i> stars up a discussion on where Javascript should live in your CakePHP application.
</p>
<blockquote>
<p>
What I actually want to start a discussion about, is how one should go about organizing his custom JS code, especially when working with CakePHP. In my early JS days I used to have one or more JS files with a plain list of functions. Most of the time I ended up with ugly spagetti code, so I decided to change my approach. 
</p>
<p>
Right now I use the JS version of a globally available Singleton that always has a sub-object called Behaviors that contains a variable amount of functions to be executed when the DOM is ready. The main advantage of this approach is that you can organize your applications functionality in hierarchies, while not having to worry about scoping issues.
</p>
</blockquote>
<p>
He <a href="http://www.thinkingphp.org/2006/10/10/how-to-organize-your-cakephp-apps-javascript/">also talks</a> about one of his current favorite Javascript libraries - <a href="http://jquery.com/">JQuery</a> - and demonstrates a way he uses to integrate it in with his application (in a Singleton style).
</p>
<p>
His is just one way to do it, though, and he's asking for suggestions of other ways to do it. Have one? <a href="http://www.thinkingphp.org/2006/10/10/how-to-organize-your-cakephp-apps-javascript/">post it now</a>!
</p>]]></description>
      <pubDate>Wed, 11 Oct 2006 13:06:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Site News: Got a job you want the Community to know about? Let us post it!]]></title>
      <guid>http://www.phpdeveloper.org/news/6225</guid>
      <link>http://www.phpdeveloper.org/news/6225</link>
      <description><![CDATA[<p>
Here on PHPDeveloper.org, we're always trying to do whatever we can to help out the PHP community, so to further that effort we're going to start posting a weekly "jobs roundup" of the job information we recieve. There won't be a charge and it can be anything from contract jobs out to permenant positions anywhere in the world (hooray for the internet!).
</p>
<p>
Now, on to what we need from you - we'd prefer the information to be as concise as possible. Cut and paste of a full listing isn't the way to go here. We'd prefer the summary of the position with a link to more details.
</p>
<p>
Here's the key info we'd like:
<ul>
<li>Company Name
<li>Position title
<li>Position location
<li>Summary description of the position
<li>A link to more information on it (on Monster, Hotjobs, your site, etc.)
</ul>
Other information included along with the request might me truncated or modified slightly to fit within these guidelines.
</p>
<p>
To submit your job information, send it along to <a href="malto:jobs@phpdeveloper.org">jobs@phpdeveloper.org</a> and we'll get it posted and include the phrase "JOB POSTING" somewhere in the subject line. Since this will start off as a weekly thing, you'll need to wait until Friday to see the information show up.
</p>]]></description>
      <pubDate>Fri, 08 Sep 2006 07:50:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jacob Santos' Blog: Global Functions and How to Not Use Them]]></title>
      <guid>http://www.phpdeveloper.org/news/5979</guid>
      <link>http://www.phpdeveloper.org/news/5979</link>
      <description><![CDATA[<p>
In his <a href="http://www.santosj.name/?p=274">latest post</a>, <i>Jacob Santos</i> talks about global functions and some of the dangers behind using them in your code (as per his own experience debugging with them in place).
</p>
<blockquote>
When I develop in PHP and code functions, I always either place them in a file or place them at the top of the script. Well, this is more about C++ and how I totally freaked out my teacher, by breaking his paradigm of thought. You see, you can have a definition of a function at the top of the page and then code the body of the function later.
</blockquote>
<p>
He <a href="http://www.santosj.name/?p=274">soon discovered</a> his problem in debugging the script - he was too used to having the global functions at the top (as in C++) and not mixed in with the code - or at the bottom of the script. 
</p>
<blockquote>
If there is something at least somewhat common about popular scripts that people use and extend, is that the functions are placed in organized manner. Reforming otherwise is a bitch and I remember rewriting the entire script anyway. You can't reform when you can't reuse anything.
</blockquote>]]></description>
      <pubDate>Tue, 08 Aug 2006 06:26:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The OC Food Review Blog: Notes on implementing location based search (part 2 of 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/5734</guid>
      <link>http://www.phpdeveloper.org/news/5734</link>
      <description><![CDATA[<p>
<i>Rahim Sonawalla</i> has posted <a href="http://blog.ocfoodreview.com/2006/06/30/notes-on-implementing-location-based-search-part-2-of-2/">part two</a> of his series on The OC Food Review blog covering the creation of a location-based search using geocoding.
</p>
<blockquote>
We got geocoding out of the way in the first part, so now it's time to talk distances. To figure out how far apart two places are, we could use the traditional method of calculating distances between two points, but that damn Columbus didn't fall off into the Twighlight Zone when he passed the horizon. Turns out the Earth isn't flat, go figure. Oh, and since it isn't flat, assuming that it is will cause your numbers to be off when calculating distances using normal geometry-sometimes by miles.
</blockquote>
<p>
He <a href="http://blog.ocfoodreview.com/2006/06/30/notes-on-implementing-location-based-search-part-2-of-2">links to</a> a <a href="http://mathforum.org/library/drmath/view/51833.html">formula</a> for finding the difference when the distances are short as well as a <a href="http://wantingseed.com/sprout/2003/06/10/distance-between-two-points-on-earth/">PHP implementation</a> of the Haversine formula when the distances get long.
<p>
He <a href="http://blog.ocfoodreview.com/2006/06/30/notes-on-implementing-location-based-search-part-2-of-2">combines this new knowledge</a> with the information already obtained by the geocoding in the <a href="http://www.phpdeveloper.org/news/5727">first part</a> and a SQL database to help narrow down the items in the list. Then, for each of those, he compares the latitude and longitudes to get the difference between them (in miles).
</p>]]></description>
      <pubDate>Fri, 30 Jun 2006 12:05:41 -0500</pubDate>
    </item>
  </channel>
</rss>
