Automization with GitLab system hooks. They can save a lot of recurring work!
And last but not least: Docker. I've built a custom setup for our developers that is installed in each of our customer projects and learned so much from it.
🐳 Docker setup by Etribes for almost every PHP based web application that needs a webserver and database.
Docker setup by Etribes
This docker setup was intended to be used with Shopware but as it is that generic you could run almost every PHP based web application that needs a webserver and database.
Feel free to contribute.
Important information: This setup is for local programing purposes only! It should not be used in a production environment.
Installation instructions
Getting started
Set a host entry in your local hosts file to 127.0.0.1 dev.local
The goal was to have a fast local development environment. It should be quick and easy to switch the project and we wanted to switch from Vagrant to Docker.
Now over 15 developers work with it on a daily basis. That makes me proud! :)
Thank you, Kai Neuwerth! Or Danke schon ;) I suggest you to move to full-js stack away from PHP. I used PHP for 12 years though, but it is dying comparing to js techs. IMHO
Types.
If you are going to make a really complex app or library, where you risk to go out of your mental/brain/memory capacity because you have to keep so many things in your head, then you will come to an opinion that you should use strong type system. I liked PHP's type system, classes and stuff, but it is very, very far from completeness. JS has Typescript, which is just a superset of JS. Typescript has almost complete (in practical terms) type system and developing (and what much more important, maintaining) very big things is mere fun (not a pain like in PHP).
Slow development. github.com/phpDocumentor/phpDocume... look at this issue. It was created in 2012. This is simple to solve issue and is frequently requested, yet no any progress is done. Or PHP core versions. PHP 7 was like christmas, it improved type system. But at the same time, PHP core team voted to cut many type-related and other useful things.
I think I know why it is this way. I believe PHP today has no remarkable leaders, who pushes the language and creates modern stuff. And the next reason is kinda linked to this.
What languages do industry giants use, support and push?
Microsoft: typescript (superset of JS)
Google: typescript (in angular), dart (fancy JS)
Facebook: flow (superset of JS), JS (in ReactJS)
You may add to the list, and you will probably see with your own eyes that no one really supports/pushes PHP, they just trying to somehow modernize their legacy PHP code (e.g. HHVM of Facebook)
I refused to see the truth for many years and continued using PHP but finally realised the truth: it is really dying.
Thanks for sharing and taking the time to write this comment!
I think it's not necessary to get in on it because this would tend to become an endless discussion :D But I get your points and there are obviously valid arguments.
Let's just see where it goes to and where we go to. It's never bad to learn some other languages, teach yourself new technologies and maybe find your next programming language :)
"I think it's not necessary to get in on it because this would tend to become an endless discussion" - that's a wise decision :)
BTW, after writing the previous comment I thought a bit, that there can be far more developed ecosystem for Ecommerce in PHP than in JS/TS. Because, well Ecommerce is pretty developed/old industry.
Good luck!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Depends on what you find "hot" ;) From my point of view I find the following technologies very interesting:
And last but not least: Docker. I've built a custom setup for our developers that is installed in each of our customer projects and learned so much from it.
eTribes-Connect-GmbH / docker-setup
🐳 Docker setup by Etribes for almost every PHP based web application that needs a webserver and database.
Docker setup by Etribes
This docker setup was intended to be used with Shopware but as it is that generic you could run almost every PHP based web application that needs a webserver and database.
Feel free to contribute.
Installation instructions
Getting started
127.0.0.1 dev.local
git clone https://github.com/eTribes-Connect-GmbH/docker-setup.git
cd docker-setup/
docker-compose.yml
docker-compose pull
to get the newest imagesFULL_WIPE_ON_REBOOT
indocker-compose.yml
to"false"
if you dont need the installation wizard.COMPOSE_PROJECT_NAME=project
in.env
docker-compose up
FULL_WIPE_ON_REBOOT
indocker-compose.yml
to"true"
afterwards. Alternatively you can just import an SQL dump.The goal was to have a fast local development environment. It should be quick and easy to switch the project and we wanted to switch from Vagrant to Docker.
Now over 15 developers work with it on a daily basis. That makes me proud! :)
Thank you, Kai Neuwerth! Or Danke schon ;) I suggest you to move to full-js stack away from PHP. I used PHP for 12 years though, but it is dying comparing to js techs. IMHO
Kein Problem! ;)
I've heard that quite often and the discussions were interesting. Could you please share why you think so?
Of course! In fact I have several reasons.
Types.
If you are going to make a really complex app or library, where you risk to go out of your mental/brain/memory capacity because you have to keep so many things in your head, then you will come to an opinion that you should use strong type system. I liked PHP's type system, classes and stuff, but it is very, very far from completeness. JS has Typescript, which is just a superset of JS. Typescript has almost complete (in practical terms) type system and developing (and what much more important, maintaining) very big things is mere fun (not a pain like in PHP).
Slow development. github.com/phpDocumentor/phpDocume... look at this issue. It was created in 2012. This is simple to solve issue and is frequently requested, yet no any progress is done. Or PHP core versions. PHP 7 was like christmas, it improved type system. But at the same time, PHP core team voted to cut many type-related and other useful things.
I think I know why it is this way. I believe PHP today has no remarkable leaders, who pushes the language and creates modern stuff. And the next reason is kinda linked to this.
What languages do industry giants use, support and push?
Microsoft: typescript (superset of JS)
Google: typescript (in angular), dart (fancy JS)
Facebook: flow (superset of JS), JS (in ReactJS)
You may add to the list, and you will probably see with your own eyes that no one really supports/pushes PHP, they just trying to somehow modernize their legacy PHP code (e.g. HHVM of Facebook)
I refused to see the truth for many years and continued using PHP but finally realised the truth: it is really dying.
Thanks for sharing and taking the time to write this comment!
I think it's not necessary to get in on it because this would tend to become an endless discussion :D But I get your points and there are obviously valid arguments.
Let's just see where it goes to and where we go to. It's never bad to learn some other languages, teach yourself new technologies and maybe find your next programming language :)
Cheers, Nurbol!
"I think it's not necessary to get in on it because this would tend to become an endless discussion" - that's a wise decision :)
BTW, after writing the previous comment I thought a bit, that there can be far more developed ecosystem for Ecommerce in PHP than in JS/TS. Because, well Ecommerce is pretty developed/old industry.
Good luck!