I haven't been here for a long time.

Source: Internet
Author: User
I haven't been here for a long time. It's also the old man of CSDN ...... When I was a BCB moderator, I switched to PHP to do something of my own in 06/07.

Now the main maintenance site is https://rsywx.net. The basic technology used is LAMP, which creates a virtual host overseas. Other technologies include Symfony, Twig, and Bootstrap. I have played Dart for a while.

These days are relatively empty. I came up and found that it was the same many years ago, Duplicate errors and duplicate problems.

The biggest problem is: Outdated usage and library usage.

The code listed in many questions is also called the vanilla PHP: The PHP code and the HTML code are intertwined. I just want to say that this approach is very bad. Now, apart from purely testing a function or library, and you are sure that your code will not be used in the middle of subsequent products, I will use such vanilla PHP. Otherwise, I will definitely use a framework (more complex, with Symfony, and more simple, with Silex ).

If you really don't want to use the framework, please do not use mysql_connect and similar functions when calling the database at least, OK? PHP has clearly indicated that these functions (libraries) are outdated and will be disabled immediately. Should we at least use PDO?

Also, can composer be used to organize file dependencies if it is convenient and energetic? -- I am not doing very well, but it will gradually improve. The main reason is that when I use a framework, the framework automatically includes these items. when I write my own applications, I am too lazy to apply them.

Let's say a few more words.

To be a good PHP programmer, you must have a high level of English. There are too many documents in China, and some old information (such as the old usage and use of the old library mentioned above) has a bad influence on developers who are getting started. So even if you don't fully understand the latest technology trends on a foreign technical site, it will help us to broaden our horizons. Our vision has improved, and our requirements for ourselves have also increased.

I said this is meaningless. as an amateur PHP developer, I have published many articles on Sitepoint.com, which will introduce some of the latest technologies, I also learned how to use a lot of new tools. for example, I recently used Sami to generate API documents and used Spress to create a static site. I have not seen these discussions here. I am very sorry.

I have not devalued the importance of going deep into the most basic part of PHP. A Request object of Symfony still needs to use get/post data. However, if we can browse the code of these mature frameworks until how it handles these requirements, it will be of great help for us to write our own code. Right?








Reply to discussion (solution)

After learning, many programmers have not worked hard on how to improve their own skills!

I don't understand it.

666 split mode enabled

There are too many documents in China.

This is indeed the case.

LZ has been missing for a long time

What does programming mean if they all follow one routine?

What does programming mean if they all follow one routine?



Isn't it interesting to follow bad and old routines?

Repeated errors and repeated problems
It's not surprising that beginners make the same mistake.

Outdated usage and library usage
There are no materials for beginners to read from a new perspective.

The framework binds users' thinking. only by giving up their mindset can they be innovative.

Although the current situation is not optimistic, I still insist on putting them on the right path, and you just occasionally come here to point out

It's brilliant!

Repeated errors and repeated problems
It's not surprising that beginners make the same mistake.

Outdated usage and library usage
There are no materials for beginners to read from a new perspective.

The framework binds users' thinking. only by giving up their mindset can they be innovative.

Although the current situation is not optimistic, I still insist on putting them on the right path, and you just occasionally come here to point out



Moderators have worked hard

Repeated errors and repeated problems
It's not surprising that beginners make the same mistake.

Outdated usage and library usage
There are no materials for beginners to read from a new perspective.

The framework binds users' thinking. only by giving up their mindset can they be innovative.

Although the current situation is not optimistic, I still insist on putting them on the right path, and you just occasionally come here to point out



The framework is bound or standardized and accelerated. I think it is the latter.

I come here occasionally. Of course I have my own reasons. You cannot pick this round. At least I am answering questions carefully and answering questions with better ideas. Is this wrong? Or is it different from what you think?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.