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

SitePoint PHP Blog:
Best PHP IDE in 2014 - Survey Results
March 24, 2014 @ 13:15:42

The results are in and the SitePoint PHP blog has officially announced the most popular PHP IDE based on the answers to their survey. The overall winner is PHPStorm (from JetBrains) but several others weigh in on their editor of choice too.

This article will focus on the IDE results alone. We'll analyze the PHP community in general in a future piece after the data has been cleaned to a greater extent. Please note that these are preliminary results, and not much detailed filtering has taken place yet. The data will still be processed and additionally verified. The ballpark is in the correct ranges, but cannot be deemed precise (might be off by a couple dozen in every category - not enough to influence the end result), hence only percentage values will be displayed in the charts. For exact figures, see the raw data.

The results show PHPStorm coming in at first place in both the business and personal votes with Sublime Text and Netbeans pulling in behind for 2nd and 3rd. The post also shares comments from some of the votes, people adding some of their own thoughts and reasons for their choice of editor/IDE. Other tools that were mentioned include Vi, TextMate, Eclipse/PDT and Dreamweaver.

0 comments voice your opinion now!
survey results popular ide editor tool phpstorm sublimetext netbeans

Link: http://www.sitepoint.com/best-php-ide-2014-survey-results/

SitePoint PHP Blog:
PhpStorm - Top Productivity Hacks and Shortcuts
February 12, 2014 @ 11:53:59

The SitePoint PHP blog has a recent post from Bruno Skvorc sharing some PHPStorm productivity "hacks" and shortcuts you can use during your development in this popular IDE.

We all have our favorite IDEs/editors when coding. Mine is PhpStorm, and it took a while to master all its shortcuts and establish a rapid workflow. In this article, I'll share some keyboard shortcuts and tips with you which you should make part of your regular routine if you, too, do your work in this IDE. This article was partially inspired by this Reddit thread, and will be mentioning and demonstrating some of the shortcuts found there as well.

He breaks it up into three main categories with several points each, some with (animated) screenshots:

  • Keyboard shortcuts and hacks
  • Using Plugins
  • Dark themes for readability
0 comments voice your opinion now!
phpstorm productivity hack shortcut ide screenshot

Link: http://www.sitepoint.com/phpstorm-top-productivity-hacks-shortcuts/

Dutch Web Alliance:
The definitive remote debug and unittest with PHPStorm guide part 7
January 29, 2014 @ 10:54:25

The Dutch Web Alliance has posted the seventh part of their series looking at getting remote debugging and unit testing working with PHPStorm, a popular PHP IDE. You can start at the beginning or just find the links to any other articles in the series you might have missed in the first post.

So, your unit-tests should be small, not doing much, taking one unit at a time to test. Overall, not much is around to actually debug. But on occasion, having the ability to actually stepping through the unit-tests can save you a headache or two! Debugging your PHPUnit scripts isn't really that hard. In fact, most of what we need to do, we already covered in the previous postings! Consider this: PHPUnit is nothing more than a PHP framework running from the command line interface. And since we already know how to debug applications from the CLI, it must be easy!

This is the last post in the series and is pretty short. It basically talks about setting breakpoints in testing and letting PHPStorm catch the issues. If you'd rather run them from the command line, check out part six for more details.

0 comments voice your opinion now!
debugging unittest remote phpstorm tutorial series part6

Link: https://dutchweballiance.nl/techblog/the-definitive-remote-debug-and-unittest-with-phpstorm-guide-part-7/

Dutch Web Alliance:
The definitive remote debug and unittest with PHPStorm guide part 6
January 09, 2014 @ 11:20:28

The Dutch Web Alliance has posted the sixth part of their series helping you debug/unit test your applications with PHPStorm and Xdebug. In this new post they focus on working with command-line applications.

So there is already a lot covered: debugging web applications, testing your units, getting code coverage. But one thing that remains is trying to debug your command line applications. Even today more and more applications aren't built for primarily the web, but for other purposes or many web frameworks have some kind of "console" component which allows you to easily create command line tools that deals with asynchronous handling of data, or just mere as cronjobs.

They walk you through the steps you'll need to be sure everything it set up correctly for PHPStorm to catch the debug calls:

  • Ensuring Xdebug is active
  • Validating that PHPStorm is listening for incoming requests
  • Configuring Xdebug on where to connect
  • Setting up the mapping for paths inside PHPStorm
0 comments voice your opinion now!
xdebug phpstorm unittest debug tutorial series part6 commandline

Link: http://dutchweballiance.nl/techblog/the-definitive-remote-debug-and-unittest-with-phpstorm-guide-part-6/

Dutch Web Alliance:
The definitive remote debug and unittest with PHPStorm guide part 4
December 20, 2013 @ 09:52:28

The Dutch Web Alliance has posted the fourth part of their series looking at remote debugging with PHPStorm. If you want to start from the beginning, you can find the first part of the series here (along with a table of contents for the other parts).

Unit testing should play a pretty big part in your daily PHP work. With the help of PHPUnit, writing and executing those tests is fairly simple. But in a remote environment we run into some issues which we try to solve in this blogpost. I'm not going to tell you the basics of unit-testing, as we assume you already are familiar with this. If not, There are lots of blog posts on this subject.

With some tests already in place, they show you how to get PHPStorm all set up and working. First they talk some about how the IDE makes its connection to the remote server via a "proxy" script. There's a few problems with this method, so they show a different approach using the "PHP on Server" configuration setting. They walk you through the setup of this feature (with screenshots) and how to "trick" it using a dummy phpunit.xml file.

0 comments voice your opinion now!
unittest phpstorm series remote debug guide part4

Link: http://dutchweballiance.nl/techblog/the-definitive-remote-debug-and-unittest-with-phpstorm-guide-part-4/

JetBrains.com:
Just-In-Time debugging and PHP Exception Breakpoints with PhpStorm and Xdebug
December 19, 2013 @ 09:30:59

On the JetBrains site there's a recent post showing you how to use just-in-time debugging and breakpoints in their PHPStorm IDE combined with the popular PHP debugging tool Xdebug.

In every project comes a moment where code stabilizes and we don't want to keep the debugger attached to our code all the time. Or maybe we just want to run our code and only attach the debugger when an error occurs or an exception is thrown. Meet Xdebug's just-in-time (jit) mode and PHP Exception Breakpoints in PhpStorm!

This feature makes use of the "jit" setting for the "remote_mode" setting that Xdebug offers to only send debugging information back to the remote debugger with an error occurs. They show you how to set up PHPStorm for these debugger connections and some example screenshots of it in action. The breakpoints feature compliments this functionality by allowing you to set breakpoints on which kind of errors you want to see information about (ex. warning, notice or deprecated issues).

0 comments voice your opinion now!
phpstorm debug exception xdebug justintime remotemode breakpoint

Link: http://blog.jetbrains.com/phpstorm/2013/12/just-in-time-debugging-and-php-exception-breakpoints-with-phpstorm-and-xdebug/

Dutch Web Alliance:
The definitive remote debug and unittest with PHPStorm guide part 3
December 11, 2013 @ 09:19:23

The Dutch Web Alliance has posted the latest part in their "remote debugging with PHPStorm" series (parts one & two are linked here) with part three. This time they focus on setting up Xdebug and configuring the connection in the IDE.

Let's start with probably the most important part of all: debugging your web applications. In this day and age, people still use var_dump() and die() to debug their application. A shame really, knowing that step-debugging through your code is made really easy with PHPStorm. Using var_dump() is very slow, error prone and you only get a small fraction of the context you need in order to debug correctly. And how many times did such a var_dump() hit your production environment?? Truth be told, implementing XDebug does need a little bit of work, but fortunately PHPStorm has made things super easy for us.

They don't go through the whole installation part of Xdebug - there's other guides for that - but do help you configure it correctly to work with a remote debugger in PHPStorm. They show you how to set various breakpoints and a "trick" to working with path mappings.

0 comments voice your opinion now!
phpstorm remote debugging unittest tutorial series part3

Link: http://dutchweballiance.nl/techblog/the-definitive-remote-debug-and-unittest-with-phpstorm-guide-part-3/

Dutch Web Alliance:
The definitive remote debug and unittest with PHPStorm guide
December 06, 2013 @ 11:48:38

On the Dutch Web Alliance site today they've kicked off a new series of posts looking to help you get the most out of the PHPStorm IDE for remote PHP debugging and unit testing your application.

PHPStorm is probably the best IDE when it comes to PHP development. [...] This multi-part guide will try and set up your systems in such a way that EVERYTHING you need to do when it comes to development gets explained so you can set your system up correctly, once and for all. Meet the "definitive remote debugging and unittest with PHPStorm guide". Even though PHPStorm always had many different ways of editing, syncing and deploying your scripts, it was not until PHPStorm 7 that we finally have an IDE that can work fully on a virtualized remote system. In the next couple of blog posts I will try and give you a tour on how to set up your systems so they actually work.

So far they've posted the first two parts of the series:

Keep tuned in to this post (or their feed) for updates to the series and new articles as they're posted.

0 comments voice your opinion now!
remote debugging unittest phpunit phpstorm guide series

Link: http://dutchweballiance.nl/techblog/the-definitive-remote-debug-and-unittest-with-phpstorm-guide/

SitePoint PHP Blog:
Google App Engine and PHP Getting Started
November 26, 2013 @ 12:19:52

The SitePoint PHP blog has a new post from editor Bruno Skvorc showing you how to get started with the Google App Engine support for PHP, specifically through the PHPStorm IDE and it's built in support.

t's been a while since Google announced PHP support on Google App Engine. This article series will take you through all the necessary steps in getting your app up and running on GAE. For this tutorial, we'll be using PhpStorm which supports GAE projects out of the box, but you can use any IDE of your choice. Start by respecting the prerequisites for your platform. This is necessary because the Google App Engine SDK requires certain software to be runnable locally, namely Python which runs the "server".

He goes through the full process, all the way from registering a new application with the Google App Engine service out to configuring and testing a deployment through the IDE. Besides the PHPStorm-based deployment, there's also some brief mentions of how to do the deployment through a normal command line and through git (a push-to-deploy mechanism similar to what other PaaS providers use).

0 comments voice your opinion now!
google appengine introduction tutorial phpstorm deployment

Link: http://www.sitepoint.com/google-app-engine-php-getting-started/

Google Cloud Platform Blog:
Google App Engine for PHP with PhpStorm
October 24, 2013 @ 10:09:05

On the Google Cloud Platform blog there's a recent post showing you how to directly integrate the Google App Engine PHP support with the popular PHP IDE PhpStorm for seamless development.

Our IDE for PHP, PhpStorm, provides seamless integration with Google App Engine for PHP - allowing you to locally develop, debug and deploy your PHP applications on Google App Engine. When testing your application locally, we also support full emulation of App Engine services through the App Engine Development server. The [introductory] video shows how to get started with Google App Engine for PHP in PhpStorm. We also have a comprehensive tutorial which covers Google App Engine with PhpStorm in detail.

His example shows how to integrate the IDE with the Google Cloud SQL service. He shows how to create a new user (via the API console) and how to connect that user in PhpStorm. He includes a CREATE statement for a sample table and the PHP code to connect.

0 comments voice your opinion now!
phpstorm google appengine sql cloud tutorial integrate

Link: http://googlecloudplatform.blogspot.cz/2013/10/google-app-engine-for-php-with-phpstorm.html


Community Events











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


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

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