Re: About cakephp's performance

2007-07-16 Thread Chris Lamb
Feris Thia wrote: - activating persistent models in your AppController (especially when you have lots of models with many associations) Is that possible using php running as cgi ? If you're running PHP as a CGI, I'm not sure why you are concerned about performance. -- Chris Lamb

Re: Cake, Eclipse and PDT (long - warning: includes rant)

2007-06-09 Thread Chris Lamb
[0] http://bazaar-vcs.org/ [1] http://packages.ubuntu.com/cakephp -- Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Cake, Eclipse and PDT (long - warning: includes rant)

2007-06-07 Thread Chris Lamb
have a simple script here that locates the nearest Cake app, finds an unused port and starts a webserver pointed at it. Also, my concept of updating my sites involve running make release only. No faffing with FTP for me, please - I left that behind in 1998. /Lamby -- Chris Lamb, Leamington Spa, UK

Re: RSS Import

2007-05-07 Thread Chris Lamb
] http://cakeforge.org/snippet/download.php?type=snippetid=80 -- Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: multi-page forms

2007-04-21 Thread Chris Lamb
keymaster wrote: One has to first do a proper search for the solution. One does not simply search into Mordor. -- Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Your client and cakePHP

2007-04-19 Thread Chris Lamb
haven't had this problem. The MVC architecture is reasonably sane once you have got your head around it. Curiously, citing the popularity of Rails and using some of that buzz helps. Regards, -- Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20 signature.asc Description: PGP

Re: How can I do login, grab web pages, parse email with cakephp/php?

2007-04-17 Thread Chris Lamb
-topic, remember? Kindly, -- Chris Lamb, Leamington Spa, UK GPG: 0x634F9A20 [0] http://www.crummy.com/software/BeautifulSoup/ [1] http://wwwsearch.sourceforge.net/mechanize/ signature.asc Description: PGP signature

Re: Convert existing site to cakephp

2007-04-10 Thread Chris Lamb
Fiaz Khan wrote: I cant seem to create the site without a database, i.e. just using views and controllers and no models. Is this possible? Yes. class FooController extends AppController { var $uses = array(); . . etc Regards, -- Chris Lamb, Cambridgeshire, UK

Re: Blank Lines before DOCTYPE

2007-04-09 Thread Chris Lamb
directory -- run from app/. Would have fixed your problem straight away. Regards, -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: need a php mentor close to home-Huntsville, Alabama -can pay some

2007-04-09 Thread Chris Lamb
can help you out there. Regards, -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Debugging in Eclipse

2007-04-09 Thread Chris Lamb
and see how it does it, then try and apply that inside Zend/Eclipse. Regards, -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Another CakePHP poll

2007-04-09 Thread Chris Lamb
Cakers, Rnickel posted this on IRC. The Cake community did a great job with the previous poll, lets's see them in action again! http://www.jcxsoftware.com/ Regards, -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Organizing, Keeping straight, your Javascript collection

2007-04-06 Thread Chris Lamb
vendors could be included globally in Cake, please submit an enhancement ticket - it'll reach the people that matter a lot easier. Kind regards, -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Unit Testing Emails

2007-04-04 Thread Chris Lamb
in parallel. -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: CakePHP, mod_rewrite and mod_vhost_alias

2007-04-04 Thread Chris Lamb
MJ Ray [EMAIL PROTECTED] wrote: mod_rewrite is a big gun aiming nearyour feet, while mod_vhost_alias makes your feet dance. Expect to have to make a few attempts before missing your feet. Made me smile :-) -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20

Re: Dynamic Images

2007-04-04 Thread Chris Lamb
://blog.lighttpd.net/articles/2006/07/02/x-sendfile -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Debian cakephp installation

2007-04-03 Thread Chris Lamb
rocky [EMAIL PROTECTED] wrote: Can any of you give me some hint please? Check your AllowOverride in /etc/apache2/mods-enabled/userdir.conf ? Is PHP installed correctly? -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

cake-php on Gmane

2007-04-03 Thread Chris Lamb
, folks. :) (On a related note, may I propose the admins creating a cake-php-announce list? I sometimes miss project announcements between other mails) Enjoy, -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 --~--~-~--~~~---~--~~ You

Re: Saving in a loop

2007-04-03 Thread Chris Lamb
to. -- Chris Lamb, Cambridgeshire, UK GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Mailing List Suggestion

2007-03-23 Thread Chris Lamb
messages from cake-php@googlegroups.com to a separate folder. Yes, do that :-) -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: sessions in cake db _gc

2007-03-22 Thread Chris Lamb
? I'm not sure this is a problem. If it helps, Cake defaults to using PHP's way of handling sessions -- to see which you are using, see CAKE_SESSION_SAVE in $(APP)/config/config.php. Of course, if you have this set to php, then please poke your PHP configuration to fix this. Kind regards, -- Chris

Re: Does Cake's array conventions mean Low Orthogonality/Cohesion

2007-03-22 Thread Chris Lamb
Felix Geisendörfer [EMAIL PROTECTED] wrote: I'm looking for someone to give me a hug and tell me everything will be ok. I'll go ahead and do this: *hug* *hug* everything will be okay. -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description

Re: a very newbie-ish db problem

2007-03-22 Thread Chris Lamb
account? [EMAIL PROTECTED]:~$ mysqladmin password mypassword Kind regards, -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: model not found .. inflection problem?

2007-03-22 Thread Chris Lamb
lamacq [EMAIL PROTECTED] wrote: Any ideas? Can you paste your controller? Specifically, the class variables. -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Introducing myself

2007-03-19 Thread Chris Lamb
gwoo [EMAIL PROTECTED] wrote: I can assure you that if no one was moderating this group it would be much uglier. Thank you for your efforts here. -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

License of CakePHP documentation

2007-03-19 Thread Chris Lamb
enlighten me? I'm of course assuming that NEED TO CHOOSE LICENSE is not a real license. :] Kind regards, -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Problem Redirecting to Servlet

2007-03-12 Thread Chris Lamb
:) Kind regards, -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Problem Redirecting to Servlet

2007-03-11 Thread Chris Lamb
')) { session_write_close(); } header(Location: http://localhost:8080/SMSUploadServlet;); exit(); Regards, -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Page not refreshed after $this-redirect

2007-03-11 Thread Chris Lamb
Adrian Maier [EMAIL PROTECTED] wrote: The problem is that the page is not refreshed, and the deleted record is still visible until i click the browser's Refresh button. This[0] is probably what you want. Regards, -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 [0

Re: View this page Cake Apps/Sites In The Wild

2007-03-03 Thread Chris Lamb
. -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: security - verify POST via submit button

2007-02-28 Thread Chris Lamb
how can i make sure that user data have been submitted via pressing a submit button instead of sending spagetti code appended to the controller url ? Check out the Security Component page in the manual. [0] Kind wishes, -- Chris Lamb, Leamington Spa, UKGPG

Re: Please help me understand URL and Routes in Cake

2007-02-28 Thread Chris Lamb
solve the problem yourself. Note that the CakePHP source is very readable for a PHP program, so examining the dispatcher code may make sense than any of this. Best wishes, -- Chris Lamb, Leamington Spa, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: how would you scale a cake app?

2006-12-24 Thread Chris Lamb
at serving static content! I should really add the general warning against premature optimisation here, but I'm sure you've heard it before. Best wishes, -- Chris Lamb, Cambridgeshire, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Joining 2 tables - better practice?

2006-12-23 Thread Chris Lamb
. Regards, -- Chris Lamb, Cambridgeshire, UKGPG: 0x634F9A20 signature.asc Description: PGP signature

Re: What Editor Do You Use

2006-09-24 Thread Chris Lamb
jEdit and vim here. jEdit has a rather nice plugin architecture, and it would be really nice to see something Cake-related but I've never been sure what other people would want. Anybody want to contribute? Lamby -- Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk Q

Re: pages_controller

2006-09-15 Thread Chris Lamb
multiple actions defined. What's wrong with multiple actions OOI? They will always return 404 if you do not have a view for them. Regards, lamby -- Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad? GPG: 0x634F9A20

Re: pages_controller

2006-09-14 Thread Chris Lamb
, --lamby -- Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad? GPG: 0x634F9A20 A. Because it breaks the logical sequence of discussion signature.asc Description: PGP signature

Re: Apache crashing on debug from PHP IDE

2006-09-14 Thread Chris Lamb
On Thu, 14 Sep 2006 09:55:09 -, Walter wrote: If anyone's interested, I found a solution: Karma to Walter for posting the solution - I find it annoying to Google something and only find other people asking the question. :) --lamby -- Chris Lamb, Cambs, UK WWW

Re: download problem

2006-09-11 Thread Chris Lamb
Heh, I had this issue too: was copy/pasting the URL from inside Cakeforge to use with wget, and was wondering why it was corrupted! Maybe I should submit a ticket? ;) -- Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad

Re: newbie: Obfuscating a CakePhp project

2006-09-03 Thread Chris Lamb
On Sun, 3 Sep 2006 14:01:18 -0400, Chris Hartjes wrote: ..snipped a whole load of common sense.. On a related note, never ask the 'obfustication' question in #php. I've seen other people do it, and the outcome is not pretty. -- Chris Lamb, Cambs, UK WWW: http://chris

Re: Outputting Code on a Website

2006-08-16 Thread Chris Lamb
Hi On Wed, 16 Aug 2006 15:19:59 -0700 John Zimmerman [gmail] [EMAIL PROTECTED] wrote: Basically I just want to display php code within a web page. GeSHIi[0] seems to be the de-facto library for doing this. Chris [0] http://qbnz.com/highlighter/ -- Chris Lamb, Cambs, UK

Re: Aahhh!! I have a blog now!

2006-08-13 Thread Chris Lamb
I'll add it to my cakenews http://thinkingphp.org/cakenews/ .. Good luck..I see no feed. :( Chris -- Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad? GPG: 0x634F9A20 A. Because it breaks the logical sequence

Re: get CakePHP version

2006-08-08 Thread Chris Lamb
of PHP files for every request.. -- Chris Lamb, Cambs, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad? GPG: 0x634F9A20 A. Because it breaks the logical sequence of discussion

Re: Can you find out the last controller/action?

2006-08-07 Thread Chris Lamb
such a function, $this-redirect($this-referer()), but--as you mention--it won't work if people turn it off. Regards, Chris -- Chris Lamb, Cambridgeshire, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad? GPG: 0x634F9A20 A. Because it breaks the logical

Re: Help on saving a blob

2006-08-03 Thread Chris Lamb
] http://mysqldump.azundris.com/archives/36-Serving-Images-From-A-Database.html [1] http://uk2.php.net/features.file-upload [2] http://uk.php.net/manual/en/function.getimagesize.php -- Chris Lamb, Cambridgeshire, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad

Re: Paradigm shift :: Procedural - OO Paterns based development

2006-08-02 Thread Chris Lamb
(or maybe just a venting exercise, haha) have you considered starting a Cake blog?) Best wishes, and good luck with CakePHP. --Lamby [0] http://irc.cakephp.org/irc.html -- Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED] WWW: www.chris-lamb.co.uk GPG

Re: hasAndBelongsToMany with a join table with a datetime column

2006-08-02 Thread Chris Lamb
{ var $name = 'MemberTeam'; var $hasOne = 'Member,Team'; } Cake should also fill in the 'created' field automatically for you. Regards, --lamby -- Chris Lamb, Cambridgeshire, UK WWW: http://chris-lamb.co.uk Q. Why is top posting bad? GPG

Re: Cake PHP and templates

2006-08-01 Thread Chris Lamb
://www.phppatterns.com/docs/design/templates_and_template_engines -- Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED] WWW: www.chris-lamb.co.uk GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: cheeseCake Photoblog V1.0 Beta 2 released

2006-07-31 Thread Chris Lamb
cupcake fruitcake griddlecake hotcake pancake pancaked shortcake Regards, Chris -- Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED] WWW: www.chris-lamb.co.uk GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: datetime strings and using sanitize-cleanArray()

2006-07-31 Thread Chris Lamb
, cleaning potentially dangerous HTML to combat XSS[1] attacks is useful. [1] http://en.wikipedia.org/wiki/Cross-site_scripting -- Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED] WWW: www.chris-lamb.co.uk GPG: 0x634F9A20 signature.asc

Re: Character sets

2006-07-31 Thread Chris Lamb
/articles/Unicode.html [3] http://www.w3.org/ [4] http://www.w3.org/International/O-charset -- Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED] WWW: www.chris-lamb.co.uk GPG: 0x634F9A20 signature.asc Description: PGP signature

Re: Time Zone ?

2006-07-18 Thread Chris Lamb
, 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 -~--~~~~--~~--~--~--- -- Chris Lamb, Cambridgeshire, UK

Re: Time Zone ?

2006-07-18 Thread Chris Lamb
Oh dear, crossed posts.. I have some basics going for timezones like this, but maybe somebody has a more robust solution? Pear::Date? [1] Chris [1] http://pear.php.net/package/Date -- Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED] WWW: www.chris-lamb.co.uk

Re: Using cake to serve files

2006-07-16 Thread Chris Lamb
this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~--- -- Chris Lamb, Cambridgeshire, UK [EMAIL PROTECTED] WWW: www.chris-lamb.co.uk

Re: md5 field - modify field from controller

2006-06-29 Thread Chris Lamb
this for some logins. If I did that here, then my password would be stored as plaintext in the database and thus I wouldn't be able to login. I guess a simple fix would be to restrict the type of password that can be saved, but that would annoy people like me ;) Lamby -- Chris Lamb, Leamington Spa, UK