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

SitePoint PHP Blog:
10 Essential Sublime Text Plugins for Full-Stack Developers
Jul 09, 2014 @ 17:32:33

Users of the Sublime Text 2 editor already know how flexible and useful it can be in developing their own software. SitePoint has a new post that wants to help enhance that experience even more with a list of 10 essential plugins you can use as a full-stack developer.

When I started with web development a few years ago, Vim was my first choice of text editor. It was easy to work with and I could get the basics done without much hassle. [...] In spite of the “Vim vs Emacs” debate out there, about a year ago I decided to try out a native text editor and Twitter was abuzz with one of them (no prizes for the guessing which one.) The creators of Sublime Text say it’s a text editor you’ll fall in love with and, having worked with it for almost a year now, I must say I completely agree with them.

Among their "top 10" list are things like:

  • Package Control
  • GitGutter
  • AllAutocomplete
  • ColorPicker
  • DocBlockr

Each item on the list comes with a link to the library, a brief description of what it has to offer and a screenshot (in most cases) of it at work.

tagged: essential sublimetext2 plugin list fullstack developer

Link: http://www.sitepoint.com/10-essential-sublime-text-plugins-full-stack-developer/

James Fuller's Blog:
Why can’t someone just make a good IDE for PHP?
Jun 29, 2012 @ 15: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.
tagged: ide opinion eclipse phpstorm sublimetext2

Link:

Stuart Herbert's Blog:
Setting Up Sublime Text 2 For PHP Development
Feb 28, 2012 @ 14: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.

tagged: sublimetext2 development tool plugin package feature screencast

Link:

Ben Selby's Blog:
DocBlox Plugin For Sublime Text 2
Feb 06, 2012 @ 21: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.

tagged: docblox documentation plugin sublimetext2 generate

Link:

Stuart Herbert's Blog:
PHPUnit Plugin For Sublime Text 2
Feb 06, 2012 @ 16: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.

tagged: sublimetext2 editor phpunit plugin additional snippets

Link:

Rob Allen's Blog:
Sublime Text 2 Snippet for PHP getter and setter generation
Jan 03, 2012 @ 15: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.

tagged: sublimetext2 editor snippet getter setter code

Link:


Trending Topics: