Yesterday, I spent a whole day in the environment and wanted to learn about djangoorsinatra. After the result was completed, I asked myself why I did this? Isn't php good? I will laravel to develop the framework more efficiently. some people say that laravel's code is messy and has been around for a long time. The idea doesn't understand what the facade is ...... I spent a whole day in the Environment yesterday and want to learn about django or sinatra.
Finally, I asked myself why I did this? Isn't php good?
I will laravel to develop the framework more efficiently.
Some people say that laravel's code is messy and has been around for a long time. The idea doesn't understand what the facade is... I read j2ee for a whole year in the library, but I think laravel is very familiar with it. as a result, I abandoned MVC, which has been in history for more than 20 years, and used namespace to create a package, various services, validators, repositories, events, etc ,. register ServiceProvider, inject instances through ioc, and then develop phpunit. looking at your own code, I feel a sense of accomplishment. this is high aggregation and low coupling! It is difficult to operate. It seems that it is not efficient to create many files...
Laravel is composed of packages. For example, when I replace the wordpress front-end with my own front-end, I only use its router and database.
The framework requires performance. I can use phalcon. I won't talk about this.
Package management, with composer. Thanks to the unofficial team of FIG, it has come out of the psr standard! I think composer is a milestone in php. There is only one problem. The speed in China ........
Php itself is very slow !! There was hhvm before, there was hippyvm, and the official website wanted to create a PHPNG. Oh, 5.5 also came with an opcache.
Need non-blocking? Reactphp
......
Why does startup, especially abroad, use python or ruby as the development language? I personally think it is because php is too popular and programmers are not well-balanced. php naming is not standard, but I think it is not a big problem.
What do you think?
I think about it. If you give me a reason to give up php and make a living in python or ruby, it means that the salary of php programmers is low ......
For open questions, likes will be reliable.
Reply content:
I spent a whole day in the Environment yesterday and want to learn about django or sinatra.
Finally, I asked myself why I did this? Isn't php good?
I will laravel to develop the framework more efficiently.
Some people say that laravel's code is messy and has been around for a long time. The idea doesn't understand what the facade is... I read j2ee for a whole year in the library, but I think laravel is very familiar with it. as a result, I abandoned MVC, which has been in history for more than 20 years, and used namespace to create a package, various services, validators, repositories, events, etc ,. register ServiceProvider, inject instances through ioc, and then develop phpunit. looking at your own code, I feel a sense of accomplishment. this is high aggregation and low coupling! It is difficult to operate. It seems that it is not efficient to create many files...
Laravel is composed of packages. For example, when I replace the wordpress front-end with my own front-end, I only use its router and database.
The framework requires performance. I can use phalcon. I won't talk about this.
Package management, with composer. Thanks to the unofficial team of FIG, it has come out of the psr standard! I think composer is a milestone in php. There is only one problem. The speed in China ........
Php itself is very slow !! There was hhvm before, there was hippyvm, and the official website wanted to create a PHPNG. Oh, 5.5 also came with an opcache.
Need non-blocking? Reactphp
......
Why does startup, especially abroad, use python or ruby as the development language? I personally think it is because php is too popular and programmers are not well-balanced. php naming is not standard, but I think it is not a big problem.
What do you think?
I think about it. If you give me a reason to give up php and make a living in python or ruby, it means that the salary of php programmers is low ......
For open questions, likes will be reliable.
Start-ups need to quickly make available products. ROR has an absolute speed advantage.
That's all.
If you choose this time point, I personally think Ruby and Python are not a good choice. It is neither as widely used as PHP nor as innovative as GO/NodeJS. By the way, the salaries of PHP programmers we have auctioned are not low at all ......
If you are using the web, continue with php. I never think that php performance is a problem.
I wrote laravel for two months and found it very powerful... The entry level is relatively high .. It's good ..
It is true that php has good code, but Rails encourages people to write better code. php is not. The name of porn is not white.
First:
Anyone who has been engaged in web development for more than three years can easily replace php with the following: python, ruby, go, node...
Second:
If you have learned other languages, you will find that the php language is very messy. It is not only a superficial function call, but also the internal mechanism does not have an obvious object model, so you cannot give one: "I only need to understand the object model of this language and can understand any code." This self-confidence is true. I am talking about the object model of js or ruby...
Finally:
I really don't want to write good code when writing php, but ror's DRY principle is the most basic reminder, which is better than nothing, let alone write unit tests.
I liked python and didn't like ruby. I learned python 3 for a long time. Later I learned some frameworks, webpy, django, and tornado, then I found that many Chinese companies use python 2. × but I want to write 2. so I decided to learn node. js later...