<?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>Sun, 19 May 2013 21:56:54 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Risner: Mobile Geolocation Apps with Windows Azure Websites Part 1: The PHP Code]]></title>
      <guid>http://www.phpdeveloper.org/news/18491</guid>
      <link>http://www.phpdeveloper.org/news/18491</link>
      <description><![CDATA[<p>
<i>Chris Risner</i> has posted the first part of his series looking at <a href="http://chrisrisner.com/Mobile-Geolocation-Apps-with-Windows-Azure-Websites-Part-1--The-PHP-Code">mobile geolocation in PHP-based Azure applications</a> as hosted on the Windows Azure service.
</p>
<blockquote>
The first article in this <a href="http://chrisrisner.com/Mobile-Geolocation-Apps-with-Windows-Azure-Websites">mini-series</a> on creating geolocation apps with the backend hosted in Windows Azure Websites is going to be a walkthrough of the PHP code that we'll host in Windows Azure.  The PHP site will be simple and expose just a few methods.  Prior to getting into the code for the service, we need to setup a new website in Windows Azure and set up our database. 
</blockquote>
<p>
He walks you through some of the initial steps to create the PHP side of things - setting up the website instance and database, downloading the <a href="http://silex.sensiolabs.org/">Silex</a> PHP framework and the PHP code to get process the latitude and longitude of the current user. Also included is code to help find "interesting" points near the user and code to allow the user to add their own.
</p>]]></description>
      <pubDate>Wed, 19 Sep 2012 08:14:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Vancouver Web Consultants Blog: Getting Time Zone from Latitude & Longitude]]></title>
      <guid>http://www.phpdeveloper.org/news/12483</guid>
      <link>http://www.phpdeveloper.org/news/12483</link>
      <description><![CDATA[<p>
On the Vancouver Web Consultants blog there's <a href="http://vancouverwebconsultants.com/getting-time-zone-from-latitude-longitude/">this new tutorial</a> about grabbing latitude and longitude information for a location and determining its current time zone from there.
</p>
<blockquote>
I was recently tasked with building an application that relied heavily on accurate time zone conversions. I, like many people I soon found out, thought there were just a handful of timezones and the usual select list would suffice. The deeper I looked into the problem, the deeper it got: the list above only shows a few time offsets from UTC, but it doesn't tell me, beyond a shadow of a doubt, exactly what time it is where the user is situated, nor can I rely on that time for calculations in the future. The fact is, here are a LOT of timezones in the world.
</blockquote>
<p>
He came across the <a href="http://us2.php.net/datetimezone">DateTimeZone class</a> PHP has to offer and was happy to see it met his needs. Unfortunately, users weren't always sure what timezone they were in, so he came up with a system combining <a href="http://code.google.com/apis/maps/">Google's Maps API</a> and <a href="http://www.geonames.org/export/web-services.html">GeoNames.org</a>. He includes the code for both the PHP and Javascript sides (the Javascript requires Mootools, but it could be easily adapted to any other Javascript libraries).
</p>]]></description>
      <pubDate>Fri, 08 May 2009 11:15:30 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: Geo Proximity Search with PHP, Python and SQL]]></title>
      <guid>http://www.phpdeveloper.org/news/11910</guid>
      <link>http://www.phpdeveloper.org/news/11910</link>
      <description><![CDATA[<p>
On the PHP::Impact blog, <i>Federico</i> takes a look at <a href="http://phpimpact.wordpress.com/2009/02/08/geo-proximity-search-with-php-python-and-sql/">finding geo-proximity</a> to a find a location on a map and plot it and find the distance to another point - all with the help of PHP, Python and SQL.
</p>
<blockquote>
Basically, what I'm doing is plotting a radius around a point on a map, which is defined by the distance between two points on the map given their latitudes and longitudes. To achieve this I'm using the <a href="http://en.wikipedia.org/wiki/Haversine_formula">Haversine</a> formula (spherical trigonometry). This equation is important in navigation, it gives great-circle distances between two points on a sphere from their longitudes and latitudes.
</blockquote>
<p>
Included in <a href="http://phpimpact.wordpress.com/2009/02/08/geo-proximity-search-with-php-python-and-sql/">the post</a> is the code for three different implementations - PHP, Python and SQL, all using that same formula.
</p>]]></description>
      <pubDate>Mon, 09 Feb 2009 10:28:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-GTK Community Site: World map of PHP-GTK developers]]></title>
      <guid>http://www.phpdeveloper.org/news/11828</guid>
      <link>http://www.phpdeveloper.org/news/11828</link>
      <description><![CDATA[<p>
The PHP-GTK Community site has <a href="http://php-gtk.eu/en/world-map-of-php-gtk-developers">launched a new service</a> to help PHP-GTKers out there find out other developers that might be in their area - a world map (based on Google maps) of other PHP-GTK developers around the world.
</p>
<blockquote>
I reviewed the coordinates given by existing members and noticed a good number had visibly inverted latitude and longitude; so I inverted them again to place them where it appeared to make more sense (are there really PHP-GTK devs in the middle of the pacific, or near the South pole ?). So you may want to double-check your coordinates to make sure the values are correct, because it's likely I've not found every error.
</blockquote>
<p>
He's also asking for the <A href="http://www.php-gtk.com.br/">Brasil PHP-GTK community</a> to include their information in the map as well as a request for anyone out there that might want to make a "prettier" icon for showing the developers on the map.
</p>]]></description>
      <pubDate>Wed, 28 Jan 2009 07:55:33 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Jones' Blog: Location Awareness With Oracle Spatial in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9863</guid>
      <link>http://www.phpdeveloper.org/news/9863</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> has <a href="http://blogs.oracle.com/opal/2008/03/27#a286">posted a script</a> to his blog today giving an example of how you can use the <a href="http://www.oracle.com/technology/products/spatial/index.html">Spatial functionality</a> of Oracle in a PHP application:
</p>
<blockquote>
Oracle Spatial is a powerful library for adding location awareness to applications. This script uses the core subset of Spatial, called Oracle Locator, which is included in all Oracle Database editions.
</blockquote>
<p>
<a href="http://blogs.oracle.com/opal/2008/03/27#a286">His example</a> connects to the database resource and makes a few example SQL queries: one that uses the sod_nn() function built in to the Spatial package to grab the store locations close to the customers, another that finds the latitude and longitude for a customer's information and a method for querying an object collection of locations in a given area.
</p>]]></description>
      <pubDate>Thu, 27 Mar 2008 07:50:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-GTK Community Site: Locating PHP-GTK developers]]></title>
      <guid>http://www.phpdeveloper.org/news/6816</guid>
      <link>http://www.phpdeveloper.org/news/6816</link>
      <description><![CDATA[<p>
In true tech fashion, the PHP-GTK Community Site is <a href="http://www.php-gtk.eu/site/nick-geo">offering a new feature</a> for the users (and viewers) of their site - a geolocation web service that helps you see locations of other site members.
</p>
<blockquote>
The site offers "geo-nick", a simplistic API to obtain this [latitude and longitude] information coupled with the optional IRC nick field, to allow any developer to create mashups showing community PHP-GTK developers, as identified by nickname (no actual name information is made available through this API) on a map.
</blockquote>
<p>
The <a href="http://www.php-gtk.eu/site/nick-geo">post includes</a> an example of how to use the API - what package to call and what the message should contain. The results are passed back in an array of nickname, lataitude, longitude. 
</p>
<p>
Piggybacking on this new service, they also <a href="http://www.php-gtk.eu/site/using-geo-nick">have a new tutorial</a> showing how to access and use this service from a simple PHP-GTK2 application. It just grabs the results and dumps them into a simple text area in a window.
</p>
]]></description>
      <pubDate>Mon, 04 Dec 2006 09:58:00 -0600</pubDate>
    </item>
  </channel>
</rss>
