<?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>Wed, 22 May 2013 23:50:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Sherif Ramadan: Web Analytics with PHP and Google Visualization: Made Simple]]></title>
      <guid>http://www.phpdeveloper.org/news/18918</guid>
      <link>http://www.phpdeveloper.org/news/18918</link>
      <description><![CDATA[<p>
in <a href="http://sheriframadan.com/2012/12/web-analytics-with-php-and-google-visualization-made-simple/">this new post</a> to his site <i>Sherif Ramadan</i> shares a method for visualizing your website's visitor data with the help of the <a href="https://developers.google.com/chart/interactive/docs/reference">Google Visualization APIs</a> and some geolocation.
</p>
<blockquote>
<p>
The web is a place where everyone is in your backyard. This can be both a blessing and a curse. How do you know where your website traffic is coming from and how much of it there is? [...] How was traffic led to your website in the first place and why? How long do people stick around and what do they like the most about your site? These are all some of the many questions you can answer with web analytic software, but the real question is why would you want to answer these questions at all and what's the best way to look at the answer?
</p>
<p>
[...] If we look at a heat map it's easier to spot where the majority of our visitors and traffic are coming from, geographically. It also helps us understand that people visiting a virtual space can, and will, be physically located in different parts of the world.
</p>
</blockquote>
<p>
He includes the steps to recreate a map like the one <a href="http://sheriframadan.com/examples/geodata.html">included in this page</a> showing the current view statistics on his site. He uses a MySQL backend to store the GeoIP data and parses out the Apache "access_log" to get the IPs of the visiting users. He then runs these against the GeoIP data and passes this country data on to Google's visualization for handling. He also recommends using the tools offered by the <a href="https://www.google.com/webmasters/tools/">Google Webmaster Tools</a> to further enhance your introspection into your site's visitors.
</p>]]></description>
      <pubDate>Wed, 19 Dec 2012 12:38:47 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Pagination with CodeIgniter]]></title>
      <guid>http://www.phpdeveloper.org/news/17465</guid>
      <link>http://www.phpdeveloper.org/news/17465</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new tutorial showing you how to <a href="http://phpmaster.com/pagination-with-codeigniter/">handle simple pagination</a> in a popular PHP framework, <a href="http://codeigniter.com">CodeIgniter</a>.
</p>
<blockquote>
Pagination is particularly useful when you are coding an application that interfaces with a database. A large dataset might have hundreds of possible results for one query, and pagination creates a much nicer user experience. In this tutorial, I'll use CodeIgniter's pagination library to show you how you can create a paginated list of results from a MySQL database. Along the way, you'll also see how to fix a problem with the pagination links that the library might produce.
</blockquote>
<p>
He starts on the backend,  creating a model to work with Country information and includes a "fetch_countries" method to grab the limited/paged list. Next up is the controller with an "example1" method that looks to the URL to see what page it should be on. The view is simple enough - just outputting the results back without worrying about how many to show.
</p>]]></description>
      <pubDate>Mon, 30 Jan 2012 12:15:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ilia Alshanetsky's Blog: Domain Location Statistics]]></title>
      <guid>http://www.phpdeveloper.org/news/15603</guid>
      <link>http://www.phpdeveloper.org/news/15603</link>
      <description><![CDATA[<p>
<i>Ilia Alshanetsky</i> has started to gather more and more information about PHP usage on the web as a whole (that was <a href="http://phpadvent.org/2010/usage-statistics-by-ilia-alshanetsky">started here</a>) and <a href="http://ilia.ws/archives/234-Domain-Location-Statistics.html">has been extended</a> with some additional statistics he's done on the location of the domains he's collected.
</p>
<blockquote>
The first step of the process has been resolving all of these domains, which is now complete. The next step is fetching the server information, which began, but will take some time to finish. However, even from the domain revolving data there is a lot of useful data to be gleamed, which is what I am now publishing. My first focus was on the world-wide distribution on these TLDs, which at least for me held a few surprises.
</blockquote>
<p>
He includes a few graphs of the results he's found showing things like:
</p>
<ul>
<li>The US has the most domains hosted followed with less than half by Germany
<li>The overwhelming majority of the PHP domains are in the .com area
<li>In the US, the state with the highest number of PHP-powered domains was Arizona with Clifornia coming in second
</ul>
<p>
If you'd like something more interactive, he's also come up with <a href="http://ilia.ws/stats/world_map.php">a clickable world map</a> of the results for you to click around on.
</p>]]></description>
      <pubDate>Mon, 20 Dec 2010 12:15:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Init Marketing: Calendar of Open Source, IT, Industry-specific Events]]></title>
      <guid>http://www.phpdeveloper.org/news/12081</guid>
      <link>http://www.phpdeveloper.org/news/12081</link>
      <description><![CDATA[<p>
If you're looking for Open Source events to attend in your area (or just about anywhere around the world), check out <a href="http://www.initmarketing.com/about/events">this calendar</a> as provided by Init Marketing with a great listing of happenings in over fifteen countries around the world.
</p>
<blockquote>
Below calendar contains world-wide conferences and trade fairs related to Free and Open Source Software, IT and specific industries. It also shows events where you can meet with InitMarketing.
</blockquote>
<p>
Countries included in the list are Germany, the US, Japan, Italy, Australia, China and many more. If you have an event that's not on the list and you'd like to see added, leave them a comment <a href="http://www.initmarketing.com/about/events">on that page</a> and they'll get in contact with you.
</p>]]></description>
      <pubDate>Fri, 06 Mar 2009 11:13:06 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Using Code Igniter to Build an IP-to-Country Mapping Application]]></title>
      <guid>http://www.phpdeveloper.org/news/12016</guid>
      <link>http://www.phpdeveloper.org/news/12016</link>
      <description><![CDATA[<p>
DevShed finished off their tutorial series looking at mapping IPs to countries in a CodeIgniter application with <a href="http://www.devshed.com/c/a/PHP/Using-Code-Igniter-to-Build-an-IPtoCountry-Mapping-Application/">this new article</a> completing the application to provide a correct products list based on their location.
</p>
<blockquote>
In this final chapter of the series, I'll be discussing how to build multi-lingual web pages by combining the functionality brought by the "iptocountry" MySQL table that you learned in previous tutorials and the power of the Code Igniter PHP framework.
</blockquote>
<p>
Their database tables sort the prodcuts out with the three character country code they're associated with. The IP-to-country tables then help with the translation between the visitor's IP address and which products should be shown.
</p>]]></description>
      <pubDate>Wed, 25 Feb 2009 07:57:11 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building Sample Programs for an IP-to-country Mapping Application]]></title>
      <guid>http://www.phpdeveloper.org/news/11926</guid>
      <link>http://www.phpdeveloper.org/news/11926</link>
      <description><![CDATA[<p>
DevShed has posted the <a href="http://www.devshed.com/c/a/PHP/Building-Sample-Programs-for-an-iptocountry-Mapping-Application/">second part</a> of their series looking at an IP-to-Country mapping application, this time with a focus on building some simple applications to use the data inside.
</p>
<blockquote>
Building a web site that will be seated on a multi-lingual platform often requires developing an IP-to-country application that permits you to map users' IP addresses to their corresponding countries. [...] This database contains over 82,0000 records and allows you to map more than 3,200,000 IP addresses to their respective countries. This can be really handy for developing different IP-to-country applications with minor efforts.
</blockquote>
<p>
The review the <a href="http://www.phpdeveloper.org/news/11876">previous article</a> on making the database and move ahead to create a script that selects - based off the IP range - the country that address could be from.
</p>]]></description>
      <pubDate>Wed, 11 Feb 2009 08:44:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building an IP-to-Country Mapping Application with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11876</guid>
      <link>http://www.phpdeveloper.org/news/11876</link>
      <description><![CDATA[<p>
DevShed has launched a new four-article series today looking at <a href="http://www.devshed.com/c/a/PHP/Building-an-IP-to-Country-Mapping-Application-with-PHP/">resolving a user's IP to their country</a> via the database provided <a href="http://software77.net/cgi-bin/ip-country/geo-ip.pl">here</a>.
</p>
<blockquote>
If you have content in several different languages, your visitors probably speak several different languages as well. Wouldn't it be nice to serve them content from your site in their native language, based on the country from which they hail? You can, even if you're a small company, with an application that tells you a visitor's country based on their IP address. This four-part article series will show you how to build the application and incorporate it into your web site.
</blockquote>
<p>
They just get things set up in this first part of the series - grabbing the CSV file from <a href="http://software77.net/cgi-bin/ip-country/geo-ip.pl">the site</a>, creating the MySQL table to import it into and running a script to parse the CSV and push its data into the table.
</p>]]></description>
      <pubDate>Wed, 04 Feb 2009 08:47:30 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Toomas Romer's Blog: Case study: Is PHP embarrassingly slower than Java?]]></title>
      <guid>http://www.phpdeveloper.org/news/10755</guid>
      <link>http://www.phpdeveloper.org/news/10755</link>
      <description><![CDATA[<p>
In a <a href="http://dow.ngra.de/2008/08/04/optimizing-ip2c-php-implementation/">case study</a> posted to his blog, <i>Toomas Romer</i> wonders if a PHP script is embarrassingly slower than than its Java counterpart.
</p>
<blockquote>
The problem. The PHP implementation [of the <a href="http://firestats.cc/wiki/ip2c">IP2C library</a>] is a lot slower. Embarrassingly slower. Without any caching the Java version is able to do ~6000 queries per second. The PHP counterpart can push through ~850 queries. The implementations are the same. The stats provided by the author of the library are 8000 vs 1200. So about the same as my measurements.
</blockquote>
<p>
He details the script, showing <a href="http://dow.ngra.de/wp-content/uploads/2008/08/vanilla1.png">what parts</a> the script is taking up the most time on. A large part of the execution is tied up in IO and the fseek/fread and readShort/readInt functions take up a good chunk. 
</p>
<p>
He even tries removing the functions and making things a bit more streamlined. This helps, but still lags behind its Java brother. Check out <a href="http://dow.ngra.de/2008/08/04/optimizing-ip2c-php-implementation/">the post</a> for more statistics comparing the two.
</p>]]></description>
      <pubDate>Mon, 04 Aug 2008 12:02:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ivo Jansch's Blog: Small country, big in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10065</guid>
      <link>http://www.phpdeveloper.org/news/10065</link>
      <description><![CDATA[<p>
If you're in the area of The Netherlands and you're into PHP, consider yourself lucky - just look at <a href="http://www.jansch.nl/2008/04/27/small-country-big-in-php/">all the events</a> that <i>Ivo Jansch</i> mentions in one of his more recent blog entries:
</p>
<blockquote>
PHP is still growing in The Netherlands (according to nexen.net, 46% of Dutch domains use PHP). A good indicator of PHP's growth is the number of conferences and other events that are organized this year. [...] This year alone, there are already 6 major (>50) events; 3 done, 3 to go.
</blockquote>
<p>
Some of the events (like Dutch Joomla Days and the PHP Business Seminar) have already passed but there's still a chance to get in on a few others like <a href="http://www.kingsofcode.nl/">Kings of Code</a> and the <a href="http://www.phpconference.nl/">Dutch PHP Conference</a>.
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 12:03:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Launch of the PHP Professionals Directory]]></title>
      <guid>http://www.phpdeveloper.org/news/8996</guid>
      <link>http://www.phpdeveloper.org/news/8996</link>
      <description><![CDATA[<p>
In an effort to help employers/recruiters/etc find the PHP people they're looking for, the PHPClasses.org website has launched their <a href="http://www.phpclasses.org/professionals/">PHP Professionals Directory</a>:
</p>
<blockquote>
So, I thought to myself, instead of recommending people, I could provide a place where available PHP professionals looking for work could list. Then companies can look up the list of available professionals and contact them directly.
</blockquote>
<p>
Developers are divided first by country, then by name and have all the contact information you'd need (address, zip, location, phone) to get in contact with the developer. You can also <a href="http://www.phpclasses.org/professional_profile.html">add your own profile</a> to the directory to make it easier for others to find you.
</p>]]></description>
      <pubDate>Wed, 07 Nov 2007 14:47:00 -0600</pubDate>
    </item>
  </channel>
</rss>
