1

I'm fairly new to the programming part of Magento 2, I've been using rest calls with PHP, but I want to change method as I'm opening up a second shop. Now I would like to know if it is possible to somehow "integrate" my Magento 2 directory within PHPStorm. And when that is done, where can i find a good guide to how to start using the Object manager to programmatically do CRUD operations in Magento 2? I found the documentation of Magento 2 confusing, and don't know where to start or even how to access the object manager. When i search on the internet I found dozens of documentation for Magento 1 using the "Mage::" but that isn't available anymore, so I don't know where to start!

EDIT : I'm programming on my laptop, and Magento 2 dir is on a dedicated server, that I can acces trough SSH or SFTP.

Thanks!

closed as too broad by 7ochem, Siarhey Uchukhlebau, Keyul Shah, Murtuza Zabuawala, liyakat May 31 '17 at 4:52

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

2

You can start from http://devdocs.magento.com/guides/v2.0/extension-dev-guide/bk-extension-dev-guide.html

In most cases you should not use Object Manager, just declare all needed dependencies in constructor. see http://devdocs.magento.com/guides/v2.0/extension-dev-guide/depend-inj.html for more details

Not the answer you're looking for? Browse other questions tagged or ask your own question.