Good PHP platform to run on web hosting?

I would like to create some small sites using PHP as a programming language. I looked at a few frameworks, but they all seem pretty big and are not sure how much they will work in a shared hosting environment. I was wondering if anyone knows about wireframes that work well on hosting? I'm looking for something with MVC and ORM functions, and everything else is just a bonus.

+7
php frameworks
source share
10 answers

CakePHP. I do not understand why this will not work on shared hosting.

+3
source share

ElignLabs codeigniter ( http://codeigniter.com/ ) should fit the bill like a glove.

This is my pick when I do php projects.

+9
source share

Although I personally love CakePHP, and I have done a lot of projects for clients running on shared hosts, and it works very well, if the light area of ​​attention is really important to you, CodeIgniter will be my choice.

+4
source share

As already mentioned, CodeIgniter is a great PHP framework. It has an excellent user guide, community and easy track.

+2
source share

Check out one more vote for CodeIgniter - it is really easy and fast to learn, and it is very easy, so good on shared hosting.

+2
source share

Since you're talking about small applications, this probably doesn't matter. CodeIgniter seems to be the fastest.

However, for large applications (or those that can become large (we are talking about loading, not the amount of code)), I suggest not using a “general" framework at all. They can speed up development a lot , but in most cases they are real computer energy killers.

According to - for example, some tests by Paul M. Jones combine about 90% -97% of system resources (CodeIgniter scored well only 85%). This means that if your computer can handle 100 requests per second using the framework, you will have only 15 possible requests left before the server starts to boom.

Of course, the results will depend on the application. Paul tests were simple "Hello World" pages with no database and no other calculations. Obviously, the "application / framework" relationship will change dramatically if you add application logic.

Do not try to prevent you from using the framework ... Just trying to make you think before you start coding ...

+2
source share

Kohana is also a good choice. Initially seconded by CodeIgniter, it has now been rewritten as a real open source PHP5 project that is optimized for speed, rapid development, and flexibility.

Lateral note / disclosure, I was initially involved in a fork that formed in Cohan. CodeIgniter (at least about a year or two ago when I was involved) is not very open to user contributions. I had several improvements and bug fixes in which I made corrections that ended up rotting as they were ignored *. As a result, several people showed great interest in their contribution, and while Kohana is based on all the same principles and ideas as CodeIgniter, the implementation is much better and much easier to work with.

(*: not because of the quality of the code, just to simply not be interested, because it did not necessarily correspond to the direct direction of Ellislabs, because it was support for their commercial product. Even if he made a great contribution to the library, it would be required, so that they rewrite / modify everything that they built on top, this would be ignored.)

+2
source share

I really like CakePHP, it's simple and has pretty good documentation. I installed it quite easily on MediaTemple, I just had to change the webroot variable in the configuration file.

+1
source share

Qcodo is another review option.

+1
source share

Take a look at Sonic. It was built very quickly and quickly. The basic structure is less than 3,000 lines of code, and you can create a complete application with only one 26 KB file.

It has an extension infrastructure that allows you to install extensions on top of it (ORM, database, cache, etc.).

view website: http://sonicframework.com

view source: http://github.com/ccampbell/sonic

0
source share

All Articles