PHP beginner - scalability and where to go to the framework?

In recent months, I got into web development, I tried both sides of the coin: ASP.NET and PHP, I quickly fell in love with the second, the documentation and the community were very useful.

I started by reading PHP for Absolute Beginners , it gave me a good understanding of the language.

we need to go deeper

Enter the scope! Having visited the Internet, it became clear that there is one structure that really suits beginners: Codeigniter . I really love CI, thanks to my college programming experience I have always relied on good books. CI does not need a book. The documentation is so well written that anyone with experience with PHP can get into it.

CI training led me to development websites (such as Stackoverflow), and I started reading things that upset me: β€œCI doesn't scale on large projects,” β€œCI isn't even a framework,” β€œCI for beginners, get pro, like me brother. "

Well, therefore, perhaps CI should not be used for huge projects - at least not what I got from the general community. But I wonder where should I go now? I feel that I should get some experience, at least in a few MVC frameworks, but it’s a bit confusing where to go at this moment, today is better than Zend , tomorrow Symfony , but damm that Yii looks good! All these frameworks are updated to 2.0, and the documentation is scarce, there are not many books (if any), there is a lot of information on the corresponding websites, but for someone from CI everything is just very intimidating to start out. Running projects using Windows CMD? PHP accelerators?

I guess I'm trying to ask here, how do you professionals see the world of PHP frameworks these days? What structure would you recommend? Should I jump into this bubble 2.0 or are these versions not yet stable? And if possible, can you point me in a general direction when it comes to documentation?

Thank you for your time.

+8
php
source share
4 answers

The frame is just a tool to achieve the goal. For you to master the language, try to continue working with CI. What you learn - concepts - will go into a different framework, even if their implementation is slightly different.

I personally approve of Yii, but in the past I dug symfony, zend, and CI, as well as several others. One of them is no better than the other for most applications; look at different things, see what you like and ride with it.

+3
source share

Which structure is not an issue. What you should do, IMO, try to "learn to learn," rather than just "learn."

I mean, you should try to learn more about PHP, rather than a specific X framework.

Thus, when the time comes, and you need to build a scalable system [scalable not in my browser yet!], You can understand your path, experience. This is what I believe that Steve Jobs refers to connecting the dots in a famous speech.

+1
source share

Firstly, there web development is not a coin, but theres more than two sides. Theres many web development languages: PHP, .NET, Python, Ruby, etc.

Secondly, I don’t think you should look beyond the scope if you are new to web development / PHP. Learn the language first. Frameworks only set frames for specific conditions; therefore, when it comes to working with a different infrastructure or even vanilla PHP, you will be at a loss. Knowledge of PHP helps in choosing the right structure for the job. Investing in one structure in the early stages will make you extremely dependent and dependent on this structure.

I talk about this from experience. I once worked for an agency that hired PHP developers. During the interview, we received applicants who claimed that PHP developers would know in such a framework as CodeIgniter. When a simple programming task was given (take the phrase "everything is in uppercase" and make it capital), most failed. What for? Because they built everything within the framework and did not learn PHP itself. Therefore, when they were placed in a situation where their scope of choice was not available, they stumbled.

Do not make this mistake. The framework is good, but only when you know what you are doing, and definitely not as a tool for learning a language.

+1
source share

In the past, I used a lot of frameworks. I used CI to get started, and then switched to Yii when I got the experience. Framework can provide the project with tools that you don’t need to write yourself, saving time. However, performance issues may occur. CI is excellent and I did not have too many problems with this. You can reduce it and remove features that you are not using. With CI, I created a complete Web API with them without any problems.

I assume that I'm trying to say that this may be your preference or the preference of the client, based on which you can use.

0
source share

All Articles