Re: Cake PHP running dead slow

2007-07-31 Thread PiLLo
Hi housebolt, I would like to know a tool capable of simulate a heavy load on the server in order to identify which part of the code is producing a bottle neck. On development environment everything seems ok, but on production environment I set 0 the debugger flag , but I am missing something b

Re: Unit Test

2007-07-26 Thread PiLLo
> or do you want something like this:http://jakarta.apache.org/jmeter/ > > On Jul 26, 2:32 pm, PiLLo <[EMAIL PROTECTED]> wrote: > > > Does anyone know how can I test a web application created with cake? > > Because most of the queries are delegated to the framework b

Unit Test

2007-07-26 Thread PiLLo
Does anyone know how can I test a web application created with cake? Because most of the queries are delegated to the framework but it tooks a lot of time (6000 ms per query) and the tables are near 10 with only 100,000 registers...so i would like to optimize de scripts and tests as Java Junit doe

$html->tagErrorMsg

2007-06-12 Thread PiLLo
I'm a little frustrated because i have a problem invoking de $html- >tagErrorMsg on one of my views. As a resume i present the next files: * View: add_admin.thtml formTag('addAdmin','post'); ?> Usuario: input('User

Re: getLastInsertId and 'connection pooling'

2007-06-04 Thread PiLLo
Perhaps this could figure out more about getLastInsert(); i found more issues about that in this link: http://groups.google.com.mx/group/cake-php/browse_thread/thread/cf7e6979f69833b3/8b44638067dd05fa?lnk=gst&q=connection&rnum=12&hl=es#8b44638067dd05fa On 1 jun, 21:30, cakePHP <[EMAIL PROTECTED

dynamic connection according environment

2007-06-04 Thread PiLLo
Hi, following the MVC ideology, does anybody know how to change the connection according to the environment where we publish an application? For example, in a development enviroment I have http://Tequila and on the models I declare $useDbConfig="development_connection"; So the problem begins when