82
votes
21answers
13k views

PHP Framework Decision - Analysis paralysis! [closed]

OK, sorry in advance for the length of this question! I've spent ages reading about the pros and cons of all the major PHP Frameworks (i.e. Zend, CakePHP, Symfony, CodeIgniter, etc., etc.). I've also ...
45
votes
19answers
14k views

Which PHP framework is closest to Ruby on Rails? CakePHP? CodeIgniter? [closed]

I'm going to be switching back and forth between Ruby on Rails projects, and some as-of-yet undecided PHP MVC framework projects. Which of the PHP MVC frameworks out there (CakePHP, CodeIgniter?, ...
30
votes
9answers
25k views

symfony vs cakephp [closed]

What is conceptually the difference between symfony and cakephp?
25
votes
12answers
8k views

To Use a PHP Framework or Not?

I've started writing a few applications in PHP, and I'm becoming more familiar with the language. Someone told me about CakePHP, and CodeIgniter. I wanted to get a better understanding of how these ...
24
votes
3answers
4k views

Speeding up CakePHP

I've been a keen fan and user of CakePHP for about 2.5 years now, but the main bugbear that most fellow developers level at the framework is that it's slow, and the dispatch cycle takes too long to ...
22
votes
3answers
15k views

Asynchronous processing or message queues in PHP (CakePHP)

I am building a website in CakePHP that processes files uploaded though an XML-RPC API and though a web frontend. Files need to be scanned by ClamAV, thumbnails need to be generated, etcetera. All ...
21
votes
3answers
21k views

“[notice] child pid XXXX exit signal Segmentation fault (11)” in apache error.log [closed]

I am using Apache/PHP/MySQL stack. Using as framework CakePHP. Every now and then I get a blank white page. I can't debug it through Cake, so I peek in the apache error.log and here's what I get: ...
19
votes
1answer
4k views

Xdebug and No Profiling Output

This is a similar problem to XDebug profiling in PHP - can't get output but mine is on windows and I have the full path specified (which solved his problem) I am not getting any output even ...
19
votes
1answer
21k views

CakePHP ACL Database Setup: ARO / ACO structure?

I'm struggling to implement ACL in CakePHP. After reading the documentation in the cake manual as well as several other tutorials, blog posts etc, I found Aran Johnson's excellent tutorial which has ...
19
votes
2answers
3k views

Unit testing in CakePHP?

I'm wondering, how do you guys unit-test in CakePHP? How do you incorporate tests in projects? What parts of a project do you test? How do you decide which parts gets to be unit-tested? Do you guys ...
18
votes
4answers
16k views

CakePHP: Find where field is not null

I need to select all rows where User.site_url is not null. It's simple enough to do this in a regular MySQL query but how is this done in CakePHP? The manual mentions the following: array ("not" ...
17
votes
5answers
12k views

Set Response Status Code

I have an API call for which I need to be able to run some checks and potentially return various status codes. I don't need custom views or anything, I just need to return the proper code. If the user ...
17
votes
3answers
2k views

What is PHP's session.referer_check protecting me from?

I'm making a system with CakePHP that needs to be decently secure, because we're dealing with money, customer's accounts, etc. So far everything's been working great, until I've had to integrate with ...
14
votes
4answers
4k views

Are Symfony and CakePHP too slow to be usable?

Until now, I have always said that CakePHP is too bloated and slow. I don't really know that, I just saw "some" benchmarks. What I really want to know, is that if those two frameworks (Symfony and ...
13
votes
10answers
913 views

Should someone with no PHP experience use a framework like CakePHP or Symfony?

I have a simple site to develop and would like to learn PHP as I go. I want the site to be secure, scalable, and easy to maintain. Should I learn a framework and PHP simultaneously? If I build off ...

1 2 3 4 5 364
15 30 50 per page