Re: Benchmark framework article

2013-03-29 Thread deizel
Interesting if your planning on building a large scale web infrastructure 
of your own, less so if you plan on using some of the ~80% commodity 
hosting out there with PHP already installed.

It's a bit like me driving a 1985 Mk II Golf because it's easy to find 
cheap parts and someone saying a Nissan Skyline is better (because it's 
faster) while disregarding price of 
car/shipping/parts/insurance/fuel/labour/etc.

Either way, I think they missed a few key things (not that it would 
suddenly make PHP compete some of the top languages):

- They used the "old stable" PHP 5.3 instead of the faster "current stable" 
PHP 5.4 - maybe only 13% faster overall, but it seems to be able to sort 
arrays 45% faster (quicker than Python btw)

- They didn't enable APC or any other op-code caching - this can give you 
5x more requests per second (also, disable  `apc.stat` for another minor 
performance improvement)

- The raw PHP version uses a single database connection and a single 
prepared query in its loop, while the CakePHP benchmark doesn't even have 
persistent database connections enabled.

On Thursday, 28 March 2013 18:58:34 UTC, Miles J wrote:
>
> Found this article. Pretty interesting that Cake is last place in every 
> benchmark (given that it's multiple languages).
>
> http://www.techempower.com/blog/2013/03/28/framework-benchmarks/
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Benchmark framework article

2013-03-28 Thread Miles J
It may be ridiculous comparing such different frameworks/languages, but it 
does prove a good point on which ones would perform better given whatever 
scope your application needs to fulfill.

On Thursday, March 28, 2013 12:25:41 PM UTC-7, phpirate wrote:
>
> With all due respect but this benchmark is ridicules!, comparing native 
> coded application with a framework app doesn't make any sense, worst yet 
> comparing programming languages in terms of performance taking in mind the 
> natural diffs between programming languages, its almost like comparing 
> water with milk where both of them are liquids but each one of them has its 
> own use!
>
>
> On Thu, Mar 28, 2013 at 8:58 PM, Miles J 
> > wrote:
>
>> Found this article. Pretty interesting that Cake is last place in every 
>> benchmark (given that it's multiple languages).
>>
>> http://www.techempower.com/blog/2013/03/28/framework-benchmarks/
>>  
>> -- 
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to cake-php+u...@googlegroups.com .
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Benchmark framework article

2013-03-28 Thread Julien Itard
You're completely right.

Le jeudi 28 mars 2013 20:25:41 UTC+1, phpirate a écrit :
>
> With all due respect but this benchmark is ridicules!, comparing native 
> coded application with a framework app doesn't make any sense, worst yet 
> comparing programming languages in terms of performance taking in mind the 
> natural diffs between programming languages, its almost like comparing 
> water with milk where both of them are liquids but each one of them has its 
> own use!
>
>
> On Thu, Mar 28, 2013 at 8:58 PM, Miles J 
> > wrote:
>
>> Found this article. Pretty interesting that Cake is last place in every 
>> benchmark (given that it's multiple languages).
>>
>> http://www.techempower.com/blog/2013/03/28/framework-benchmarks/
>>  
>> -- 
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to cake-php+u...@googlegroups.com .
>> To post to this group, send email to cake...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Benchmark framework article

2013-03-28 Thread Ma'moon
With all due respect but this benchmark is ridicules!, comparing native
coded application with a framework app doesn't make any sense, worst yet
comparing programming languages in terms of performance taking in mind the
natural diffs between programming languages, its almost like comparing
water with milk where both of them are liquids but each one of them has its
own use!


On Thu, Mar 28, 2013 at 8:58 PM, Miles J  wrote:

> Found this article. Pretty interesting that Cake is last place in every
> benchmark (given that it's multiple languages).
>
> http://www.techempower.com/blog/2013/03/28/framework-benchmarks/
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Benchmark framework article

2013-03-28 Thread Miles J
Found this article. Pretty interesting that Cake is last place in every 
benchmark (given that it's multiple languages).

http://www.techempower.com/blog/2013/03/28/framework-benchmarks/

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Cakephp Benchmark with debug is 2 and 0

2012-05-31 Thread jeremyharris
I agree with euromark. There's literally no point in comparing the two, 
unless you are going to launch a production app in debug mode (uh).

On Thursday, May 31, 2012 8:12:59 AM UTC-7, euromark wrote:
>
> NO, i am saying that this shoudn't have been in this blog post in the 
> first place
> it is absolute nonsense to say that this a performance gain - since debug 
> 0 is the absolute requirement for any (live) app
> therefore there is nothing to compare
>
> you develop with 2, you deploy with 0
> 2 will always be slower (due to more debug stuff) - and no one actually 
> cares how much slower since only the productive one matters
>
> you see that there is no point in doing that?
>
>
>
> Am Donnerstag, 31. Mai 2012 16:22:01 UTC+2 schrieb Điển vũ:
>>
>> I  used ab apache's benchmark , command line: ab -k -n 100 http://b/ . 
>> please read this :
>>
>> https://gist.github.com/51757a95763fd8ac7b53 
>>
>> It seems debug 0 is litle faster compare with debug 2. But i remember in 
>> previous version debug 0 is a lot faster . 
>>
>>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Cakephp Benchmark with debug is 2 and 0

2012-05-31 Thread euromark
NO, i am saying that this shoudn't have been in this blog post in the first 
place
it is absolute nonsense to say that this a performance gain - since debug 0 
is the absolute requirement for any (live) app
therefore there is nothing to compare

you develop with 2, you deploy with 0
2 will always be slower (due to more debug stuff) - and no one actually 
cares how much slower since only the productive one matters

you see that there is no point in doing that?



Am Donnerstag, 31. Mai 2012 16:22:01 UTC+2 schrieb Điển vũ:
>
> I  used ab apache's benchmark , command line: ab -k -n 100 http://b/ . 
> please read this :
>
> https://gist.github.com/51757a95763fd8ac7b53 
>
> It seems debug 0 is litle faster compare with debug 2. But i remember in 
> previous version debug 0 is a lot faster . 
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Cakephp Benchmark with debug is 2 and 0

2012-05-31 Thread Điển vũ
I  used ab apache's benchmark , command line: ab -k -n 100 http://b/ . 
please read this :

https://gist.github.com/51757a95763fd8ac7b53 

It seems debug 0 is litle faster compare with debug 2. But i remember in 
previous version debug 0 is a lot faster . 

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Cakephp Benchmark with debug is 2 and 0

2012-05-31 Thread Steve Found

On 31/05/12 11:47, Điển vũ wrote:
I still think with debug is 0 , cakephp will be run faster when debug 
is 2.
But when i use ApacheBench : ab -n 100 http://example.com in localhost 
. It showed results is same.
I ever read this article: 8 ways to speed up Cakephp 
<http://www.pseudocoder.com/blog/8-ways-to-speed-up-cakephp-apps> from 
long time ago when cakephp 1.3

Did cakephp 2.0 improved performance  ?
--
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and 
help others with their CakePHP related questions.



To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this 
group at http://groups.google.com/group/cake-php


I'm not really sure I understand your message... are you saying that 
CakePHP performs the same with debug set to 2 as it does with it set to 0 ?


If this is the case, then I am sorry but the way you are performing your 
tests is probably very flawed since debug=2 will output far more per 
response than debug=0 does and should therefore be slower in benchmark 
tests.


You should have a look at what it is you are actually testing before 
assuming you have cake performance problems.


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.



To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Cakephp Benchmark with debug is 2 and 0

2012-05-31 Thread euromark
you cannot compare debug mode 2 and 0
thats nonsense and like comparing cars to screws


Am Donnerstag, 31. Mai 2012 12:47:46 UTC+2 schrieb Điển vũ:
>
> I still think with debug is 0 , cakephp will be run faster when debug is 
> 2. 
> But when i use ApacheBench : ab -n 100 http://example.com in localhost . 
> It showed results is same.
> I ever read this article: 8 ways to speed up 
> Cakephp from 
> long time ago when cakephp 1.3
> Did cakephp 2.0 improved performance  ? 
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Cakephp Benchmark with debug is 2 and 0

2012-05-31 Thread Điển vũ
I still think with debug is 0 , cakephp will be run faster when debug is 2. 
But when i use ApacheBench : ab -n 100 http://example.com in localhost . It 
showed results is same.
I ever read this article: 8 ways to speed up 
Cakephp from 
long time ago when cakephp 1.3
Did cakephp 2.0 improved performance  ? 

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Benchmark

2011-02-23 Thread Miles J
There is a plugin called the DebugKit. It monitors benchmarks, SQL,
variables, session, etc.

https://github.com/cakephp/debug_kit

On Feb 22, 11:36 pm, Chris DB  wrote:
> I am a new comer and fresh patissier for CakePHP. My Question: CakePHP
> use the concept of benchmarking to assess the performance of cake
> defined actions or methods of framework classes in response time?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Benchmark

2011-02-23 Thread Chris DB
I am a new comer and fresh patissier for CakePHP. My Question: CakePHP
use the concept of benchmarking to assess the performance of cake
defined actions or methods of framework classes in response time?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: New CakePHP, CodeIgniter, Zend Framework and Ruby on Rails Benchmark

2008-07-01 Thread Siegfried Hirsch

On Tue, Jul 1, 2008 at 5:33 PM, John David Anderson
<[EMAIL PROTECTED]> wrote:
>
> Two things to note:
and one more question:

the pages_controller is overridden for the test. Could this be a problem ?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: New CakePHP, CodeIgniter, Zend Framework and Ruby on Rails Benchmark

2008-07-01 Thread Nate

Also, he probably has no idea how to set up a Cake install.  He (and
you) would do well to refer to the benchmarks produced by Paul M.
Jones.

On Jul 1, 11:12 am, DragonI <[EMAIL PROTECTED]> wrote:
> Ekerete of AVNet Labs has performed "PHP framework comparison
> benchmarks"http://www.avnetlabs.com/php/php-framework-comparison-benchmarks.
>
> Cake performance - request per second aren't pretty. CakePHP
> 1.2.0.7125 rc1 was used! debug set to 0 - file caching is used.
>
> Anyway, read for yourself
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: New CakePHP, CodeIgniter, Zend Framework and Ruby on Rails Benchmark

2008-07-01 Thread John David Anderson

Two things to note:

1. He didn't use caching in any of the tests. This seems pretty silly,  
since almost *every* production website should be doing that.  
Essentially, if you're not planning on doing what you should be doing,  
you should be interested in these numbers.

2. His admitted CI preference and experience. Any wonder that CI  
magically appears at the top of every test?

-- John

On Jul 1, 2008, at 9:12 AM, DragonI wrote:

>
> Ekerete of AVNet Labs has performed "PHP framework comparison
> benchmarks" http://www.avnetlabs.com/php/php-framework-comparison-benchmarks 
> .
>
> Cake performance - request per second aren't pretty. CakePHP
> 1.2.0.7125 rc1 was used! debug set to 0 - file caching is used.
>
> Anyway, read for yourself
> >


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



New CakePHP, CodeIgniter, Zend Framework and Ruby on Rails Benchmark

2008-07-01 Thread DragonI

Ekerete of AVNet Labs has performed "PHP framework comparison
benchmarks" http://www.avnetlabs.com/php/php-framework-comparison-benchmarks.

Cake performance - request per second aren't pretty. CakePHP
1.2.0.7125 rc1 was used! debug set to 0 - file caching is used.

Anyway, read for yourself
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Benchmark

2008-06-04 Thread Marcin Domanski

And another thing - these things differ from php version to php version...

On Wed, Jun 4, 2008 at 1:09 AM, Grant Cox <[EMAIL PROTECTED]> wrote:
>
> I agree, these artificial benchmarks are useless.  The "modify loop"
> benchmark showing foreach being 80x slower than while surprised me, so
> I gave it a quick test here.  I found quite the opposite, with
>
> foreach($data as $key => $val) $data[$key] .= 'a';
>
> being 5x faster than the while loop.  But then I tested an array with
> 100K elements, so was comparing 0.09 seconds to 0.5 seconds.  The link
> provided tests an array with 100 elements - and so is comparing
> _microseconds_.  Neither is "correct", they both just test different
> artificial, and trivial, cases.
>
> So basically, none of this stuff matters - until it matters in your
> app.  When your big collation function that loops over millions of
> elements is running slowly, then it might be worth looking into these
> kind of optimisations.
>
>
>
> On Jun 4, 1:21 am, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
>> it would be good to test it in real life app.
>>
>>
> >
>



-- 
Marcin Domanski
http://kabturek.info

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Benchmark

2008-06-03 Thread Grant Cox

I agree, these artificial benchmarks are useless.  The "modify loop"
benchmark showing foreach being 80x slower than while surprised me, so
I gave it a quick test here.  I found quite the opposite, with

foreach($data as $key => $val) $data[$key] .= 'a';

being 5x faster than the while loop.  But then I tested an array with
100K elements, so was comparing 0.09 seconds to 0.5 seconds.  The link
provided tests an array with 100 elements - and so is comparing
_microseconds_.  Neither is "correct", they both just test different
artificial, and trivial, cases.

So basically, none of this stuff matters - until it matters in your
app.  When your big collation function that loops over millions of
elements is running slowly, then it might be worth looking into these
kind of optimisations.



On Jun 4, 1:21 am, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
> it would be good to test it in real life app.
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: PHP Benchmark

2008-06-03 Thread Marcin Domanski

it would be good to test it in real life app.

On Tue, Jun 3, 2008 at 3:56 PM, Jonathan Snook <[EMAIL PROTECTED]> wrote:
>
> I thought that this link would be relevant to all Cake developers.
>
> http://www.phpbench.com/
>
> The most interesting part is the use of while loops instead of
> foreach. Should I submit a patch for that? :)
> >
>



-- 
Marcin Domanski
http://kabturek.info

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



PHP Benchmark

2008-06-03 Thread Jonathan Snook

I thought that this link would be relevant to all Cake developers.

http://www.phpbench.com/

The most interesting part is the use of while loops instead of
foreach. Should I submit a patch for that? :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Functional benchmark Rails - Django - CakePHP

2006-10-18 Thread jchatard

Thank you guys for your precisions, I've modified the document, thanks
to you.

I'll will let you know when the benchmark is published!

Jérémy


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Functional benchmark Rails - Django - CakePHP

2006-10-18 Thread nate

Well, I don't want to do *all* your work for you, but this may be of
help:

http://cake.insertdesignhere.com/files/cakephp.xls


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Functional benchmark Rails - Django - CakePHP

2006-10-18 Thread Andre Medeiros

First off, CakePHP _HAS_ code generation (see the bake script).

I believe that skills needed should be OO and general knowledge about
PHP.

Ajax / Javascript FX requires an external library to be downloaded and
extracted to the js folder on the web root dir. You already have
built-in functions that handle AJAX calls.

HTML helpers are included that generate links, image tags, and most
form elements (including date / time selectors)

The code is pretty straightforward. Here is a sample:
--8<--
data)) {
$member =& new Member();
$memberInfo = 
$member->findByNick($this->data['Member']['login']);
if(!$memberInfo ||
$memberInfo['Member']['password'] !=
$member->encodePassword($memberInfo['Member']['nick'],
$this->data['Member']['password'])) {
$loginError = 1;
}
else {
if(!$memberInfo['Member']['activo']) {
$loginError = 2;
}
}

if($loginError) {
$this->Session->write('login_error', 
$loginError);
}
else {
$this->Session->write('Member', 
$memberInfo['Member']);
}
}
$this->redirect('/');
}

function logout() {
$this->Session->delete('Member');
$this->redirect('/');
}
}
?>
--8<--

The installation is easy. Just extract the framework to a folder, and
configure the database. It's a smart enough cookie to configure all the
paths correctlly for you (and keeps them in handy constants too)

Community: check http://www.cakephp.org/ (IRC, this google group, the
bakery and the wiki). People on IRC are friendlly too. They bash you in
the head with style for not reading documentation ;)


On Oct 18, 11:17 am, "jchatard" <[EMAIL PROTECTED]> wrote:
> MJ Ray wrote:
> > Can you publish it in a web format (html, text, PDF, even CSV...) 
> > please?Ok, here it is :http://www.jchatard.info/cakephp.html
> 
> Jérémy


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Functional benchmark Rails - Django - CakePHP

2006-10-18 Thread jchatard

MJ Ray wrote:
> Can you publish it in a web format (html, text, PDF, even CSV...) please?

Ok, here it is :
http://www.jchatard.info/cakephp.html

Jérémy


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Functional benchmark Rails - Django - CakePHP

2006-10-18 Thread MJ Ray

Jérémy wrote:
> You can find the sheet at http://www.jchatard.info/cakephp.xls

Can you publish it in a web format (html, text, PDF, even CSV...) please?

Thanks,
-- 
MJ Ray <[EMAIL PROTECTED]>  www.ttllp.co.uk  +44-870-4321-9-10
Web, localisation, koha, databases, GNU/Linux and statistics.
Registered in England and Wales, partnership number OC303457

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---