Element caching using memcache

2010-07-25 Thread DragonI
Are there any plans for an option to enable element caching via memcache? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this g

Re: Memcached

2010-07-10 Thread DragonI
Checkout memcached monitoring tool created by Harun Yayli - http://livebookmark.net/journal/2008/05/21/memcachephp-stats-like-apcphp/ You'll have to change $MEMCACHE_SERVERS[] = 'mymemcache-server1:11211' to use your server settings On Jul 9, 10:05 pm, Hugo M wrote: > I've configured memcached a

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 --~--

Re: Twitter Component

2008-04-17 Thread DragonI
Unfortunately upgrading to 6679 didn't work for me. I get the same error ;( BUT Siegfried's suggestion did work uses('xml'); App::import('Core', array('HttpSocket')); On Apr 17, 2:16 pm, strangy <[EMAIL PROTECTED]> wrote: > I'm glad you manage to get it working. > I've updated my cake

Re: Twitter Component

2008-04-17 Thread DragonI
t I'm not using any helper. > I will try tonight, when I get back from work, with the nighly build > of cake and see why it does not work. > > Enjoy! > > On Apr 17, 1:34 am, DragonI <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I'm getting Class '

Re: Twitter Component

2008-04-16 Thread DragonI
Hi, I'm getting Class 'AppHelper' not found in D:\webApps\cakePHP \cake_1.2.x.x_16.04.2008\cake\libs\view\helpers\xml.php on line 37 I've applied fixes suggested via bakery & here; removing space from user_show and changing Basic to basic in __getAuthHeader. Sorry, I don't have git. I'm using l

Re: organizing controlleres into subdirectories

2008-04-09 Thread DragonI
Coolio! But does anyone know what the overhead/performance is like? On Apr 9, 11:35 am, Daniel Hofstetter <[EMAIL PROTECTED]> wrote: > > > You no longer have to set the paths to models and controllers which > > > are in subfolders of app/models resp. app/controllers, cake > > > automatically fin

Re: CookBook PDF

2008-03-08 Thread DragonI
I agree with Woodsman. But it's a nice to have. I think the goal should be to complete the "manual" 1st. Chris using your logic, what's the use of the 2 books coming out if 1.2 isn't finalized yet? On Mar 8, 11:04 pm, the_woodsman <[EMAIL PROTECTED]> wrote: > I think it would be great if the bi

Re: CakePHP v1.2 stable enough for production?

2008-03-06 Thread DragonI
Also check open bugs! https://trac.cakephp.org/report/1 On Mar 6, 7:44 am, Greg Baker <[EMAIL PROTECTED]> wrote: > thanks for the tips. sorry to rehash an already answered question. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: error of memory???

2008-03-03 Thread DragonI
Hey Cristian, I'd loved to see/hear more about your performance tricks. I've been using "$uses" and now to hear that it bytes in terms of performance really sucks. I guest "automagic" comes at a price. On Feb 23, 1:59 pm, Cristian Vrabie <[EMAIL PROTECTED]> wrote: > Well Iusemore tricks but I

Re: Model primarykey

2008-02-25 Thread DragonI
I'm with you, we have some production tables that use compound keys. The app is like 5 years old! Oh well, if we ever convert this over, there's this small thing called SQL we'll be using ;) Anyway, it's good to find this out now. On Feb 13, 9:58 am, avairet <[EMAIL PROTECTED]> wrote: > I have a

Re: behavior acts_as_list

2008-02-11 Thread DragonI
Baz, You've hit the nail on the head from both ends :) You should post this on your blog. The result will be novices/newbies will just say screw it and move on to another more friendly community. The seasoned cakers will get frustrated and stop helping/mentoring. This is absolutely lose lose sit

Re: 1.2: Pagination and Manual Query?, Can this be done? If so , how?

2008-02-06 Thread DragonI
handles all the paging stuff? >3. Or is this one of those magic things again where just overriding >paginate() and pageCount() magically make stuff work? > > -- > Baz L > Web Development 2.0http://WebDevelopment2.com/ > > On Feb 6, 2008 12:17 PM, DragonI <[EMAIL PROTE

Re: 1.2: Pagination and Manual Query?, Can this be done? If so , how?

2008-02-06 Thread DragonI
; $this->findByName() with $this->query() (since they should return the same > structure) and also stick a count in ur statement to populate paginateCount. > > See if it works. > -- > Baz L > Web Development 2.0http://WebDevelopment2.com/ > > On Feb 6, 2008 10:41 AM, Drag

Re: 1.2: Pagination and Manual Query?, Can this be done? If so , how?

2008-02-06 Thread DragonI
oogle.com/group/cake-php/web/frequent-discussions > > On Feb 6, 10:28 am, DragonI <[EMAIL PROTECTED]> wrote: > > > I'm wondering if it's possible to use cake's pagination with a manual > > query ($this->query)? > > > I understand that I have to dete

1.2: Pagination and Manual Query?, Can this be done? If so , how?

2008-02-06 Thread DragonI
I'm wondering if it's possible to use cake's pagination with a manual query ($this->query)? I understand that I have to determine the offset and I have to get the total records myself. But I'm stumped because paginate is expecting the model name. Thanks. --~--~-~--~~~

Re: CakePHP guide

2008-02-04 Thread DragonI
Great work John!! Really forward to reading this. On Feb 4, 8:41 pm, "John David Anderson (_psychic_)" <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008, at 6:23 PM, Keith wrote: > > > > > > > On Feb 4, 11:48 am, nate <[EMAIL PROTECTED]> wrote: > >> John gets little to no help from outside contributor

Re: CakePHP weekly summaries

2008-01-04 Thread DragonI
I concur with Brian! Great work Christian On Jan 4, 5:41 pm, [EMAIL PROTECTED] wrote: > your english is great. I understood every word. > > : ) > > Any information on Cake is great, both for the community and for > adoption of the framework. > > I'd say keep it up. > > brian fidler > > Quoting Ji

Re: Do you hardcode your menu links?

2007-12-04 Thread DragonI
I store menu and submenu links in a config file as an array which is loaded and cached in beforeRender in app_controller. I have my own menu helper which displays the menu in an element $config['mainMenu'] = array( 1 => array( 'title' => 'Home', 'url' => '/', 'desc' =>

Re: Nightly builds?

2007-11-15 Thread DragonI
Thanks Gwoo ;) On Nov 15, 3:08 am, Gwoo <[EMAIL PROTECTED]> wrote: > We moved to a new server and there is an issue with the build script. > We have to run it by hand right now, which we try to do on a regular > basis. We are hoping to have the problem resolved shortly, but to be > honest its not

Re: Nightly builds?

2007-11-14 Thread DragonI
Yeah, this is becoming a regular but unwanted feature. Basically, a hit and miss. I wonder what absolute newbies think when they opening up the zip/tar to find nothing but dead air! Not leaving a great impression. On Nov 13, 9:22 am, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > As in? > > how the

Re: Nightly builds

2007-10-25 Thread DragonI
unfortunately, it's a known issue! On Oct 25, 11:29 pm, DanielMedia <[EMAIL PROTECTED]> wrote: > Is this the correct url for downloading nightly builds? > > http://cakephp.org/downloads/index/nightly/1.2.x.x > > When I download the ".gz" file its only 1kb in size and when I extract > it, it just

Re: Nightly Build Problem: 1.2.x.x_17.09.2007.tar.gz is only 20 bytes!

2007-10-13 Thread DragonI
1.2.x.x_12.10.2007.tar.gz is also pouched! On Sep 18, 10:11 pm, DragonI <[EMAIL PROTECTED]> wrote: > Hi Samuel, > > Well, it's pouched again. So you can check for yourself ;) > > On Sep 18, 10:10 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > &

Re: Nightly Build Problem: 1.2.x.x_17.09.2007.tar.gz is only 20 bytes!

2007-09-18 Thread DragonI
Hi Samuel, Well, it's pouched again. So you can check for yourself ;) On Sep 18, 10:10 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > yea that's not the actual download, it's a page with links to it. > > On 9/17/07, DragonI <[EMAIL PROTECTED]&g

Re: Nightly Build Problem: 1.2.x.x_17.09.2007.tar.gz is only 20 bytes!

2007-09-18 Thread DragonI
Hey Adam, Good One ;) On Sep 18, 12:54 am, "Adam Royle" <[EMAIL PROTECTED]> wrote: > The cakePHP team are very code-efficient. : ) > > - Original Message - > From: "DragonI" <[EMAIL PROTECTED]> > To: "Cake PHP" > Sent:

Nightly Build Problem: 1.2.x.x_17.09.2007.tar.gz is only 20 bytes!

2007-09-17 Thread DragonI
Hi, I just wanted to point out that the nightly build file, 1.2.x.x_17.09.2007.tar.gz from http://cakephp.org/downloads/index/nightly/1.2.x.x is only 20 bytes. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Re: problem with date() and $form->input() when type => date

2007-08-28 Thread DragonI
Here's something you should look at "ADOdb Date Time Library", http://phplens.com/phpeverywhere/adodb_date_library. "PHP native date functions use integer timestamps for computations. Because of this, dates are restricted to the years 1901-2038 on Unix and 1970-2038 on Windows due to integer over

The nightly build for 1.2 file problem

2007-08-07 Thread DragonI
Hi, The nightly build file, 1.2.x.x_06.08.2007.tar.gz from http://cakephp.org/downloads/index/nightly/1.2.x.x is only 45 bytes! Where else can I snag the latest build? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Newbie 1.2: Using APC and memcache

2007-05-27 Thread DragonI
Thanks Chris, I guess it's time to dig into the code On May 27, 8:10 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 5/27/07, DragonI <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > Based on core.php, it seems that you can only use on

Newbie 1.2: Using APC and memcache

2007-05-26 Thread DragonI
Hi, Based on core.php, it seems that you can only use only one of the caching engines. Can you use APC and memcache at the same time without screwing things up? Reason is I want to load some of my stuff, i.e. menus into shared memory via APC Thanks --~--~-~--~~~---~

Re: 1.2.0.5137alpha: form->textarea and validation doesn't work

2007-05-21 Thread DragonI
('body', array('label'=>'Description', > 'type'=>'textarea', 'rows'=>'15')); > > Take a look at the input implementation again, there you find all the > bells and whistles. > > Siegfried > > 20

Re: LOG_DEBUG doesnt work

2007-05-21 Thread DragonI
I have the same problem in 1.2.0.5146alpha. I even tried setting DEBUG to 0. Same deal - message gets logged in error.log. On May 21, 6:05 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Do you have a directory 'tmp/logs' in your application directory? > If not create it. > > I did have the

1.2.0.5137alpha: form->textarea and validation doesn't work

2007-05-20 Thread DragonI
Hi, When I'm trying to use the textarea form helper with validation, it doesn't work - all I get is my page displayed without the form fields being displayed. Model: var $validate = array( 'title' => array (

Validation 1.2 and form errors

2007-05-20 Thread DragonI
Hi, I want to do 2 things: 1. display a general error message at the top of the form when an error occurs 2. display error messages above the field instead of below as is being done in 1.2 How can I access the array of errors? Also how do I perform pattern matching? Thanks Newbie ;) --~--~--

Howto: Change "404 Not found" pageTitle?

2007-05-14 Thread DragonI
Hi, When I set DEBUG to 0 and I test with bogus controller names, I get "404 Not found" as the pageTitle - which is perfect. But is there a way of overriding / changing the page title? Thanks --~--~-~--~~~---~--~~ You received this message because you are subsc

MySQL Stored Procedure Support?

2007-04-23 Thread DragonI
I've searched the net and this forum and couldn't find an answer to whether cakePHP supports MySQL's stored proc's. Does it? If so, where can I find the doc's or even hacks? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Newbie: Can cake routing handle this?

2007-04-17 Thread DragonI
Great thanks I'm going to download cake try it out :) On Apr 17, 8:55 pm, gwoo <[EMAIL PROTECTED]> wrote: > you would need to setup a route for all your controllers. then have > the catch all as the last route in the chain. --~--~-~--~~~---~--~~ You received thi

Newbie: Can cake routing handle this?

2007-04-17 Thread DragonI
Hi, I know the traditional route is http://domain/controller/action but can you do this http:/domain/username ? Where username can be routed to a "default" controller, i.e. username. If so, can I create my own controller name - something other username? Thanks for your time! --~--~-~--