<?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 02:01:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Zumba Engineering Blog: Creating bash completion to your console application]]></title>
      <guid>http://www.phpdeveloper.org/news/18383</guid>
      <link>http://www.phpdeveloper.org/news/18383</link>
      <description><![CDATA[<p>
On the Zumba Engineering blog there's a new post showing you how to <a href="http://engineering.zumba.com/2012/08/20/creating-bash-completion/">implement bash shell "autocomplete"</a> with a special option for a second argument.
</p>
<blockquote>
This weekend I saw the <a href="https://github.com/AD7six/cakephp-completion">bash completion for CakePHP</a> from <a href="http://ad7six.com/">Andy Dawson</a> and had an idea to do the same for our service application, because we frequently forget the exactly job class or method name and add extra steps to verify these names before execute the job. I read his code, made some research and finally get our bash completion working fine.
</blockquote>
<p>
In his case he wanted to see what things a module in the application had to offer, so he implemented a "__check__" argument that looked at the third argument and used reflection to get the methods allowed for it. Also included in the post is the bash alias you'll need to set up to get it working (and where to put it to make it cooperate).
</p>]]></description>
      <pubDate>Tue, 21 Aug 2012 09:47:52 -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[Script-Tutorials.com: Autocomplete with PHP, jQuery, MySQL and XML]]></title>
      <guid>http://www.phpdeveloper.org/news/16981</guid>
      <link>http://www.phpdeveloper.org/news/16981</link>
      <description><![CDATA[<p>
In <a href="http://www.script-tutorials.com/autocomplete-with-php-jquery-mysql-and-xml/">this new tutorial</a> from Script-Tutorials.com they show you how to combine PHP, <a href="http://jquery.com">jQuery</a>, <a href="http://mysql.com">MySQL</a> and XML to create an auto-complete box with drop-down suggestions.
</p>
<blockquote>
Today I have new article for PHP. I will tell you about implementation autocomplete for your sites. Data can be located in different sources - directly in the JS code, in the database, and even in the XML file.
</blockquote>
<p>
All of the code and markup you'll need is included - the HTML for the page containing the field, CSS to style it, the Javascript (jQuery) to make the field work and the SQL/PHP/XML for the backend. You can check out a live demo of the script in action <a href="http://www.script-tutorials.com/demos/160/index.html">here</a> or <a href="http://www.script-tutorials.com/demos/160/source.zip">download the source</a> in a single package and get started.
</p>]]></description>
      <pubDate>Wed, 12 Oct 2011 08:54:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Martin Sikora's Blog: Google Chrome Extension: PHP Ninja Manual]]></title>
      <guid>http://www.phpdeveloper.org/news/16566</guid>
      <link>http://www.phpdeveloper.org/news/16566</link>
      <description><![CDATA[<p>
In a new post today <i>Martin Sikora</i> has <a href="http://www.martinsikora.com/google-chrome-extension-php-ninja-manual">points out a Google Chrome extension</a> he's created that lets you view some of the basics of the PHP manual without leaving the browser.
</p>
<blockquote>
Finally, I released my extension for Google Chrome called <a href="https://chrome.google.com/webstore/detail/clbhjjdhmgeibgdccjfoliooccomjcab">PHP Ninja Manual</a> (Ninja - because I like <a href="http://www.kaushik.net/avinash/">Avinash Kaushik</a>'sblog and he always call people who are very skilled in something as "Ninjas"). I was always lazy to open PHP documentation every time I had to look at some method definition and its parameters so I made this extension which is actually preparsed official PHP manual available instantly in a popup window.
</blockquote>
<p>
You can see a screenshot of it in action <a href="http://www.martinsikora.com/web/uploads/assets/chrome-extension-php-ninja-manual.png">here</a> including the auto-complete searching and the example of the function's summary details. If you try it out and have feedback, go over to <a href="http://getsatisfaction.com/php_ninja_manual">the forum</a> for it and leave your comments.
</p>]]></description>
      <pubDate>Fri, 08 Jul 2011 09:38:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Gonzalo Ayuso's Blog: Building an ORM with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15118</guid>
      <link>http://www.phpdeveloper.org/news/15118</link>
      <description><![CDATA[<p>
In <a href="http://gonzalo123.wordpress.com/2010/09/13/building-an-orm-with-php/">this new post</a> to his blog <i>Gonzalo Ayuso</i> looks at building an ORM (don't worry, he recommends something like <a href="http://www.doctrine-project.org/">Doctrine</a> first) as an exercise to understand how they're constructed and how one could fit his goals.
</p>
<blockquote>
What's the motivation for me to build this ORM? The answer is a bit ambiguous. I like SQL. It allows us to speak with the database in a very easy way. [...] So the idea I figured out was to create a set of classes based on my tables, in a similar way than traditional ORMs to help me to autocomplete the fields and table names. 
</blockquote>
<p>
He creates a simple example with a "test" table with three columns with a mapped class (in the "Orm" namespace) that will allow IDEs to follow down the path to fetch the data from the "id", "field1" and "field3" columns. The complete code listing for his example is at the end of the post - PHP 5.3 friendly, of course. Some trigger and scaffolding examples are also included.
</p>]]></description>
      <pubDate>Mon, 13 Sep 2010 12:44:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[ZendCasts.com: Autocomplete Control with ZendX_JQuery]]></title>
      <guid>http://www.phpdeveloper.org/news/14856</guid>
      <link>http://www.phpdeveloper.org/news/14856</link>
      <description><![CDATA[<p>
New from ZendCasts.com today there's <a href="http://www.zendcasts.com/autocomplete-control-with-zendx_jquery/2010/07/">a new screencast</a> taking their integration of jQuery with the Zend Framework to the next level - creating an autocomplete control.
</p>
<blockquote>
In the last video, I discussed ZendX_JQuery integration. Now we're going to take it a step further by developing our own jQuery autocomplete control, using a country list, PHP 5.3 and anonymous functions.
</blockquote>
<p>
You can watch the video <a href="http://www.zendcasts.com/autocomplete-control-with-zendx_jquery/2010/07/">via the in-page player</a> and you can download either a copy of <a href="http://zendcasts.googlecode.com/svn/trunk/zc59-autocomplete-with-zendx-jquery/zc59-autocomplete-with-zendx-jquery.zip">just the project</a> or <a href="http://code.google.com/p/zendcasts/source/browse/trunk/zc59-autocomplete-with-zendx-jquery">browse the whole repository</a> for this and other projects.
</p>]]></description>
      <pubDate>Tue, 27 Jul 2010 09:48:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matt Curry's Blog: Programming CakePHP Apps with Komodo IDE]]></title>
      <guid>http://www.phpdeveloper.org/news/12028</guid>
      <link>http://www.phpdeveloper.org/news/12028</link>
      <description><![CDATA[<p>
For those Komodo users that are working with CakePHP and have thought "there has to be a better way", <i>Matt Curry</i> has <a href="http://www.pseudocoder.com/archives/2009/02/25/programming-cakephp-app-with-komodo-ide/">created a screencast</a> showing a few helpful hints on developing in popular IDE.
</p>
<blockquote>
I suck at screencasts; I know this. If I keep doing them, I'm bound to get better, right? Is it possible to get worse at something the more you do it? Anyway, I made a quick screencast showing off some CakePHP features with Komodo IDE. Leave a comment with your favorite CakePHP related IDE trick.
</blockquote>
<p>
He talks about the "automatic" auto-completion the IDE can do once its scanned the CakePHP source, how Komodo knows about properties in the classes as well as helpers and how to set up the Bake and Cake commands as shortcuts for quick access.
</p>]]></description>
      <pubDate>Thu, 26 Feb 2009 10:27:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI]]></title>
      <guid>http://www.phpdeveloper.org/news/11883</guid>
      <link>http://www.phpdeveloper.org/news/11883</link>
      <description><![CDATA[<p>
The Zend Developer Zone has <a href="http://devzone.zend.com/article/4229-Building-AutoComplete-Inputs-with-PHP-PEAR-Dojo-and-YUI">a new tutorial</a> posted (from <i>Vikram Vaswani</i>) about adding in an auto-complete input field to your site. His example uses a PEAR class, Dojo and some components of the YUI libraries.
</p>
<blockquote>
Fortunately, modern programming toolkits like Dojo provide ready-made widgets that have the necessary client-side functions for autocomplete. Add a little bit of server-side glue, in the form of a PHP script that talks to a database to generate valid suggestions, and enabling this functionality in a Web application now becomes a matter of hours, rather than days. In this article, I'll show you how to do this using three different libraries: PEAR HTML_QuickForm, YUI, and Dojo. Come on in, and find out more!
</blockquote>
<p>
He shows how to combine <a href="http://www.dojotoolkit.org/">Dojo</a>, <a href="http://developer.yahoo.com/yui/">YUI</a> and the <a href="http://pear.php.net/package/HTML_QuickForm">HTML_QuickForm</a> PEAR package to create a field that, based on what they enter into the input field, searches a database to find values in that table.
</p>]]></description>
      <pubDate>Wed, 04 Feb 2009 15:29:25 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: PHP Support in NetBeans 6.5]]></title>
      <guid>http://www.phpdeveloper.org/news/11577</guid>
      <link>http://www.phpdeveloper.org/news/11577</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog today <i>Kevin Yank</i> <A href="http://www.sitepoint.com/blogs/2008/12/16/php-support-in-netbeans-65/">takes a look at</a> a recent version of the NetBeans IDE (version 6.5) that comes bundled with improved PHP support.
</p>
<blockquote>
Long dismissed as a "toy Java IDE", <a href="http://www.netbeans.org/">NetBeans</a> - Sun's open source Integrated Development Evironment (IDE)-has really grown up in recent years. No longer is it just for Java, either: for web developers, NetBeans 6.5 now supports Ruby and PHP out of the box. Surprisingly, that support is so good that it now compares favourably to more established competitors like <a href="http://www.eclipse.org/pdt/">Eclipse</a>, <a href="http://www.activestate.com/Products/komodo_ide/">Komodo IDE</a>, and <a href="http://www.zend.com/en/products/studio/">Zend Studio</a>.
</blockquote>
<p>
He mentions the built-in/user-defined auto-complete the has built in as well as code templates, support for phpdoc documentation blocks, and other functionality for helping with Javascript, HTML and CSS.
</p>]]></description>
      <pubDate>Tue, 16 Dec 2008 07:57:21 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Autocompletion with Zend Framework and Dojo]]></title>
      <guid>http://www.phpdeveloper.org/news/11565</guid>
      <link>http://www.phpdeveloper.org/news/11565</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has put together <a href="http://weierophinney.net/matthew/archives/198-Autocompletion-with-Zend-Framework-and-Dojo.html">a guide</a> to answer some of the questions he's been getting about combining the Zend Framework and Dojo functionality for autocompletion.
</p>
<blockquote>
I've fielded several questions about setting up an autocompleter with <a href="http://framework.zend.com/">Zend Framework</a> and <a href="http://dojotoolkit.org/">Dojo</a>, and decided it was time to create a HOWTO on the subject, particularly as there are some nuances you need to pay attention to. 
</blockquote>
<p>
He shows how to set up the correct Dijits and how to create the default form element in a Zend_Form instance. He creates a data store and a QueryReadStore to hold the information. The then modified that default Zend_Form element (a ComboBox) to include the storeType and storeParams for these instances.
</p>]]></description>
      <pubDate>Fri, 12 Dec 2008 14:37:59 -0600</pubDate>
    </item>
  </channel>
</rss>
