Cover image for PhpStorm Cookbook.
PhpStorm Cookbook.
Title:
PhpStorm Cookbook.
Author:
Chaudhary, Mukund.
ISBN:
9781782173885
Personal Author:
Physical Description:
1 online resource (321 pages)
Contents:
PhpStorm Cookbook -- Table of Contents -- PhpStorm Cookbook -- Credits -- About the Authors -- About the Reviewers -- www.PacktPub.com -- Support files, eBooks, discount offers, and more -- Why subscribe? -- Free access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Sections -- Getting ready -- How to do it… -- How it works… -- There's more… -- See also -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Cooking with PhpStorm -- Introduction -- Showing/hiding views -- How to do it... -- How it works... -- Customizing a view -- How to do it... -- How it works... -- Accessing any project file -- Getting ready -- How to do it... -- How it works… -- Maximizing views and editors -- How to do it... -- Going back to the previous editor -- Getting ready -- How to do it... -- There's more… -- Going back to the previous edit location -- Getting ready -- How to do it... -- Linking views to editors -- How to do it... -- Creating a key binding -- How to do it... -- How it works... -- Creating a bookmark -- How to do it... -- Restoring deleted resources -- Getting ready -- How to do it... -- How it works... -- Customizing with PhpStorm -- Getting ready -- How to do it... -- See also -- Adding an include path -- Getting ready -- How to do it... -- Excluding unwanted directories from the index -- Getting ready -- How to do it... -- How it works… -- Using code completion -- Getting ready -- How to do it... -- How it works... -- 2. PHP Development -- Introduction -- Creating a PHP project using Composer -- Getting ready -- How to do it... -- How it works... -- Creating an empty project -- Getting ready -- How to do it... -- How it works... -- Reusing an existing project -- Getting ready -- How to do it...

Creating a new PHP class -- Getting ready -- How to do it... -- How it works... -- Creating a new PHP method -- Getting ready -- How to do it... -- How it works... -- Adding the getter/setter methods -- Getting ready -- How to do it... -- How it works... -- Creating delegate methods -- Getting ready -- How to do it... -- How it works... -- Surrounding code with control structures -- Getting ready -- How to do it... -- How it works... -- Finding the matching brace -- Getting ready -- How to do it... -- How it works... -- There's more... -- Wrapping string -- Commenting out a section of code and PHPDoc -- Getting ready -- How to do it... -- How it works... -- Creating a working set -- Getting ready -- How to do it... -- Creating TODO tasks -- Getting ready -- How to do it... -- How it works... -- 3. Refactoring and Building -- Introduction -- Renaming elements -- How to do it... -- Renaming a directory -- Renaming a class -- How it works... -- There's more... -- Renaming a method -- Renaming member variables -- See also... -- Copying elements -- How to do it... -- How it works... -- There's more... -- Copying a class -- Moving elements -- How to do it... -- Moving a directory -- Moving a class -- Moving a method -- How to do it... -- Moving a variable -- How to do it... -- Deleting elements -- Getting ready -- How to do it... -- How it works… -- Searching code in a project -- Getting ready -- How to do it... -- How it works… -- There's more... -- Comparing files -- Getting ready -- How to do it... -- How it works... -- Restoring elements using comparison -- Getting ready -- How to do it... -- How it works... -- See also -- Setting the run configuration -- How to do it... -- How it works... -- There's more... -- Running your code -- Getting ready -- How to do it... -- How it works… -- 4. Integrating Framework -- Introduction -- Cooking with Symfony.

Getting ready -- How to do it... -- How it works... -- There's more... -- Directory structure of Symfony -- Creating a controller with Symfony -- How to do it... -- How it works... -- Creating a model with Symfony -- Getting ready -- How to do it... -- How it works... -- Creating a view with Symfony -- Getting ready -- How to do it... -- How it works... -- Creating a model with the Yii framework -- How to do it... -- How it works... -- Creating a controller with the Yii framework -- How to do it... -- How it works... -- Creating a view with the Yii framework -- How to do it... -- How it works... -- Creating a model with the Zend framework -- How to do it... -- How it works... -- Creating a controller with the Zend framework -- How it works... -- Creating a view with the Zend framework -- How to do it... -- How it works... -- There's more... -- 5. Testing and Debugging -- Introduction -- Installing PHPUnit -- Getting ready -- How to do it... -- How it works... -- Test case in PHPUnit -- How to do it... -- How it works... -- Testing an application with PHPUnit -- How to do it... -- How it works... -- Starting a debugging session -- Getting ready -- How to do it... -- How it works... -- Setting a breakpoint -- How to do it... -- How it works... -- Configuring breakpoint conditions -- How to do it... -- How it works... -- Creating exception breakpoints -- How to do it... -- How it works... -- Stepping through your code -- Getting ready -- How to do it... -- How it works... -- Running to a line of code selected -- How to do it... -- How it works... -- Watching expressions and variables -- How to do it... -- How it works... -- Changing code on the fly -- How to do it... -- How it works... -- Code coverage in PhpStorm -- Getting ready -- How to do it... -- How it works... -- There's more… -- Purpose of code coverage -- 6. Using PhpStorm in a Team.

Introduction -- Getting a VCS server -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating a VCS repository -- Getting ready -- How to do it... -- How it works... -- Connecting PhpStorm to a VCS repository -- Getting ready -- How to do it... -- Storing a PhpStorm project in a VCS repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- Committing files to the VCS repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- Updating code from a VCS repository -- Getting ready -- How to do it... -- How it works... -- There's more... -- Synchronizing your code with the VCS repository -- Getting ready -- How to do it... -- How it works... -- Examining the VCS repository -- Getting ready -- How to do it... -- How it works... -- Checking projects out of a VCS repository -- Getting ready -- How to do it... -- How it works... -- Creating code patches -- Getting ready -- How to do it... -- How it works... -- Creating VCS tags or branches -- Getting ready -- How to do it... -- How it works... -- There's more... -- Creating a task for the team -- Getting ready -- How to do it... -- How it works... -- 7. PhpStorm and Phing -- Introduction -- Connecting Phing and PhpStorm -- How to do it... -- How it works… -- There's more… -- Catching Phing build file syntax problems -- Getting ready -- How to do it… -- How it works… -- There's more… -- Building a PhpStorm application using Phing -- Getting ready -- How to do it… -- How it works… -- Using a different build file -- How to do it… -- How it works… -- Doing wonders with Phing -- Getting ready -- How to do it… -- How it works… -- There's more… -- Using the Phing build view -- How to do it… -- How it works… -- 8. Cooking Library Plugins -- Introduction -- Creating a library plugin -- Getting ready -- How to do it….

How it works… -- Refining the plugin -- How to do it… -- How it works… -- Configuring the plugin with PhpStorm -- How to do it… -- There's more... -- How it works… -- Code hinting for the plugin -- Getting ready -- How to do it… -- How it works… -- 9. Code Quality Analysis -- Introduction -- Mess detector and PhpStorm -- Getting ready -- How to do it… -- How it works… -- There's more... -- Code sniffer and PhpStorm -- Getting ready -- How to do it… -- How it works… -- There's more... -- Locating code duplicates -- How to do it… -- How it works… -- There's more... -- Code formatting and arrangement -- How to do it… -- How it works… -- Index.
Abstract:
If you are a competent PHP developer who knows the basics of PHPStorm and intends to gain better knowledge of PHPStorm by learning and implementing pro-level practices, techniques, and solutions, then this book is for you. It is assumed that you already have a working installation of the software setup.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Added Author:
Electronic Access:
Click to View
Holds: Copies: