<?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>Fri, 24 May 2013 07:13:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: How the Testing Sausage Gets Made]]></title>
      <guid>http://www.phpdeveloper.org/news/17970</guid>
      <link>http://www.phpdeveloper.org/news/17970</link>
      <description><![CDATA[<p>
For those either just getting into unit testing your applications (maybe even <a href="http://en.wikipedia.org/wiki/Test-driven_development">TDD</a>) or those that are old hat at it and what to figure out a few more tricks of the trade, you should check out <a href="http://www.littlehart.net/atthekeyboard/2012/05/17/how-the-testing-sausage-gets-made/">this latest post</a> from <i>Chris Hartjes</i> about some of the tools he uses to get the job done.
</p>
<blockquote>
So how does the Grumpy Programmer write code, TDD style? It starts with using a set of tools that reduce the amount of friction required. First, I do almost all my work from a terminal.  [...] Why the terminal? PHPUnit is a CLI application. Yes, many popular editors and IDE's can do things like execute PHPUnit for you, but they are limited in what flexibility they provide. 
</blockquote>
<p>
He also talks about his editor of choice, <a href="http://www.vim.org/">vim</a>, and some of the plugins he uses in his day to day testing development. This includes tools to handle things like interfacing with git/gists, working with ctags to see the code's structure, working with "surroundings" and the <a href="https://github.com/tpope/vim-pathogen">pathogen</a> plugin to make adding other plugins easier. He keeps the code up in one terminal and his testing tool (PHPUnit or other) accessible in a second, making it a simple matter of switching to write the test then the functionality to make it pass.
</p>
<blockquote>
If there is a lesson to be learned from this, it's to make sure that every tool that you use reduces the friction that is generated when building your application using TDD.
</blockquote>]]></description>
      <pubDate>Thu, 17 May 2012 09:19:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: 2 years of Vim and PHP distilled]]></title>
      <guid>http://www.phpdeveloper.org/news/17785</guid>
      <link>http://www.phpdeveloper.org/news/17785</link>
      <description><![CDATA[<p>
On DZone.com there's a new post from <i>Giorgio Sironi</i> with some of his tips for PHP developers that <a href="http://css.dzone.com/articles/2-years-vim-and-php-distilled">want to use VIM in their development</a> - some handy tricks to help make you a more effective developer.
</p>
<blockquote>
In the case of PHP development, you'll need to add some configuration and plugins to speed up your activities. Most of the responsibilities of an IDE - like testing and version control - are outsourced to the terminal while running Vim; however, there are some tweaks that make writing and editing code faster, along with aiding in discovery classes and methods in a PHP codebase.
</blockquote>
<p>
He includes settings for your .vimrc to detect and load the right PHP functionality, using <a href="https://wincent.com/products/command-t">Command-T</a>, functionality for autocompletion and the <a href="http://www.vim.org/scripts/script.php?script_id=2540">snipMate</a> plugin for managing and using reusable code snippets.
</p>]]></description>
      <pubDate>Fri, 06 Apr 2012 09:50:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Thijs Lensselink's Blog: VIM for a PHP Developer]]></title>
      <guid>http://www.phpdeveloper.org/news/16211</guid>
      <link>http://www.phpdeveloper.org/news/16211</link>
      <description><![CDATA[<p>
<i>Thijs Lensselink</i> has a new post to his blog today showing a <a href="http://lenss.nl/2011/04/vim-for-a-php-developer/">step-by-step guide</a> to setting up a vim editor environment to provide a richer experience than the plain-text defaults for working with your PHP code.
</p>
<blockquote>
For my coding work i mostly use <a href="http://www.zend.com/en/products/studio/">Zend Studio</a>. And i am a big fan of this IDE. But i also do a lot of work in the shell. And that asks for at least basic <a href="http://www.vim.org/">vim</a> knowledge. My colleague is a big vim fan. And does most of his work in vim. So last week i was compiling a cheat-sheet for my self. And came across a <a href="http://www.slideshare.net/ZendCon/vim-for-php-programmers-presentation">slideshow</a> of one of <a href="http://zmievski.org/">Andrei Zmievski</a>'s talks. This slide show got me inspired enough to start playing around with vim a bit. And this is the result of it.
</blockquote>
<p>
He walks you through everything from scratch - installing vim, setting up some of the configuration files, grabbing <a href="http://www.vim.org/scripts/script.php?script_id=69">some plugins</a> to help with highlighting, adding in <a href="http://ctags.sourceforge.net/">ctags</a> for code completion and a plugin to give the editor more of an "IDE feel". There's a few screenshots included in the post as well, so you can be sure your environment is looking the same as his.
</p>]]></description>
      <pubDate>Mon, 18 Apr 2011 10:57:17 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gonzalo Ayuso's Blog: My VIM configuration for PHP development]]></title>
      <guid>http://www.phpdeveloper.org/news/15672</guid>
      <link>http://www.phpdeveloper.org/news/15672</link>
      <description><![CDATA[<p>
In a search for his perfect development environment (note "his" not "the") <i>Gonzalo Ayuso</i> has <a href="http://gonzalo123.wordpress.com/2011/01/03/my-vim-configuration-for-php-developement/">taken another look at vim</a> in a new post to his blog with some handy plugins and commands he's found so far.
</p>
<blockquote>
Keeping on with my continuous search for the perfect IDE I've resumed my fight against VIM. As someone told me the learning of vim is a road of pain. It's something like going to the gym. We known that going to the gym is good and healthy but it's hard and painfully especially at the beginning. The learning curve of vim is hard. [...] VIM is not my default IDE yet. I hope to swap to VIM soon but I feel myself slower when I code comparing with Netbeans or ZendStudio, and slow means less productive but I also feel if invest more time vim can be really productive. 
</blockquote>
<p>He points out these plugins and commands:</p>
<ul>
<li><a href="http://www.vim.org/scripts/script.php?script_id=1658">NerdTree</a>
<li>the "buffer explorer"
<li>using <a href="http://code.google.com/p/zen-coding/wiki/ZenHTMLSelectorsEn">Zen Coding</a>
<li>using the debugger (along with <a href="http://xdebug.de">XDebug</a>)
<li><a href="http://www.vim.org/scripts/script.php?script_id=2540">snipMate</a>
<li>using omni completion
<li>supertab
<li>and a few more various, useful commands...
</ul>]]></description>
      <pubDate>Mon, 03 Jan 2011 13:50:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Using Vim for Your PHP Development]]></title>
      <guid>http://www.phpdeveloper.org/news/15174</guid>
      <link>http://www.phpdeveloper.org/news/15174</link>
      <description><![CDATA[<p>
On PHPBuilder.com today <i>Jason Gilmore</i> has <a href="http://www.phpbuilder.com/columns/vim/Jason_Gilmore092210.php3">an introductory tutorial</a> to using the popular vim editor for your PHP development with more that just the basic features.
</p>
<blockquote>
When you choose a streamlined <a href="http://webopedia.com/TERM/I/integrated_development_environment.html">IDE</a>, you forfeit the visual bells and whistles usually found in many commercial products but you gain the ability to write, organize and refactor code as quickly as you can type. For millions of developers around the globe, that IDE is <a href="http://www.vim.org/">Vim</a>, and in this article I'll show you how Vim can help you to write PHP code faster than ever before.
</blockquote>
<p>
He starts with the basics - what vim is and how to start it up - and shows how you can use the command-line inside of the editor to do things like a simple search and replace. He also shows how to edit multiple files, set up PHP command completion and how to use the <a href="http://www.vim.org/scripts/script.php?script_id=69">Project</a> plugin to make it easier to find files without having to leave the editor.
</p>
<p>
If you're looking for more detailed information on using vim in your development, check out <a href="http://zmievski.org/2007/02/vim-for-php-programmers-slides-and-resources">this presentation</a> from <i>Andrei Zmievski</i> or <a href="http://weierophinney.net/matthew/archives/164-Vim-Productivity-Tips-for-PHP-Developers.html">these tips</a> from <i>Matthew Weier O'Phinney</i>.
</p>]]></description>
      <pubDate>Thu, 23 Sep 2010 09:13:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Builder Zone: NetBeans vs. Vim for PHP development]]></title>
      <guid>http://www.phpdeveloper.org/news/15039</guid>
      <link>http://www.phpdeveloper.org/news/15039</link>
      <description><![CDATA[On the Web Builder Zone there's <a href="http://css.dzone.com/articles/netbeans-vs-vim-php">a recent article</a> comparing one of the PHP IDEs growing in popularity, <a href="http://blogs.sun.com/netbeansphp/">NetBeans</a>, and one of the standbys of the development world, Vim. It compares how they both stack up for PHP development work by things like features, speed and ease of use.
</p>
<blockquote>
Since this is an old religion war and it can't be solved out of context, my points will be specifically related to these programs. In this comparison, I collected examples of where Vim and NetBeans differ in behavior and performance. The point of view is that of a PHP developer, since I experienced much worse results with Unix tools while programming in other languages such as Java. 
</blockquote>
<p>
He compares them on a few different levels including overall speed, autocompletion, portability, ease of use, codebase navigation and versatility. There's no "better than" judgment here, just a good look at what each tool has to offer. What it really boils down to, of course, is personal preference. These are just two of the many possibilities out there (like <a href="http://www.jetbrains.com/phpstorm/">PHP Storm</a>, <a href="http://www.eclipse.org/pdt">Eclipse PDT</a> or <a href="http://www.zend.com/en/products/studio/">Zend Studio</a>).
</p>]]></description>
      <pubDate>Mon, 30 Aug 2010 08:56:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreak.dk: The quest for the holy... development environment?!]]></title>
      <guid>http://www.phpdeveloper.org/news/14412</guid>
      <link>http://www.phpdeveloper.org/news/14412</link>
      <description><![CDATA[<p>
On the PHPFreak.de blog there's a new post talking about the author's quest to find the <a href="http://phpfreak.dk/2010/04/the-quest-for-the-holy-development-environment/">"holy development environment"</a>, the one that would make a developer most productive and give them the best features to do their work.
</p>
<blockquote>
Over the last 8 years I've tried out a lot of different setups. I've always loved <a href="http://www.gnu.org/software/emacs/">Emacs</a>, and for many years my setup was very basic: Linux/FreeBSD desktop, <A href="http://fluxbox.org/">Fluxbox</a>, <a href="http://en.wikipedia.org/wiki/Xterm">Xterm</a>, Emacs and <a href="http://www.mozilla.com/en-US/firefox/firefox.html">Firefox</a> - simple and powerful, and I loved it but I want more. I want my environment to be a bit smarter and not just provide me with some (very, very nice) shortcuts for navigating my code. 
</blockquote>
<p>
He looks at a few other tools and how they compare to what he's used to - VIM, NetBeans, Eclipse PDT - and decides that there's not a clear winner between them and that really, it boils down to two things: what your preference is and what quirks you can deal with on a daily basis.
</p>]]></description>
      <pubDate>Mon, 26 Apr 2010 12:05:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tobias Schlitt's Blog: PDV -> VIP, now on github!]]></title>
      <guid>http://www.phpdeveloper.org/news/14032</guid>
      <link>http://www.phpdeveloper.org/news/14032</link>
      <description><![CDATA[<p>
<i>Tobias Schlitt</i> has a quick post to his blog about the release of the <a href="http://github.com/tobyS/vip">phpDocumentor for VIM</a> project he's been working on over to github.
</p>
<blockquote>
phpDocumentor for VIM (PDV) is a project which resulted from my efforts to create a <a href="http://schlitt.info/opensource/blog/0543_comfortable_php_editing_with_vim_6.html">comfortable programming environment for PHP in the VIM editor</a>. Since the server which hosted the SVN repository is to be switched off the next days, I finally <a href="http://github.com/tobyS/vip">moved development over to github</a>. In addition to that, I seized the chance to rename the project itself to VIP (VIM integration for PHP).
</blockquote>
<p>
There's a few other goodies in the repository besides just the VIP tool. You can grab some (or all) of the code by following <a href="http://github.com/tobyS/vip">the instructions</a> given on the github page.
</p>]]></description>
      <pubDate>Tue, 16 Feb 2010 09:17:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Hannes Magnusson's Blog: Unix manual pages for PHP functions]]></title>
      <guid>http://www.phpdeveloper.org/news/13780</guid>
      <link>http://www.phpdeveloper.org/news/13780</link>
      <description><![CDATA[<p>
<i>Hannes Magnusson</i> has <a href="http://bjori.blogspot.com/2010/01/unix-manual-pages-for-php-functions.html">a new post</a> today about an interesting feature of the PHP documentation some might not have known existed - manual pages (man) for PHP functions/methods for unix systems.
</p>
<blockquote>
For a while I had vim configured to run reflection when I hit "<a href="http://vimdoc.sourceforge.net/htmldoc/various.html#K">K</a>", but after the PHP documentation team released unix manual pages for PHP I now get the manual page in all its glory; function description, parameter descriptions, return values, examples, notes, see also and everything you are used to see from the online manual. Its awesome.
</blockquote>
<p>
These manual pages aren't installed by default, so you'll have to grab the download from the PEAR channel for the PHP documentation (doc.php.net/pman). If you're wanting to use it in VIM, you'll also need to change the <a href="http://vimdoc.sourceforge.net/htmldoc/options.html#%27keywordprg%27">keywordprg</a> setting to "pman".
</p>]]></description>
      <pubDate>Tue, 05 Jan 2010 11:06:06 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Quinton Parker's Blog: vim tips for php programmers]]></title>
      <guid>http://www.phpdeveloper.org/news/11887</guid>
      <link>http://www.phpdeveloper.org/news/11887</link>
      <description><![CDATA[<p>
In <a href="http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/">a new post</a> to his blog <i>Quinton Parker</i> shares a few tips for those PHP developers out there using <a href="http://www.vim.org/">vim</a> as their editor of choice.
</p>
<blockquote>
VIM is a powerful command-line text editor usually a default package in the majority of *nix distros (that includes Mac's OS X). I believe there are ports available for other OSes, even winblows. Firstly, vim is a man's editor. Whiners and GUI lovers can stop reading now. Although, VIM offer GUI ports such as MacVim. Men with thick beards, please stay tuned.
</blockquote>
<p>
He starts with a bit of comparison between opinions on IDE versus editor and comments from others on both sides of the vim argument. Then he gets to the tips - here's a list of some of them:
</p>
<ul>
<li>Syntax highlighting
<li>Tabs as spaces
<li>Search and show matches as you type
<li>PHP-specific highlighting
<li>Highlighting matching brackets/parentheses
<li>Auto change to to editing file's cwd
</ul>]]></description>
      <pubDate>Thu, 05 Feb 2009 08:43:44 -0600</pubDate>
    </item>
  </channel>
</rss>
