<?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>Thu, 20 Jun 2013 02:05:51 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[ProDevTips: Sorting 2D-arrays in PHP - anectodes and reflections]]></title>
      <guid>http://www.phpdeveloper.org/news/9363</guid>
      <link>http://www.phpdeveloper.org/news/9363</link>
      <description><![CDATA[<p>
On the ProDevTips website today, there's <a href="http://www.prodevtips.com/2008/01/06/sorting-2d-arrays-in-php-anectodes-and-reflections/">a new article</a> looking at the sorting of arrays, specifically of the two- and three-dimensional sort. 
</p>
<blockquote>
One of the many problems with PHP that detractors are eager to point out is the fact that the language has thousands of global functions. Without the awesome CHM version of the PHP manual - finding your way in this jungle would be a mess. Simply finding a function like array_multisort is not trivial. And even if you find it, understanding it completely is not trivial either!
</blockquote>
<p>
Not quite finding what he needed in the <a href="http://www.php.net/array_multisort">array_multisort</a> function built into PHP, the author opts to create his own custom sorting function that make sorting 2D arrays simpler.
</p>]]></description>
      <pubDate>Mon, 07 Jan 2008 08:41:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Graphing Data with PHP/SWF Charts]]></title>
      <guid>http://www.phpdeveloper.org/news/9159</guid>
      <link>http://www.phpdeveloper.org/news/9159</link>
      <description><![CDATA[<p>
Developer.com has a <a href="http://www.developer.com/lang/php/article.php/3714046">new tutorial posted</a> today about using the <a href="http://www.maani.us/charts/index.php?menu=License">PHP/SWF</a> charting system to graph your data:
</p>
<blockquote>
In this tutorial, I'll introduce you to PHP/SWF Charts, a great solution for building PHP- and Flash-driven charts. PHP/SWF supports a wide variety of charting formats, including bar, candlestick, 3D columns, pie, 3D pie, and advanced charts such as scatter, polar, and composites. See the maani.us PHP/SWF gallery for a great compilation of examples.
</blockquote>
<p>
They focus mainly on a bar chart to keep things simple. They show how to install the software (dead easy) and how to create a simple first chart complete with a graphic to illustrate. Flat charts are nice, but they show some of the real power of the library by transforming it into a 3D bar graph, giving the columns some depth and all it really takes is changing the chart type.
</p>]]></description>
      <pubDate>Mon, 03 Dec 2007 11:14:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jakob Westhoff's Blog: It's alive - Image_3D live browser rendering]]></title>
      <guid>http://www.phpdeveloper.org/news/7559</guid>
      <link>http://www.phpdeveloper.org/news/7559</link>
      <description><![CDATA[<p>
There's plenty of 2D graphics libraries out there, some 3D ones as well, but that hasn't stopped <i>Jakob Westhoff</i> from <a href="http://westhoffswelt.de/blog/index.php?/archives/15-Its-alive-Image_3D-live-browser-rendering.html">creating his own driver</a> for the <a href="http://pear.php.net/Image_3d">Image_3d package</a> to allow for live 3D image browser rendering.
</p>
<blockquote>
<p>
Quite some time ago my friend <a href="http://kore-nordmann.de/">Kore Nordmann</a> had a talk at our local <a href="http://phpugdo.de/">PHP Usergroup</a> about 3D rendering techniques which was quite inspiring. Shortly after that talk I decided to write a simple 3D renderer. But, hey there are so many of them already out there, that I decided to do something more unusual. 
</p>
<p>
I just started over and began to write a ECMA Script based live 3D renderer for browsers which understand the new "canvas" tag. After some simple tests I realized that it would be quite cool to implement this as a driver for <a href="http://pear.php.net/Image_3d">Kore's Image_3D</a> package, which is entirely written in PHP. 
</p>
</blockquote>
<p>
Be sure to check out <a href="http://westhoffswelt.de/blog/index.php?/archives/15-Its-alive-Image_3D-live-browser-rendering.html">his post</a> to see what this new driver makes possible. There's an image complete with controls to rotate, zoom, turn of its axis and export to both the SVG and PNG formats. Definitely work checking out! 
</p>]]></description>
      <pubDate>Wed, 04 Apr 2007 08:32:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: 3D graphics in pure PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6665</guid>
      <link>http://www.phpdeveloper.org/news/6665</link>
      <description><![CDATA[<p>
As spotlighted by the folks over on PHPClasses.org, there's a developer, <i>L&aacute;szl&oacute; Zsidi</i>, who has contributed <a href="http://www.phpclasses.org/browse/author/283569.html">several packages</a> to the repository - including some that work to create 3D images with just the built-in functions PHP provides.
</p>
<blockquote>
He has developed several pure PHP components that implement impressive 3D animated graphics, like a 3D objects rendering engine, emulate a waving flag or the reflex of an image near a lake. The generated frames are combined into a single animated GIF with another pure PHP component also written by L&aacute;szl&oacute;. All these components were nominated to the PHP Programming Innovation Award for the evident creativity, demonstrating that PHP can be used for non-trivial software applications.
</blockquote>
<p>
Some of the libraries in the listing include:
<ul>
<li><a href="http://www.phpclasses.org/browse/package/3234.html">Animated GIF into images</a>
<li><a href="http://www.phpclasses.org/browse/package/3157.html">Image Flag Effect</a>
<li><a href="http://www.phpclasses.org/browse/package/3355.html">Text 3D</a>
<li><a href="http://www.phpclasses.org/browse/package/3358.html">FXLake effect</a>
<li><a href="http://www.phpclasses.org/browse/package/3364.html">Convex 3D</a>
</ul>
</p>]]></description>
      <pubDate>Wed, 08 Nov 2006 08:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Bit-Tech.net Formus:  PHP "raycaster" 3D renderer]]></title>
      <guid>http://www.phpdeveloper.org/news/5755</guid>
      <link>http://www.phpdeveloper.org/news/5755</link>
      <description><![CDATA[<p>
In an incredible example of PHP's flexibility, there's <a href="http://forums.bit-tech.net/showthread.php?t=116224">this example</a> of what it can do with the properly applied knowledge (and a little patience) - the creation of a 3D raytracer.
</p>
<blockquote>
<p>
I mentioned recently that I was looking for an interesting PHP project. This evening I remembered an idea I had a while ago to make a 3D renderer in PHP (and if anyone's tempted to ask - "because I can" ). I did a bit of reading on old 3D engines, as I didn't want something modern and slow, and found out that the "raycaster" rendering used in Wolfenstein 3D is ridiculously easy to implement.
</p>
<p>
A few hours later and it's up and running I've not run any proper speed tests yet, but the images load up pretty much instantaneously. I have a couple of ideas of what this could be used for, so watch this space.
</p>
</blockquote>
<p>
Screenshots are <a href="http://forums.bit-tech.net/showthread.php?t=116224">included in the post</a> as well as tons of comments from all about the web (it was also <a href="http://digg.com/programming/Really_Cool_3D_Rendering_with_PHP">linked on digg</a>). He hasn't released the source for it yet, but it'll still be an interesting project to keep an eye on. In the meantime, there's always <a href="http://kore-nordmann.de/home/3d_library_for_php">Kore Nordmann's Image_3D project</a> to look into.
</p>]]></description>
      <pubDate>Mon, 10 Jul 2006 06:02:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Paint 3-D images with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5139</guid>
      <link>http://www.phpdeveloper.org/news/5139</link>
      <description><![CDATA[The IBM developerWorks site has posted <a href="http://www-128.ibm.com/developerworks/opensource/edu/os-dw-os-php-3d.html?ca=drs-tp1406">a tutorial</a> covering the generation of 3D Images inside PHP - with the help of the <a href="http://pear.php.net/package/Image_3D">Image_3D</a> PEAR package, of course.
<p>
<quote>
<i>
PHP, a language originally intended for Web development, has been used for years to manage dynamic Web sites and database applications. Extensions to the language available through the PHP Extension and Application Repository (PEAR) have allowed developers to take the language in new and interesting directions. 
<p>
PEAR's Image_3D package is an object-oriented interface for creating three-dimensional (3-D) graphics in a variety of formats, including PNG and SVG, two image formats with increasing support by modern Web browsers. Find out how to use the Image_3D package, learn the limitations of using dynamic 3-D images, and investigate solutions and practical applications of 3-D graphics.
</i>
</quote>
<p>
You'll have to log in to get at the actual tutorial, but it's full of good info and code to get you started. You'll need a bit of knowledge of object-oriented programming to really get a handle on it, and a shell prompt (Windows or Linux) will be needed to run some of the examples.]]></description>
      <pubDate>Mon, 10 Apr 2006 07:33:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Davey's Blog: Creating 3D with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4276</guid>
      <link>http://www.phpdeveloper.org/news/4276</link>
      <description><![CDATA[In <a href="http://www.corephp.co.uk/archives/15-Creating-3D-with-PHP.html">this new post</a> from <i>Richard Davey</i> today, there's a look at the latest release of a pretty cool little PEAR package - <a href="http://pear.php.net/package/Image_3D">Image_3D</a>.
<p>
<quote>
<i>
On November 7th Tobias Schlitt and Kore Nordmann released a new alpha of their Image 3D Pear package. The aim of this package is to create 3D objects using nothing but native PHP code (no extensions). The objects can be rendered out via GD, SVG or ASCII. With a number of built-in primitives such as a cube, sphere, cone and torus, plus the ability to place coloured lights, alter object transparency and import 3DS files, this is one powerful package! I gave it a quick run through today and am reporting back on my findings.
</i>
</quote>
<p>
Apparently "a quick run through" involves not only looking at what the package is all about, but also <a href="http://www.corephp.co.uk/archives/15-Creating-3D-with-PHP.html">how to use it</a> (just short of an actual code-based tutorial). He talks about some of the basics that are built in (like cones, spheres, 3D text) and a cool addition that will let you integrate other objects you've created - the ability to import files from 3D Studio...]]></description>
      <pubDate>Fri, 11 Nov 2005 05:35:44 -0600</pubDate>
    </item>
  </channel>
</rss>
