Tagged Questions
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 ...
46
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
26
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
5k 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
23k 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:
...
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 ...
20
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 ...
19
votes
5answers
17k 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" ...
19
votes
5answers
14k 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 ...
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
22k 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 ...
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 ...
15
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
5answers
7k views
CakePHP 2.0 - How to make custom error pages?
I read that the AppError class is now for backwards compatibility and that Exceptions should be used instead. How does one go about creating custom error pages for things like 404 errors, or ...