Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying PhpStorm Cookbook
  • Table Of Contents Toc
PhpStorm Cookbook

PhpStorm Cookbook

By : Chaudhary
1 (2)
close
close
PhpStorm Cookbook

PhpStorm Cookbook

1 (2)
By: Chaudhary

Overview of this book

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.
Table of Contents (11 chapters)
close
close
10
Index

Introduction


Grandma's advice: stick to software engineering.

Software engineering advice: emphasize on code reusability. Any code base engineered according to the software engineering paradigm will be reusable. That is to say, you can use your code forever having written it once. They say "Write once, use forever".

Revisiting the pizza baking use case, you will observe that in order to cook whatever dish, you just had to use the add function since you stuck to the mentioned paradigm. Suppose there are 50 different types of dishes that you are about to cook. Each dish is different in itself, but each will require the add method. If you convert this into technology, you will, in most cases, inherit the Dish class. That is your PizzaDish. The methods of the Dish class are reused in all the classes such as PizzaDish.

If you want to change the business logic, you can happily and comfortably change the logic inside the method body, and the changes will be reflected in all of the classes that inherit...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
PhpStorm Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon