CakePHP (11)

1 Name: #!/usr/bin/anonymous : 2006-06-21 07:38 ID:EYK46pow

Requesting your experience, comments, insight, etc. on CakePHP, thanks. (BTW, you can go into details, I'm not a 16 year old copypasta script kiddie.)

2 Name: #!/usr/bin/anonymous : 2006-06-21 13:22 ID:EWlRfL1n

In that case, maybe you could also make a proper introduction of the subject. I'm pretty sure a lot of people have no idea what you're talking about, but would be interested if they did.

3 Name: #!/usr/bin/anonymous : 2006-06-21 14:16 ID:/cANEpbd

It's a PHP framework similar to Ruby on Rails. http://phpcake.org/

4 Name: #!/usr/bin/anonymous : 2006-06-21 14:16 ID:Heaven

Sorry, wrong link, http://cakephp.org/ is what I meant.

5 Name: #!/usr/bin/anonymous : 2006-06-21 15:15 ID:EYK46pow

>>2
Sorry. Yeah, it's an idiomatic port of Ruby on Rails for PHP (a MVC-based framework for rapid web applications development). It looks pretty good and pretty clean, and I would like to hear Anonymous' experience if he/she has worked with it for a long time.

6 Name: #!/usr/bin/anonymous : 2006-06-30 06:12 ID:9U0HV2uI

I've actually looked through the code of it, and there are parts of it that I find a tad excessive. Live if you name your model "Tags" then it will automatically associate it with a controller class called "TagController" and it will associate it with a particular 'tag' table in the db... But all of this is done through functions that try to 'singularize' a plural word, or 'pluralize' a singular word.

I think this is a little much to run through in a webapp. If it was something that was run through just once, that's fine. But this is run through a lot. I don't like this trade-off of inefficiency in order to make things easier.

7 Name: Albright!LC/IWhc3yc : 2006-07-02 05:50 ID:Heaven

Wow. Someone thought that was actually a good idea when they wrote that?

Meh.

8 Name: #!/usr/bin/anonymous : 2006-07-05 09:43 ID:EYK46pow

>>6
Yeah, I noticed that when I tried it. I thought it was silly (I would just calle everything Tag), but overall acceptable. After all, if you're in for maximum performance, don't use a framework. (That's not to say let's waste it happily, but these are small, relatively inoffensive functions.)

9 Name: #!/usr/bin/anonymous : 2006-07-05 22:13 ID:9U0HV2uI

>>8
The problem is that the functions change between singular and plural running an array of RegEx strings through preg_* functions.

They do a good job of allowing you to customize things. Some of the classes have empty functions that are Before<action> After<action> which are called before and after an action. So you can overload them in a sub-class if you need something to happen before or after a delete is preformed, for example.

10 Name: #!/usr/bin/anonymous : 2008-03-02 23:53 ID:tlE2WbY/

cake.jar

11 Name: #!/usr/bin/anonymous : 2008-03-14 14:25 ID:Heaven

is a lie .. is a lie .. is a lie ..

This thread has been closed. You cannot post in this thread any longer.