<?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, 19 Jun 2013 22:22:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Phillip Norton's Blog: Getting Started With PHP DocBlox]]></title>
      <guid>http://www.phpdeveloper.org/news/17708</guid>
      <link>http://www.phpdeveloper.org/news/17708</link>
      <description><![CDATA[<p>
In <a href="http://www.hashbangcode.com/blog/getting-started-php-docblox-624.html">this recent post</a> to his blog <i>Philip Norton</i> shows you how to get started with <a href="http://www.docblox-project.org/">DocBlox</a>, the "new defacto PHP class documentation generator" that recently announced it would be <a href="http://phpdeveloper.org/news/17686">merging with the phpDocumentor project</a> in version 2.
</p>
<blockquote>
Whereas PHPDocumentor would scan and generate all of the code in one go, DocBlox will scan the source code and generate a series of XML files based on the code it finds. It will then use these files to generate the API documentation in a number of different formats, although HTML is probably the most common.
</blockquote>
<p>
He points out a few packages that you need to have installed before continuing (PHP-XSL, Graphiz, PEAR) and the commands you'll need to get it installed via the <a href="http://pear.php.net">PEAR</a> installer. He shows the commands to generate the documentation, how to install different template types and set up a configuration XML file.
</p>]]></description>
      <pubDate>Wed, 21 Mar 2012 13:28:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: phpDocumentor Merges with DocBlox for phpDocumentor 2!]]></title>
      <guid>http://www.phpdeveloper.org/news/17686</guid>
      <link>http://www.phpdeveloper.org/news/17686</link>
      <description><![CDATA[<p>
As is mentioned in <a href="http://www.docblox-project.org/2012/03/docblox-is-unmasked-it-is-really-phpdocumentor-2/">this new post</a> to the DocBlox blog, there's been a major development between it and the phpDocumentor documentation generation tool - phpDocumentor 2 will be released soon, merging DocBlock and phpDocumentor into one tool!
</p>
<blockquote>
Announcing phpDocumentor 2 - the merging of the old (phpDocumentor) and the new (DocBlox). With the first alpha release of phpDocumentor (2.0.0a1), the new "Responsive" default template sports a new page layout, along with the useful layout improvements that the original DocBlox templates provided (which remain available) over the old phpDocumentor templates (which will retire with old phpDocumentor). Explore this new template at <a href="http://demo.phpdoc.org/Responsive/index.html.">http://demo.phpdoc.org/Responsive/index.html</a>.
</blockquote>
<p>
Users of the current phpDocumentor software (version 1.x) will need to upgrade their documentation and installations. If you'd like more information about the transition or just keep up with the latest on this exciting advancement, check out #phpdocumentor on Freenode IRC or follow <a href="http://twitter.com/phpdocumentor">@phpdocumentor</a> on Twitter.
</p>]]></description>
      <pubDate>Fri, 16 Mar 2012 07:58:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Codeception Blog: BDD Approach to Unit Testing with Codeception]]></title>
      <guid>http://www.phpdeveloper.org/news/17545</guid>
      <link>http://www.phpdeveloper.org/news/17545</link>
      <description><![CDATA[<p>
<i>Michael Bodnarchuk</i> passed along a new post on the Codeception site about using the tool <a href="http://codeception.com/02-15-2012/unit-testing.html">in a behavior-driven testing methodology</a>. This post is a follow up to <a href="http://codeception.com/01-20-2012/starting-acceptance.html">their previous one</a> covering acceptance testing.
</p>
<blockquote>
With BDD approach in Codeception, any test, even the unit test, is written as a scenario. By this scenario you declare what you are doing and what results you expect to see. In traditional xUnit scheme your test is just a piece of code that uses the method being tested. This piece of code becomes a mess when you test complex units depending on other classes or when you need to check data in a database, etc. Codeception always keeps your unit tests simple and readable.
</blockquote>
<p>
Sample code is included for a simple "User" model class that needs testing. Since the class only directly contains a "create" method, that's all they test - setting up a new user, calling "create" and checking to see if they exist. This basic test is modified slightly to handle the exceptions that might be thrown from the "create" method (when something happens like the user already exists) and checking the user's default role assertions. Plus, using <a href="http://codeception.com/02-14-2012/generators-release-1-0-3.html">this plugin</a> for DocBlox</a>, you can generate readable test documentation directly from the code.
</p>]]></description>
      <pubDate>Wed, 15 Feb 2012 10:22:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Selby's Blog: DocBlox Plugin For Sublime Text 2]]></title>
      <guid>http://www.phpdeveloper.org/news/17505</guid>
      <link>http://www.phpdeveloper.org/news/17505</link>
      <description><![CDATA[<p>
<i>Ben Selby</i> has <a href="http://www.soulbroken.co.uk/blog/2012/02/docblox-plugin-for-sublime-text-2/">released a Sublime Text 2 plugin</a> for the popular PHP-based documentation generation project <a href="http://www.docblox-project.org/">DocBlox</a>.
</p>
<blockquote>
It seems that the editor of the moment is Sublime Text 2 and sadly I have to tip my hat to Gary Rockett for showing it off to me one day.. Since that day, I've been a 100% convert. [...] So, I decided to peak into the <a href="https://github.com/stuartherbert/sublime-phpunit">PHPUnit [plugin from Stuart Herbert]</a> to see if I could create a <a href="http://www.docblox-project.org/">DocBlox</a> Plugin. It turns out you have to write Plugins in Python, which is interesting, since I know very little python. There seemed to be enough code there to get me going, so I now have a working <a href="https://github.com/benmatselby/sublime-docblox">DocBlox Plugin</a>.
</blockquote>
<p>
The result is a plugin that, once installed gives you a new context menu option to "Generate documentation" for the selected file. The console shows the progress of the build. You can get the plugin from <a href="http://wbond.net/sublime_packages/package_control">Package Control</a> or by <a href="https://github.com/benmatselby/sublime-docblox">grabbing it from github directly</a>.
</p>]]></description>
      <pubDate>Mon, 06 Feb 2012 15:39:34 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Introduction to PhpDoc]]></title>
      <guid>http://www.phpdeveloper.org/news/17370</guid>
      <link>http://www.phpdeveloper.org/news/17370</link>
      <description><![CDATA[<p>
On PHPMaster.com today there's a new post from <i>Moshe Teutsch</i> about <a href="http://phpmaster.com/introduction-to-phpdoc/">working with docblock comments</a> in PHP scripts and how to use the <a href="http://phpdoc.org">phpDocumentor</a> tool to generate the documentation from them.
</p>
<blockquote>
If you've ever tried to read code written by someone other than yourself (who hasn't?), you know it can be a daunting task. [...] PhpDoc, short for PhpDocumentor, is a powerful tool that allows you to easily document your code via specially formatted comments. [...] By using PhpDoc, you can make it easy for others (and yourself) to understand your code - weeks, months, and even years after you've written it.
</blockquote>
<p>
He introduces the concept of "docblocks" and includes several examples of how to comment things like packages, files, classes and functions/methods. Finally, he wraps up the post with an example of using the "phpdoc" command to run phpDocumentor and build the docs. In the comments, another tool is also suggested - <a href="http://docblox-project.org/">DocBlox</a>, a project that still parses the same docbloc syntax but does it in a much more memory efficient way (and is an actively maintained project).
</p>]]></description>
      <pubDate>Tue, 10 Jan 2012 10:07:26 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tales of a Coder: DocBlox - Pain Free Documentation]]></title>
      <guid>http://www.phpdeveloper.org/news/17195</guid>
      <link>http://www.phpdeveloper.org/news/17195</link>
      <description><![CDATA[<p>
On the Tales of a Coder blog there's a <a href="http://codertales.wordpress.com/2011/11/30/docblox-pain-free-documentation/">recent post about DocBlox</a>, an alternative to the usual <a href="http://www.phpdoc.org/">phpDocumentor</a> for generating automatic documentation, and how it made it "pain free" for her current project.
</p>
<blockquote>
Want to generate documentation for your PHP project, but keep putting it off? Can't be bothered wading thigh deep in documentation, screaming WHY WON'T IT WORK as you try to set it up? Look no further. DocBlox is pain free and you'll be up and running, literally in a few minutes.
</blockquote>
<p>
She includes a guide to getting the <a href="http://www.docblox-project.org/">latest DocBlox installed</a> and configured to work with your project. The configuration is a straight-forward XML file, so changing the settings to match your needs is easy (more on the config <a href="http://docs.docblox-project.org/Configuration.html">here</a>). Once this is configured, building your documentation is one command away. For more details on DocBlox, check out <a href="http://www.docblox-project.org/">the project's website</a>.
</p>]]></description>
      <pubDate>Thu, 01 Dec 2011 09:56:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: There's no reason not to switch to DocBlox]]></title>
      <guid>http://www.phpdeveloper.org/news/16806</guid>
      <link>http://www.phpdeveloper.org/news/16806</link>
      <description><![CDATA[<p>
On DZone.com there's a recent post from <i>Giorgio Sironi</i> sharing his opinion on what should be your choice of automatic documentation generation tools in your PHP app, that there's <a href="http://css.dzone.com/articles/theres-no-reason-not-switch">no reason not to switch to DocBlox</a>.
</p>
<blockquote>
<a href="http://twitter.com/_odino_">Alessandro Nadalin</a> signals these three options for Api documentation generation, the process of extracting Api informations on classes and methods from a folder full of source code: <a href="http://www.phpdoc.org/">phpDocumentor</a>, <a href="http://www.stack.nl/~dimitri/doxygen/">doxygen</a> and <a href="http://www.docblox-project.org/">DocBlox</a>. A PHP tool, faster than doxygen in implementing new features, and actively developed: these are the factors that made me choose DocBlox as my new default Api documentation mean.
</blockquote>
<p>
He covers the installation of the tool (from its PEAR channel), some of the features it comes with, a <a href="http://demo.docblox-project.org/default/">link to their demo</a> and some of his impressions after trying it out on his codebase.
</p>]]></description>
      <pubDate>Thu, 01 Sep 2011 13:35:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPDocumentor feedback]]></title>
      <guid>http://www.phpdeveloper.org/news/16686</guid>
      <link>http://www.phpdeveloper.org/news/16686</link>
      <description><![CDATA[<p>
As a follow up to his <a href="http://phpdeveloper.org/news/16638">previous post</a> about using DocBlock commenting and <a href="http://www.phpdoc.org/">phpDocumentor</a> for automatic project documentation generation, <i>Michelangelo van Dam</i> has posted <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects.html">a deeper look at DocBlox</a>, one of his previously mentioned alternatives.
</p>
<blockquote>
First of all, thank you all for the enormous feedback I got on my latest article on documentation of code. I got a lot of comments on the usage of <a href="http://www.phpdoc.org/">PHPDocumentor</a>. [...] I have to agree that [there are reasons] valid enough to step away from <a href="http://www.phpdoc.org/">PHPDocumentor</a> as a tool for documentation purposes and look for a better alternative. So I've investigated one tool most people have commented on or tweet-ed/facebook-ed/g+-ed on: <a href="http://www.docblox-project.org/">DocBlox</a>.
</blockquote>
<p>
He touches on the installation of the tool and mentions <a href="http://weierophinney.net/matthew/archives/265-Using-DocBlox.html">this tutorial</a> from <i>Matthew Weier O'Phinney</i> that guided him through the setup and use of DocBlox. He rand a few tests comparing phpDocumentor and DocBlox for the documentation generate and DocBlox came out <a href="http://2.bp.blogspot.com/--WIuSHOm8Mk/Tj7zto62KlI/AAAAAAAACwA/RWlyOg93XiU/s1600/Running+DocBlox.png">on</a> <a href="http://2.bp.blogspot.com/-hfEjzswrpD0/Tj7zuOswYkI/AAAAAAAACwE/FY8GLzZd-1o/s1600/Running+PHPDocumentor.png">top</a> when it came to runtime (and memory usage).
</p>]]></description>
      <pubDate>Mon, 08 Aug 2011 11:42:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Using DocBlox]]></title>
      <guid>http://www.phpdeveloper.org/news/16672</guid>
      <link>http://www.phpdeveloper.org/news/16672</link>
      <description><![CDATA[<p>
On his blog today <i>Matthew Weier O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/265-Using-DocBlox.html">a new post</a> looking at an alternative to some of the other PHPDoc-based documentation tools, <a href="http://docblox-project.org/">DocBlox</a>, a tool written in PHP.
</p>
<blockquote>
Until a few years ago, there were basically two tools you could use to generate API documentation in PHP: <a href="http://phpdocumentor.org/">phpDocumentor</a> and <a href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</a>. [...] phpDocumentor is practically unsupported at this time (though a small group of developers is working on a new version), and Doxygen has never had PHP as its primary concern. As such, a number of new projects are starting to emerge as replacements. 
</blockquote>
<p>
He introduces <a href="http://docblox-project.org/">DocBlox</a> as one of these alternatives and points out where you can get the latest version (from one of many sources including <a href="http://github.com/mvriel/docblox">github</a>, <a href="http://pear.docblox-project.org/">PEAR</a> or by just grabbing <a href="https://github.com/mvriel/Docblox/zipball/v0.12.2">a release</a>. He includes instructions on how to run the tool on your code, use it to identify missing docblock comments and how to use the class diagrams feature that gives a more visual sense of how things fit together. He also mentions changing the title of the output, using different templates and how it uses a local SQLite database to cache the parsed information about your code (making it simpler and faster to do updates in the future).
</p>]]></description>
      <pubDate>Thu, 04 Aug 2011 08:08:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Liip Blog: PHPDoc Compilers and the @inheritdoc]]></title>
      <guid>http://www.phpdeveloper.org/news/16632</guid>
      <link>http://www.phpdeveloper.org/news/16632</link>
      <description><![CDATA[<p>
On the Liip blog there's <a href="http://blog.liip.ch/archive/2011/07/26/phpdoc-compilers-and-inheritdoc.html">a new post</a> that compares some of the popular PHPDocumentor-formatted comments parsers. They're looking specifically at the support for interfaces, not just the usual classes and methods.
</p>
<blockquote>
The interfaces define the standard and are extensively documented. The implementation was built by copying the interfaces and implementing the methods. Now we have the documentation comments duplicated, which is a pain to maintain if we clarify or change anything in the interfaces documentation. [...] In PHP, there is a couple of doc compilers. While they basically all follow the same syntax as Java uses, none of them gets everything right unfortunately. 
</blockquote>
<p>
The four covered are <a href="http://peej.github.com/phpdoctor/">PhpDoctor</a>, <a href="http://www.docblox-project.org/">DocBlox</a>, <a href="http://www.phpdoc.org/">PHPDoc</a> and <a href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</a>. They look at things like namespace support, the inheritance information they generate and if it correctly uses the "@inheritDoc" tagging functionality.
</p>]]></description>
      <pubDate>Tue, 26 Jul 2011 09:29:06 -0500</pubDate>
    </item>
  </channel>
</rss>
