open source PHP web application framework that can dramatically reduce the amount of coding required in developing a full-featured website
and dramatically increase the amount of unnecessarily executing code.
if your project doesn't function, how could you not have seen that without mocking it up? and if it does work, now you have to recode it completely to make it scalable. i never understand the lure of these development platforms on top of development platforms.
the layers and layers are unnecessary steps in the procedural logic pathways that result in increased latency and overall memory footprint... generally the very first things addressed when optimizing a system.
I'm aware - I'm not saying that using a framework is great idea for a highly scalable system, only that CI is probably the *least bad* of all the PHP frameworks.
And honestly, if you're that concerned about scalability, you're not going to be using PHP.
Facebook has grown organically from a very small site. If you had to write Facebook, knowing that it would grow to the size it is today, would you use PHP?
I know that it isn't always the smoothest, but Facebook is PHP, and is pretty fricken huge.
Sort of. According to what an employee told me last week, lots of the core services are written in other languages, and then PHP is the glue that queries those services and builds the page itself. They then have found that that really isn't fast enough for what they want, so they've written their own compiler (Hip Hop [github.com]), which compiles PHP down to C++ which can then be compiled by G++.
As a result of using PHP, they have an awful server/visitor ratio, far worse than what most large scale webapps accomplish using alternate languages. And on top of this, their 'PHP' isn't really what most people consider PHP, compiled to C++, etc.
I agree. Rasmus even says "Any script based language is simply not fast enough". And frameworks are going to slow you down as well. But, when you compare how many real high traffic sites there are on the internet to how many low to medium traffic sites there are, you can clearly see that there is a place for PHP frameworks. Maybe not at the most elite levels, but definitely a big place. I think of PHP as the Toyota of web application languages (especially apt in light of Toyota's recent history)
maybe if Toyota's were offered with mr. fusion options to turn garbage into fuel...
PHP with the zend optimizer or any other compile/cache bytecode tools, has performance not worse than 10% of "pure" compiled servers doing the same tasks.
I would also argue that once an application gets big enough that it needs that level of optimization, it probably needs to be rewritten anyhow, and you can afford to hire the best of the best to do it.
i've heard of several sites that use Drupal, but don't frequent any of them.... i know many many sites run on custom frameworks in PHP and Python or similar. nowadays, there is generally a rpc service layer with minimized custom clients/servers, but i've seen many of those running PHP on lighttpd and getting similar throughput results to purely custom rpc servers written in python or C.
In my experience, the only decent PHP framework is Wordpress. Seriously, you can do a hell of a lot with very little work just by creating a theme and using three or four plugins. You can crank out an awesome, somewhat customized (feature-wise, I mean), client-editable site in a day, counting the graphics work, and 99% of the maintenance is just updating Wordpress when a bugfix or new version comes out. It's hard to beat that for smaller sites.
I've found that if I can't do it without any framework or wit
Philosophy: A route of many roads leading from nowhere to nothing.
-- Ambrose Bierce
another PHP framework... (Score:1)
open source PHP web application framework that can dramatically reduce the amount of coding required in developing a full-featured website
and dramatically increase the amount of unnecessarily executing code.
if your project doesn't function, how could you not have seen that without mocking it up? and if it does work, now you have to recode it completely to make it scalable. i never understand the lure of these development platforms on top of development platforms.
Re:another PHP framework... (Score:2)
Then again, i can think of several high-traffic sites using Django, but not of a single one using a PHP framework...
Re: (Score:1)
Re: (Score:2)
I'm aware - I'm not saying that using a framework is great idea for a highly scalable system, only that CI is probably the *least bad* of all the PHP frameworks.
And honestly, if you're that concerned about scalability, you're not going to be using PHP.
Re: (Score:1)
And honestly, if you're that concerned about scalability, you're not going to be using PHP.
I know that it isn't always the smoothest, but Facebook is PHP, and is pretty fricken huge.
Re: (Score:2)
Re: (Score:2)
I know that it isn't always the smoothest, but Facebook is PHP, and is pretty fricken huge.
Sort of. According to what an employee told me last week, lots of the core services are written in other languages, and then PHP is the glue that queries those services and builds the page itself. They then have found that that really isn't fast enough for what they want, so they've written their own compiler (Hip Hop [github.com]), which compiles PHP down to C++ which can then be compiled by G++.
So yeah, facebook uses it. But
Re: (Score:1)
Re: (Score:1)
Re: (Score:1)
PHP with the zend optimizer or any other compile/cache bytecode tools, has performance not worse than 10% of "pure" compiled servers doing the same tasks.
Re: (Score:2)
Re: (Score:1)
Re: (Score:2)
In my experience, the only decent PHP framework is Wordpress. Seriously, you can do a hell of a lot with very little work just by creating a theme and using three or four plugins. You can crank out an awesome, somewhat customized (feature-wise, I mean), client-editable site in a day, counting the graphics work, and 99% of the maintenance is just updating Wordpress when a bugfix or new version comes out. It's hard to beat that for smaller sites.
I've found that if I can't do it without any framework or wit