<?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>Sat, 25 May 2013 19:37:20 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Say Hello to Boris: A Better REPL for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19397</guid>
      <link>http://www.phpdeveloper.org/news/19397</link>
      <description><![CDATA[<p>
On PHPMaster.com today <i>Shameer C</i> has a new tutorial <a href="http://phpmaster.com/say-hello-to-boris-a-better-repl-for-php/">introducing you to Boris</a>, a REPL (read-eval-print loop tool) that's a bit more enhanced than the basic PHP interactive shell.
</p>
<blockquote>
As web developers, we know the importance of the JavaScript console provided by the browser in testing out code snippets. We don't need to write an entire HTML page and JavaScript code just to verify the functioning or logic of a small routine we wrote. Instead, we simply run the expressions in the console and immediately see the results. Similarly, a REPL (Read-Eval-Print Loop) is the console of a programming language in which we can write code line-by-line and see what it does. [...] PHP's REPL is very good in what it does, although it does have some limitations. [...] And so, Boris tries to solve these problems and other concerns as well. 
</blockquote>
<p>
He walks you through the installation (via a git clone and, later, through Composer) and shows how to run it as well as some sample output. He also shows how to make a custom command-line Boris runner and how to embed it into your application. His example of a tool that would benefit from this is a command-line web service client using Boris and Guzzle.
</p>]]></description>
      <pubDate>Tue, 02 Apr 2013 10:34:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Wojciech Sznapka: Export colored Behat scenarios to PDF]]></title>
      <guid>http://www.phpdeveloper.org/news/18439</guid>
      <link>http://www.phpdeveloper.org/news/18439</link>
      <description><![CDATA[<p>
<i>Wojciech Sznapka</i> has shares his technique for creating <a href="http://blog.sznapka.pl/export-colored-behat-scenarios-to-pdf/">colorized exports of Behat tests</a> for use in PDF files:
</p>
<blockquote>
Behat scenarios are one of the best ways to describe system. UML Use Cases or tons of pages in SRS documents are fine, but hard to understand from the begining, and even harder to maintain in the future. Behat eases this process and also gives opportunity to automate requirements verification. To write Behat scenarios you need a text editor. I've picked my favourite - Vim, which highlights *.feature files syntax. But business people mostly don't use Vim, so I need to figure a way, to expose scenarios in easy and pleasant way.
</blockquote>
<p>
His solution involves setting up some printing options in vim to export the tests as a Postscript file, setting the "colorscheme" to the default setting so the colors will be retained. The result is exported (via the "hardcopy" command) and can be converted into a PDF (with a <a href="http://blog.sznapka.pl/wp-content/uploads/2012/09/system_requirements_example1.png">result like this</a>).
</p>]]></description>
      <pubDate>Tue, 04 Sep 2012 09:42:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP and Java: Using Java Print Service with Zend Server Community Edition]]></title>
      <guid>http://www.phpdeveloper.org/news/12753</guid>
      <link>http://www.phpdeveloper.org/news/12753</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today there's <a href="http://devzone.zend.com/article/4776-PHP-and-Java-Using-Java-Print-Service-with-Zend-Server-Community-Edition">a new tutorial</a> looking at combining the Zend Server (Community Edition) with the Java Print Service to make printing in your applications (something PHP's not very good at) simpler.
</p>
<blockquote>
What if you still need to have printing support in your PHP application? With <a href="http://www.zend.com/en/products/server/">Zend Server</a>, Zend's integrated PHP application stack, the answer might be not what you were expecting. Use the PHP Java Bridge, available in both the <a href="http://www.zend.com/community/zend-server-ce">community</a> and <a href="http://www.zend.com/en/products/server/">commercial</a> editions of Zend Server.
</blockquote>
<p>
Their method combines Java code with some native PHP code to create a "printer" and point your scripts to it. Various options and configuration file information are included as well as two scripts - one to make a simple "one image" document and another to make a more complex PDF containing an interactive form.
</p>]]></description>
      <pubDate>Thu, 25 Jun 2009 11:18:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Interview with Marco Tabini about php|architect Updates]]></title>
      <guid>http://www.phpdeveloper.org/news/11106</guid>
      <link>http://www.phpdeveloper.org/news/11106</link>
      <description><![CDATA[<p>
The <a href="http://www.phparch.com">php|architect</a> brand is going through a major overhaul with a new website,
improvements to the magazine and a few other changes around the company. I caught up with <i>Marco Tabini</i> (CEO of MTA) 
to ask him a few questions about it all:
</p>
<hr/>
<p><b>Q: Tell me some about the update/restructuring (like what prompted the change)</b></p>
<p>
<b>A:</b> As of December 2008, php|architect will enter its sixth year of publication. Much has changed within the PHP 
community - and in our company'"since we launched our magazine, and we felt that it was time to ensure that our brand 
and our flagship product were up-to-date with the market they serve.
</p>
<p>
The process of change actually started earlier this summer, when we launched our new line of training courses - the 
first truly comprehensive training program designed specifically for PHP developers. Our brand identity and the magazine 
were the next logical targets - particularly when you consider how long they have been around and how many people they 
reach every month.
</p>
<p>
In addition, one problem that we have always had with the magazine has been its publication schedule - we initially 
created php|architect as a PDF-only publication, and since we've switched to the print format we've been struggling with 
the management of our publication timelines. The unfortunate reality is that postal services throughout the world sometimes 
take a *really* long time to deliver third-class mail and, historically. we have never done as good a job of taking that 
into account as we could'"something that we intend to fix with this relaunch.
</p>
<p>
Finally, our aim with php|architect has always been to create a resource capable of providing the PHP community with the 
educational tools and knowledge needed by professionals who work and operate in world-class, enterprise-level environments. 
We felt that our current price point and distribution strategy had moved away from this core goal, and that a major 
adjustment was needed to bring us back on track.
</p>
<p><b>Q: What does this mean for current readers/subscribers?</b></p>
<p>
<b>A:</b> A lot of good things! First of all, the cost of a subscription goes down to as low as $29.99 for twelve issues - and that 
includes both the print *and* the PDF versions of the magazine. Naturally, we're going to make good on all our current 
subscribers and extend their subscriptions based on the cost of the magazine when they signed up for it - thus, most people 
should see their remaining issue counts go up considerably at no extra cost, and new subscribers will be able to finally 
get access to the magazine at a very reasonable price. 
</p>
<p>
In addition, our current subscribers (as well as the new ones!) will enjoy better delivery times, and all the advantages 
that come with the new format.
</p>

<p><b>Q: What all is involved in the change? Are there any changes to the magazine(s)?</b></p>
<p>
<b>A:</b> Much of the work that is involved in the relaunch of our activities will go on behind the scenes, but visitors to our 
websites will note lots of changes over the coming months'"starting with a minor redesign of our site to accommodate the 
new logo and brand identity, as well as the new pricing and subscription strategy for the magazine.
</p>
<p>
Starting with the January issue, we are targeting a 45-day window for shipment of the magazine'"meaning that the print 
copies of the January issue, for example, will be mailed out to subscribers around the beginning of December - thus ensuring 
more prompt delivery in everybody's mailboxes. In addition, the entire magazine will switch to full-colour printing 
throughout - thus providing a richer experience for our users and a more challenging and fun environment for us to develop 
our work in. We will continue to support the PDF version using our popular DRM-free distribution and personalization system, 
and try to synchronize the arrival of the print issue with the release of the PDF file as closely as possible.
</p>
<p>
Also for the first time, we are publishing our editorial calendar for all of 2009. This will help readers know what's 
coming, advertisers better plan their campaigns and authors draw inspiration for their writing activities.
</p>
<p><b>Q: Will there be new things available immediately after the change?</b>
<p>
Once the initial brand relaunch is complete, we are planning to re-engineer our site to provide a smoother shopping 
experience and better account management facilities. Since we relaunched our website almost a year ago, our web-based 
sales have more than doubled, and our back-end infrastructure has handled the growth without any problems. On the 
front-end side, however, we have done a considerable amount of research on the habits and needs of our customers and have 
discovered areas ripe for improvements that we couldn't even imagine before, and we will be redesigning some areas of our 
website to reflect the lessons we have learned.
</p>
<p>
In addition, we have some great promotions planned between here and New Year's - including a comeback for our greatly 
popular "Seven Days of Christmas" series of offers over the holidays. We skipped 7DOX last year, and our users gave us an 
earful for it, so we'll make sure to keep our priorities straight this time!
</p>
<p>
The new <a href="http://www.phparch.com">php|architect website</a> has already been launched along with 
<a href="http://c7y.phparch.com/c/entry/1/news,20080924-zfce_vulcan_and_training">new training courses</a> for the Zend Framework
Certified Exam.
</p>
<p>
To subscribe to the new and improved php|architect magazine, visit <a href="http://phparch.com/c/magazine/subscribe">their subscription page</a>
and signup. Find out more in <a href="http://c7y.phparch.com/c/entry/1/news,20080929-php_architect_rebooted">this post</a> on their site.
</p>]]></description>
      <pubDate>Mon, 29 Sep 2008 08:01:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Announcing our new Magento book]]></title>
      <guid>http://www.phpdeveloper.org/news/10057</guid>
      <link>http://www.phpdeveloper.org/news/10057</link>
      <description><![CDATA[<p>
php|architect has <a href="http://c7y.phparch.com/c/entry/1/news,20080428-new_magento_book">announced the release</a> of a new book - the Guide to Programming Magento, now up for preorder:
</p>
<blockquote>
We're happy to announce the upcoming release of <a href="http://phparch.com/c/books/id/9780973862171">php|architect's Guide to Programming Magento</a>, the first comprehensive guide for developers who want to learn more about the Magento e-commerce platform.
</blockquote>
<p>
The book, by <i>Mark Kimsal</i> shows you how to install and successfully deploy a <a href="http://www.magentocommerce.com/">Magento</a> installation on your website. The preorder is available right now for a 15% discount and the full PDF version will be released on May 15th, 2008 (print on May 31st). Check out <a href="http://phparch.com/c/books/id/9780973862171">the product page</a> for more information and to reserve your copy today.
</p>]]></description>
      <pubDate>Mon, 28 Apr 2008 13:43:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP in Action Blog: PHP in Action Book in Print]]></title>
      <guid>http://www.phpdeveloper.org/news/8332</guid>
      <link>http://www.phpdeveloper.org/news/8332</link>
      <description><![CDATA[<p>
The PHP in Action blog has a <a href="http://www.reiersol.com/blog/index.php?op=ViewArticle&articleId=23&blogId=1">new note</a> about something that's been a long time coming - the release of the <a href="http://www.manning.com/reiersol">print version</a> of their book.
</p>
<blockquote>
Again a somewhat belated announcement: PHP in Action is in print. [...] Strenuously objective as always, I have to say that it's a pretty good book. I've had to read it about fifteen times already, and I still sort of enjoyed it the last time. 
</blockquote>
<p>
You can get more information on the book from <a href="http://www.manning.com/reiersol/">its page</a> on the Manning Publishing website as well as purchase a copy - $39.99 USD for the print version (plus PDF ebook) or just $20.00 USD for the PDF ebook by itself.
</p>]]></description>
      <pubDate>Thu, 26 Jul 2007 07:05:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP in Action Book Released]]></title>
      <guid>http://www.phpdeveloper.org/news/8175</guid>
      <link>http://www.phpdeveloper.org/news/8175</link>
      <description><![CDATA[<p>
In a <a href="http://www.reiersol.com/blog/index.php?op=ViewArticle&articleId=19&blogId=1">note from the PHP in Action blog</a>, they point out the <a href="http://www.manning.com/reiersol">release of their ebook</a> in PDF format:
</p>
<blockquote>
Manning Publications has released the book <a href="http://www.manning.com/reiersol">PHP In Action</a> as ebook in PDF format. I wrote it with help from my co-authors <a href="http://www.lastcraft.com/">Marcus Baker</a> and <a href="http://shiflett.org/">Chris Shiflett</a>. The print version is due out June 30.
</blockquote>
<p>
You can order both the ebook only or a combo of the ebook plus the print version <a href="http://www.manning.com/reiersol/">directly from Manning</a>. 
</p>]]></description>
      <pubDate>Tue, 03 Jul 2007 15:23:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog:  5 cool things you can do with Windows and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7973</guid>
      <link>http://www.phpdeveloper.org/news/7973</link>
      <description><![CDATA[<p>
On the JSLabs website, <i>Justin Silverton</i> has posted <a href="http://www.whenpenguinsattack.com/2007/06/04/5-cool-things-you-can-do-with-windows-and-php/">five cool things</a> that you can do with PHP in a Windows environment:
</p>
<blockquote>
Many PHP examples out there are designed for a linux/unix operating system. I am going to give some examples of some interesting functionality that only works with php running in a windows environment (IIS or apache).
</blockquote>
<p>
Here's the list:
</p>
<ul>
<li>Eject the CD-ROM
<li>Read and write from/to the registry
<li>Register and un-register phpscripts as a windows service
<li>Print pages/data
<li>List the current system processes
</ul>
<p>
Each item has sample code and a simple explanation to get you started using it.
</p>]]></description>
      <pubDate>Tue, 05 Jun 2007 09:22:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Working with CSS Styles and the Stage Pattern in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/7708</guid>
      <link>http://www.phpdeveloper.org/news/7708</link>
      <description><![CDATA[<p>
In the <a href="http://www.devshed.com/c/a/PHP/Working-with-CSS-Styles-and-the-Stage-Pattern-in-PHP-5/">second part</a> of their look at the Stage design pattern today, DevShed moves up from the <a href="http://www.phpdeveloper.org/news/7650">previous article</a> to implement a more "real world" example of the Stage pattern in action.
</p>
<blockquote>
Essentially, what I plan to demonstrate here is how this pattern can be used to build different versions of a given web document on the fly, either for display on a typical computer monitor, or for printing. 
</blockquote>
<p>
This involves the creation of <a href="http://www.devshed.com/c/a/PHP/Working-with-CSS-Styles-and-the-Stage-Pattern-in-PHP-5/1/">a class</a> to define the styles for both sides - print and screen - and <a href="http://www.devshed.com/c/a/PHP/Working-with-CSS-Styles-and-the-Stage-Pattern-in-PHP-5/2/">a class that will figure out</a> which of these needs to be applied.
</p>]]></description>
      <pubDate>Wed, 25 Apr 2007 13:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisend&ouml;rfer's Blog: Make printing easy, using a PrintController]]></title>
      <guid>http://www.phpdeveloper.org/news/6346</guid>
      <link>http://www.phpdeveloper.org/news/6346</link>
      <description><![CDATA[<p>
On the ThinkingPHP blog today, <i>Felix Geisend&ouml;rfer</i> shows, based on some of his own personal work, <a href="http://www.thinkingphp.org/2006/09/24/make-printing-easy-using-a-printcontroller/">how to make printing simpler</a> inside of a CakePHP application.
</p>
<blockquote>
<p>
The web site I currently work on is going to be for the hotel where my step father is the manager of. One of the things that is going to be an important 'feature' for the site, is to make it printer friendly.
</p>
<p>
Since the new site has a very clean markup, I thought about simply creating an additonal style sheet for the media type "print". However, after thinking about it a little bit more today, I came to to the conclusion that I'm dealing with WYSIWYG visitors. So I decided to get a little fancier, and to create a PrintController, which would output printable versions of any site requested by /print/*
</p>
</blockquote>
<p>
He <a href="http://www.thinkingphp.org/2006/09/24/make-printing-easy-using-a-printcontroller/">gives the code</a> for the controller and for the easy to use link to go over to the "printable version" of each page, hiding the none-printable information from the browser.
</p>]]></description>
      <pubDate>Mon, 25 Sep 2006 07:41:14 -0500</pubDate>
    </item>
  </channel>
</rss>
