Do I need a special web host to be able to utilize a PHP framework like CakePHP or Symfony?
Do I need a special feature on a web host to be able to utilize a PHP framework like CakePHP or Symfony?
If so, what feature am I looking for?
开发者_StackOverflow中文版If not, are they hard to install?
No you dont, and they are quite easy to install. However you would need to have some knowledge of how to use those MVCs.
if you want to choose web host for Framework, make sure you watch the PHP Version including its extention and configuration except your webhost is VPS class or above.
Iw will be wise if you consult to webhost you choose about which framework will you install.
Most of framework i know, all is really to install. especially if it has good documentation.
if you still not sure what Framework you will use, it will be better if you choose framework with good documentation.
Firstly you have to ask yourself some questions;
Do you really need to use Framework? If you are working on a small project, working it with such frameworks will just make your web pages work slower than they normally would. They have too many features which you might not need and eventually those features which you don't even use will use resources.
Do you really want to go through all user guide? Don't forget even for the simple query you want to make, you have to read the user guide. Security measures, queries, URLs, forms, templates etc.. etc.. You might want to save yourself sometime but eventually you would have to spare some time first to learn how to use them.
If you want to use framework, use it for bigger projects. This might save you time (considering you don't have all the features they offer in your library). Make sure Framework you are going to use can do better than you can.
Generally their requirements will match many hosts. Asking for extra requirements to run, will decrease their popularity.
I never used framework, instead I coded my own but I took a look at CodeIgniter. If you want to use framework, I wouldn't suggest to use CakePHP. I heard it is using too much memory. I believe CodeIgniter is rising star.
To answer your other question; They are easy to install. Each of them might be different, you have to read user guide but it is not like extract it, put it in a folder and they are ready to run. You have to first configure them (you might need to configure some folders, paths etc).
精彩评论