News Feed
Jobs Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

James Fuller's Blog:
Why can't someone just make a good IDE for PHP?
June 29, 2012 @ 10:19:52

James Fuller has posted some of his thoughts about the state of IDEs for PHP (text editors too!) and some of his recent experiences trying to find one that fits his needs.

I think the first "IDE" I ever used for web development would have to be Adobe Dreamweaver (nee Macromedia). Ok, so maybe it was Microsoft FrontPage, but that shouldn't really count. [...] This post is about my experience moving away from the oft-maligned program and some lessons learned in my quest for the perfect IDE.

He tried out several options including Netbeans, Eclipse (PDT), Sublime Text 2 and one he found the most appealing, PHPStorm.

Looking back I realize that IDE's have been a constant annoyance and yet have prompted so much growth and development in my skill level. [...] I also think that the problems I have ran into with IDE's are true about software in general. We search for better solutions and always fall short.
0 comments voice your opinion now!
ide opinion eclipse phpstorm sublimetext2


Stuart Herbert's Blog:
Setting Up Sublime Text 2 For PHP Development
February 28, 2012 @ 08:49:07

Stuart Herbert, a big fan of the Sublime Text 2 editor, has put together a post showing you what he thinks is an effected way to set up the editor for PHP development.

As the interest seems to be there, I thought it would be a great idea to follow up with a post taking you step by step through how I've set up Sublime Text 2 for PHP development, and showing you some of the useful features that you get out of the box with Sublime Text 2.

He's come up with some screencasts of his setup so you can see the useful features in action. He points out a few things to install or that use can use to make your development simpler:

  • Package Control
  • the Soda theme
  • how to edit user preferences
  • using the "Goto Anything" bar
  • using the PHP snippets plugin
  • DocBlockr for documentation blocks
  • Sublime linter
  • Goto Documentation

...and much more. This flexible editor makes it easy to customize just about everything in your environment and with more and more plugins/packages popping up all the time, there's a good chance the feature you need will be introduced soon.

0 comments voice your opinion now!
sublimetext2 development tool plugin package feature screencast


Ben Selby's Blog:
DocBlox Plugin For Sublime Text 2
February 06, 2012 @ 15:39:34

Ben Selby has released a Sublime Text 2 plugin for the popular PHP-based documentation generation project DocBlox.

It seems that the editor of the moment is Sublime Text 2 and sadly I have to tip my hat to Gary Rockett for showing it off to me one day.. Since that day, I've been a 100% convert. [...] So, I decided to peak into the PHPUnit [plugin from Stuart Herbert] to see if I could create a DocBlox Plugin. It turns out you have to write Plugins in Python, which is interesting, since I know very little python. There seemed to be enough code there to get me going, so I now have a working DocBlox Plugin.

The result is a plugin that, once installed gives you a new context menu option to "Generate documentation" for the selected file. The console shows the progress of the build. You can get the plugin from Package Control or by grabbing it from github directly.

0 comments voice your opinion now!
docblox documentation plugin sublimetext2 generate


Stuart Herbert's Blog:
PHPUnit Plugin For Sublime Text 2
February 06, 2012 @ 10:05:11

Stuart Herbert has officially released a plugin for the popular text editor Sublime Text 2 to integrate PHPUnit support directly into the editing environment.

Sublime Text 2 is a new cross-platform text editor that I've recently switched to. It's still in public beta, but already offers better performance (and battery life!) and a better look (fonts that render properly!) than Java-based IDEs such as Netbeans. One thing it didn't have was support for PHPUnit, so I've made a plugin. It's available to install via Package Control.

The plugin allows you to directly create tests for a class using a context menu's "Test This Class" option. You can also run the tests directly from the editor and use either the menu or direct text commands to control it. He's also gathering some other well-used PHP snippets into another related plugin, the Additional PHP Snippets plugin.

0 comments voice your opinion now!
sublimetext2 editor phpunit plugin additional snippets


Rob Allen's Blog:
Sublime Text 2 Snippet for PHP getter and setter generation
January 03, 2012 @ 09:54:23

In a quick new post to his blog, Rob Allen has shared a snippet for the Sublime Text 2 editor to make creating getters and setters for your class simpler (dynamically too).

As with a lot of editors, Sublime Text supports snippets which are essentially text expansions of a short phrase into more text. I needed to create a few getXxx() and setXxx() methods for some properties of a class and decided that the easiest way to do this would be with a snippet.

Included in the post is the code you'll need to put into the snippet - a simple find (regular expression based) looks at the currently selected variable and expands out the getter and setter for it. For more information on the Sublime Text 2 editor, see the product's website.

0 comments voice your opinion now!
sublimetext2 editor snippet getter setter code



Community Events











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


facebook install language application overview component podcast support hhvm code opinion unittest introduction package framework hack security symfony2 composer release

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