News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
feed this:

Raphael Stolt's Blog:
Creating Zend Framework snippets for TextMate
February 21, 2008 @ 09:39:00

Raphael Stolt has posted a new entry to his blog that talks about combining two things that many developers out there already use - the Zend Framework and the TextMate editor. He shows hos to make some useful code snippets that can be customized to whatever you might need.

To reduce the typing effort for the most common tasks in creating a Zend Framework based application, which are creating action controllers including their hosted actions and creating new models for accessing the underlying database, I spent some minutes to figure out how to create and add these valuable snippets to the default PHP bundle.

The contents of the examples snippets are included - one to set up a controller, one to add an action to it and an third that will automatically set a table name property.

0 comments voice your opinion now!
zendframework textmate code snippet example controller action table



Clay Loveless' Blog:
TextMate and phpDoc Comment Blocks
June 21, 2006 @ 06:04:09

On the KillerSoft blog today, there's a few comments from Clay Loveless about his trial of Textmate, specifically when dealing with phpDocumentor comment blocks.

I've been a BBEdit user for a decade, and despite my switch to Zend Studio last fall for the bulk of my PHP development, I still find myself going to plain text editors for little tweaks, or less formal "hack it out" efforts.

There are a few things that I've grown very accustomed to as a Zend Studio user over the past several months. One of those is typing "/**" in a PHP document and having a full phpDocumentor docblock appear magically, with the cursor insertion point set on the first line of the comment area.

Unfortunately, TextMate doesn't handle it quite that way, but he's found a similar way to accomplish it - using "doc_cp" followed by a TAB. It doesn't quite handle the preformatted blocks as well as Zend's software does, but that's nothing the scripting features of TextMate can't take care of - he shows you how.

0 comments voice your opinion now!
textmate phpdocumentor preformatted shortcut comment blocks textmate phpdocumentor preformatted shortcut comment blocks



Community Events









Don't see your event here?
Let us know!


zendframework code ajax mysql conference developer example book cakephp releases framework security release database zend PEAR PHP5 package job application

All content copyright, 2009 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework