Intro to article series
In this serie of articles I’m going to provide step by step instructions for setting up a fully working development environment for your Magento (or actually ANY PHP5) development project.
I start from the lowest level – from choosing the hardware and the article series will be finished with tips for tuning your Nginx, PHP5 and MySQL (MariaDB) to squeeze out the maximum performance that you need whole developing Magento.
About naming things
Words of warning or The Disclaimer
Now when this is clear let’s get the hands dirty!
The structure of articles
I’ll give you instructions for 2 major development platforms – Linux and OSX. In general these 2 are perfect platforms for web development. One is free and open source while the other is commercial yet very good. Â So you have choice.
The articles are organised like this where all major bullets are articles:
- Introduction (current article)
- Underlying systems and processes
- Development process
- Version control process
- Choosing hardware and installing operating system
- Remove unwanted stuff
- Command line, Terminal app
- Naming and structure
- Development folders
- Development hostnames (virtual hosts)
- Usernames, passwords
- SSH keys
- Components installation & configuration
- MariaDB
- PHP5-FPM
- Socket or TCP?
- Nginx
- a special file /etc/hosts
- Openssl for HTTPS
- keys, self-generated certificates
- optional – phpMyAdmin
- Source Code Version Control
- git …
- … or svn. No and why?
- Bitbucket
- Github
- Beanstalk
- Security
- Bind MySQL to localhost
- Keep your sites closed when in public WIFI-s
- Use HTTPS
- Installing Magento
- create database, db user and password
- file permissions
- special folders
- .gitignore
- useful utilities
- Choosing the IDE
- Netbeans
- PHPStorm
- Others (Komodo, Zend Studio)
- Setting up xDebug for debugging your solution
- “Local” remote debugger
- Breakpoints
- Call stack
- Variables
- Remote debugger
- Performance tuning, tips and tricks
- MariaDB
- Nginx
- PHP5-FPM
A few words about suitable hardware
No promises made but still …
As a busy guy I cannot make big promises but I’ll do my best to provide you a minimum 1 article a week. Hopefully I can do better than this. Feedback is very much appreciated as my ultimate goal is to develop a solution that would be kind of standard for all Magento development projects that are yet to be launched. So all help and feedback and comments are welcome.
Provide feedback
Share me: by