 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
DZone.com: 2 years of Vim and PHP distilled
by Chris Cornutt April 06, 2012 @ 09:50:35
On DZone.com there's a new post from Giorgio Sironi with some of his tips for PHP developers that want to use VIM in their development - some handy tricks to help make you a more effective developer.
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.
He includes settings for your .vimrc to detect and load the right PHP functionality, using Command-T, functionality for autocompletion and the snipMate plugin for managing and using reusable code snippets.
voice your opinion now!
vim editor tips vimrc commandt snipmate autocomplete
Gonzalo Ayuso's Blog: Building an ORM with PHP
by Chris Cornutt September 13, 2010 @ 12:44:14
In this new post to his blog Gonzalo Ayuso looks at building an ORM (don't worry, he recommends something like Doctrine first) as an exercise to understand how they're constructed and how one could fit his goals.
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.
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.
voice your opinion now!
orm tutorial example database doctrine autocomplete
Matt Curry's Blog: Programming CakePHP Apps with Komodo IDE
by Chris Cornutt February 26, 2009 @ 10:27:16
For those Komodo users that are working with CakePHP and have thought "there has to be a better way", Matt Curry has created a screencast showing a few helpful hints on developing in popular IDE.
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.
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.
voice your opinion now!
cakephp komodo ide tip autocomplete screencast property bake cake
Zend Developer Zone: Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI
by Chris Cornutt February 04, 2009 @ 15:29:25
The Zend Developer Zone has a new tutorial posted (from Vikram Vaswani) 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.
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!
He shows how to combine Dojo, YUI and the HTML_QuickForm 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.
voice your opinion now!
autocomplete input field tutorial yui dojo pear htmlquickform
SitePoint PHP Blog: PHP Support in NetBeans 6.5
by Chris Cornutt December 16, 2008 @ 07:57:21
On the SitePoint PHP blog today Kevin Yank takes a look at a recent version of the NetBeans IDE (version 6.5) that comes bundled with improved PHP support.
Long dismissed as a "toy Java IDE", NetBeans - 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 Eclipse, Komodo IDE, and Zend Studio.
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.
voice your opinion now!
netbeans sun ide autocomplete java eclipse komodo zendstudio
Matthew Weier O'Phinney's Blog: Autocompletion with Zend Framework and Dojo
by Chris Cornutt December 12, 2008 @ 14:37:59
Matthew Weier O'Phinney has put together a guide to answer some of the questions he's been getting about combining the Zend Framework and Dojo functionality for autocompletion.
I've fielded several questions about setting up an autocompleter with Zend Framework and Dojo, and decided it was time to create a HOWTO on the subject, particularly as there are some nuances you need to pay attention to.
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.
voice your opinion now!
zendframework dojo autocomplete tutorial zendform dijit
|
Community Events
Don't see your event here? Let us know!
|