Re: Screencast of my talk at the Vancouver PHP Conference 2007

2007-02-14 Thread Chris Hartjes
As a follow-up... It appears to only be working if you go to the front page of my site, but I'm working on fixing that as I type this... On 2/14/07, Chris Hartjes [EMAIL PROTECTED] wrote: Hey guys, I've posted a screencast consisting of my talk (includes slides and the talk itself) on my

Re: Creating links a la Html helper in a component

2007-02-14 Thread Chris Hartjes
. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digital photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message

Re: Does Cake have the ./script/console similar to ruby on rails

2007-02-12 Thread Chris Hartjes
. Perfect time for hacking around some ideas... As an aside, I'm going to be making a screencast available of my talk that I'm giving later today. I had bandied about the idea of charging for it, but it's probably better I just give it away to anyone who wants it... -- Chris Hartjes My motto

Re: why use jQuery instead of Prototype

2007-02-10 Thread Chris Hartjes
, but somebody out there will have to do the work or well be arguing about this forever. I'm too busy figuring out how to properly do an interactive console for CakePHP... -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digital photo scavenger hunt @TheBallpark - http

Re: Does Cake have the ./script/console similar to ruby on rails

2007-02-08 Thread Chris Hartjes
projects to do some quick-and-dirty testing of things. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Does Cake have the ./script/console similar to ruby on rails

2007-02-08 Thread Chris Hartjes
On 2/8/07, nate [EMAIL PROTECTED] wrote: Uh, interactive mode anybody? http://us3.php.net/features.commandline Ah ha! Nicely done, Nate. I like that Nate constantly points out the things I don't know. Sort of like my wife. ;) -- Chris Hartjes My motto for 2007: Just build it, damnit

Re: Sessions with a multi-server hosting environment

2007-02-07 Thread Chris Hartjes
(although I did experiment with using memcached as the server and there are some excellent examples of using memcached for sessions in Ruby on Rails). DB-based solutions are probably slower than PHP-based ones. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo

Re: Cache problems with IE

2007-02-06 Thread Chris Hartjes
to do the trick. Any ideas? Hi Jeff, Have you tried changing the debug setting in core.php to 1? 0 is the setting for production. Setting it to 1 makes it so it doesn't cache any results internally (it's the default setting I use during development). Hope that helps. -- Chris Hartjes My

Re: Model with no direct database access, instead use our existing API

2007-02-06 Thread Chris Hartjes
not sure about redefining existing methods etc. I think it's doable, but you may have to tweak things at your end to be able to reference the model data the same way Cake lets you do with data obtained from a database. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com

Re: Model with no direct database access, instead use our existing API

2007-02-06 Thread Chris Hartjes
). Basically what I'm trying to say is that you should never have to extend Model in that way. Models are designed to *model* data, not handle the details of accessing it. Ah! *light bulb goes on over head* Now I understand. Thanks for clearing that up. -- Chris Hartjes My motto for 2007

Re: legacy data

2007-02-05 Thread Chris Hartjes
everywhere. Besides, it's Monday and my inner Grumpy Old Programmer is in full control. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Vendor trouble...can't seem to get this through

2007-02-03 Thread Chris Hartjes
/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/ Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net

Re: rule of thumb - when to use cake vs. off the shelf open source

2007-01-31 Thread Chris Hartjes
of my consulting gigs have short windows, so I try to use off-the-shelf stuff that I am confident I can customize if the demand arises. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http

Re: Style switcher / font resizer

2007-01-30 Thread Chris Hartjes
page to your browser window. Not everyone wants to go into their browser settings and resize fonts. I'd like to know why lukemack needs it... -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net

Re: [professionel] Re: Cake is breaking database views. This looks like a bug.

2007-01-29 Thread Chris Hartjes
of a framework and create well-designed applications. Best of luck with Cake. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Come boost my ego by watching my talk at Vancouver PHP Conference 2007!

2007-01-29 Thread Chris Hartjes
://vancouver.php.net for more details. If you're going to be there, don't be afraid to talk to me. With a beer in my hand, I'm a nice guy to talk to. :) -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark

Re: View caching problem with cake:nocache

2007-01-29 Thread Chris Hartjes
way to mix dynamic with cached content. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: View caching problem with cake:nocache

2007-01-29 Thread Chris Hartjes
mind you. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: [professionel] Re: Cake is breaking database views. This looks like a bug.

2007-01-29 Thread Chris Hartjes
suggestions on how CakePHP can better implement views, or keep the insulting emails private. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net

Re: View caching problem with cake:nocache

2007-01-29 Thread Chris Hartjes
On 1/29/07, Kaste [EMAIL PROTECTED] wrote: as i said, requestAction in your element will do the trick. Kaste, Thanks for pointing that out. Something to definitely write down in my list of things to remember when building CakePHP apps. -- Chris Hartjes My motto for 2007: Just build

Re: Existing Projects

2007-01-26 Thread Chris Hartjes
, but I'm pretty sure you can override some of the default values that the Cake models use for primary key. I know you can do it in Rails (I have done so with legacy tables). -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http

Re: drawbacks of model coupling

2007-01-25 Thread Chris Hartjes
-- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message

Re: how can I pass two or more params to controller

2007-01-25 Thread Chris Hartjes
, for example), or is it just for readability? All hijackers should be shot ;) You can pass the parameters anyway you want, your code just have to be able to parse out what your looking for. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt

Re: how can I pass two or more params to controller

2007-01-25 Thread Chris Hartjes
my educated guess would be that it's a Cake thing, and probably not totally due to usability of the URL. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http

Re: Model for my SQL-query

2007-01-25 Thread Chris Hartjes
is to start messing around with passing selection criteria via your model-find() method. Sure, you can use findBySql but the resulting array is coyote-ugly. Less work to setup, but one should always strive for elegance in your code. -- Chris Hartjes My motto for 2007: Just build it, damnit

Re: Model for my SQL-query

2007-01-25 Thread Chris Hartjes
model-find() method. What method of associations should I use? Sorry, I'm a beginner in CakePHP :). Could you write sample code? http://manual.cakephp.org/chapter/models Tells you everything you need to get yourself going with my suggestions. -- Chris Hartjes My motto for 2007: Just build

Re: Error At Top Of Every Page

2007-01-25 Thread Chris Hartjes
errors will definitely go away. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Error At Top Of Every Page

2007-01-25 Thread Chris Hartjes
must be writable by the user that your web server runs as. * -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: did requestAction use cacheAction ?

2007-01-24 Thread Chris Hartjes
On 1/23/07, Dr. Tarique Sani [EMAIL PROTECTED] wrote: On 1/24/07, Chris Hartjes [EMAIL PROTECTED] wrote: As I understand it, requestAction simply returns a TRUE or FALSE FALSE :) $this-requestAction('/users/getUserList', array('return')); Will return the HTML rendered by the action

Re: did requestAction use cacheAction ?

2007-01-24 Thread Chris Hartjes
parameter would be good. I'm old school in that I assume NOTHING is cached unless I asked the application to do it. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http

Re: did requestAction use cacheAction ?

2007-01-24 Thread Chris Hartjes
confident someone will correct me. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Finally a good Editor for Windows

2007-01-24 Thread Chris Hartjes
to the error logs. ;) ) -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: Finally a good Editor for Windows

2007-01-24 Thread Chris Hartjes
that they offer? Probably not. Shame on me. ;) Autocomplete, syntax checking, I dunno I guess I came up with other habits to help me with those problems. I use php -l filename a lot to check for syntax errors. ;) -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com

Re: Finally a good Editor for Windows

2007-01-24 Thread Chris Hartjes
and finding more tricks like the one Sam just showed me -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Modular Design?

2007-01-24 Thread Chris Hartjes
exist, how to mitigate it. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: existing ajax script includen

2007-01-23 Thread Chris Hartjes
://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/ Hopefully that helps you. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http

Re: did requestAction use cacheAction ?

2007-01-23 Thread Chris Hartjes
to correct me. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: CakePHP 3-tier

2007-01-22 Thread Chris Hartjes
, and that has worked out quite well. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: jquery, ajax and cakephp

2007-01-22 Thread Chris Hartjes
that up? jQuery just released a new version that is MUCH faster than the old one. I don't want to get into a my javascript dick is bigger than your javascript dick contest, so provide some proof and I'll believe it. I've used both YUI and jQuery...and have noticed no difference. -- Chris Hartjes My

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread Chris Hartjes
to clicking on the entire div. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Need advise on pdf generation with FPDF

2007-01-17 Thread Chris Hartjes
where to locate FPDF and hopefully provide you with some tips on how to integrate it. http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/ -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread Chris Hartjes
for that row * then you create the Ajax stuff that gets triggered when you click on any item with that class That should work. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark

Re: Can i make an entire table row an ajax link?

2007-01-17 Thread Chris Hartjes
will correct me if I am. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: Rapid Developement / Bloated Product?

2007-01-16 Thread Chris Hartjes
On 1/16/07, TT [EMAIL PROTECTED] wrote: @Chris Hartjes : I have already built it (beta version). I totally agree with you that you should not prematurely optimize. I am not sure why you think I would do that :) Experience has taught me that many programmers (not necessarily you) rush

Re: AJAX calls are being spotty.

2007-01-15 Thread Chris Hartjes
if that's what you are running into. Then again, I use jQuery now for my CakePHP-related Ajax needs and always do my development work with DEBUG set to 1. Hope that helps. Try deleting the stuff in the /tmp/cache directories and see if it's causing the same problems. -- Chris Hartjes My motto for 2007

Re: Strange DEBUG Problem

2007-01-15 Thread Chris Hartjes
properly (I use the firehose 777 for my /tmp/cache because I'm lazy) Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net

Re: Rapid Developement / Bloated Product?

2007-01-15 Thread Chris Hartjes
using an external caching solution like memcache to store the results if you're really worried about CakePHP's cache resetting techniques. It will take a little extra code, but then you will have complete control over your caching. But build it first. Really. No, I mean it. Seriously. -- Chris

Re: Sample web site using CakePHP

2007-01-08 Thread Chris Hartjes
On 1/8/07, Samuel DeVore [EMAIL PROTECTED] wrote: rdOpenSource and Cheesecake are good ones I think. +1 on Cheesecake: Tarique and his crew have done a great job. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http

Re: How to use Vender Code

2007-01-07 Thread Chris Hartjes
-integrating-phpswf-charts-with-cakephp/ That might help you figure out the problem -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Recommendations for code documentation / grumbles

2007-01-05 Thread Chris Hartjes
to answer questions I have. ;) -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: ER Tools

2007-01-04 Thread Chris Hartjes
I'm in the minority. ;) -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Updating multiple models simultaneously

2007-01-04 Thread Chris Hartjes
the belongsTo relationship for Profile to User? -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: using csv files (import? convert to xml? any ideas?)

2007-01-04 Thread Chris Hartjes
to a location that the forum sites could read. Nice and simple, no database required because there was no need for retrieval at a later date of older scores. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! rallyhat.com - digitial photo scavenger hunt @TheBallpark - http

Re: Can't we use $this-set in a loop?

2007-01-03 Thread Chris Hartjes
that on the fly output a loop generates. Reality points out you're doing a loop no matter what. To accomplish on the fly output in the framework that matches perception you're looking at DOM tricks with Javascript. Just my opinion, mind you. -- Chris Hartjes The greatest inefficiencies come from solving

Re: Starting big application with Cake

2007-01-02 Thread Chris Hartjes
optimization lies on the path to developer madness. You won't know what challenges your application will face until people other than you are actually using it. ;) Hope that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf

Re: CakePHP programming problem

2007-01-02 Thread Chris Hartjes
answers. Google is your friend for finding PHP tutorials, and I highly recommend any sort of PHP for beginners book you can get your hands on. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net

Re: CakePHP programming problem

2007-01-02 Thread Chris Hartjes
science thing, because I studied computer programming at college (although it was 10 years ago now) and don't remember any labels like that being applied. Maybe something is lost in translation (I'm not assuming English is everyone's first language here, even though it is mine). -- Chris Hartjes

Re: direct data access?

2007-01-02 Thread Chris Hartjes
posting about it. Hope that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Flash and cache

2006-12-27 Thread Chris Hartjes
mode with SQL debugging output) and doublecheck everything. I'm assuming that with all the caching happening that you probably have debug set to 0. Hope that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http

Re: force swf refresh

2006-12-27 Thread Chris Hartjes
online tutorial on how to get it working with CakePHP: http://www.littlehart.net/atthekeyboard/2006/09/26/tutorial-integrating-phpswf-charts-with-cakephp/ Hope that helps. Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http

Re: Cake Hosting

2006-12-27 Thread Chris Hartjes
On 12/27/06, phirschybar [EMAIL PROTECTED] wrote: stay away from media temple. I just signed up for an account with media temple on the recommendation of somebody else, so I'd love to hear off-list why I should stay away from them. -- Chris Hartjes The greatest inefficiencies come from

Re: Very odd problem

2006-12-21 Thread Chris Hartjes
in is configured to work with an existing session? Showing us some code is the 100% guaranteed way to diagnose this problem. Redirects to a page that is not configured to be using a session is 100% guaranteed to not be able to read session data. Hope that helps. -- Chris Hartjes The greatest inefficiencies

Re: CakePHP blogs

2006-12-21 Thread Chris Hartjes
On 12/21/06, Mariano Iglesias [EMAIL PROTECTED] wrote: Thanks, I've just added your CakePHP feed to Google Reader. -MI Could you please add my blog to this as well? When I talk about PHP it's usually CakePHP related. http://www.littlehart.net/atthekeyboard/ -- Chris Hartjes

Re: IDE of choice?

2006-12-21 Thread Chris Hartjes
that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: Definitive data cleansing methodology

2006-12-20 Thread Chris Hartjes
that can be turned off or on that automagically escapes form-submitted data. Personally, I prefer to turn that off to (a) have better control of the filtering of incoming data and (b) avoid any nasty surprises involving the data when it comes in. Hope that helps. -- Chris Hartjes The greatest

Re: problems installing on new server: 404 errors

2006-12-20 Thread Chris Hartjes
location. Maybe you'll find that you've forgotten to set something in the new config Hope that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http

Re: CakePHP with IE7

2006-12-18 Thread Chris Hartjes
. There is nothing in the CakePHP *framework* that is browser specific. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: CakePHP with IE7

2006-12-17 Thread Chris Hartjes
Yahoo!'s YUI blog and dig out the postings where they talk about what browsers they support and how fully they support them. Striving to match them is probably a good idea. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf

Help with a moderately complex query

2006-12-15 Thread Chris Hartjes
] = $finish_threads[$site_id] - $start_threads[$site_id]; $posts[$site_id] = $finish_posts[$site_id] - $start_posts[$site_id]; } } } Any help would be greatly appreciated. -- Chris Hartjes The greatest inefficiencies come from solving

Re: Internal Server Error (HTTP 500)

2006-12-11 Thread Chris Hartjes
, and if it's still not working get back to us. We do like to help people, but the instructions are usually enough to get things up and running. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net

Re: Check an action exists

2006-12-11 Thread Chris Hartjes
On 12/10/06, Mikee Freedom [EMAIL PROTECTED] wrote: Afternoon all, Just a quick one. Is it possible from one controller, to determine if an action exists in another controller? thanks, mikee I'm curious as to why one controller needs to know the actions of another? -- Chris Hartjes

Re: Check an action exists

2006-12-11 Thread Chris Hartjes
never done anything like that, so I couldn't tell you where to start. Hrm...sounds like a topic for a blog post in the next few days. :) -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net

Re: Check an action exists

2006-12-11 Thread Chris Hartjes
As a last point of reference for this thread, I found a posting by Felix on his blog about doing this sort of thing with models. Maybe it is applicable to controllers? http://www.thinkingphp.org/2006/09/17/dessert-9-graceful-error-handling/ -- Chris Hartjes The greatest inefficiencies come

Re: Share with CakePHP´s community

2006-12-11 Thread Chris Hartjes
). -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: get troubles with SESSION

2006-12-11 Thread Chris Hartjes
On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I wanna use session to trace the user who login in . but I have no idea how to cuz the manual about this subject is simple. can anyone show me some example or links about it have a nice day www.php.net/sessions -- Chris Hartjes

Re: findall custom query

2006-12-08 Thread Chris Hartjes
to link the two tables together? -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: CakePHP Roadmap

2006-12-06 Thread Chris Hartjes
of the database itself to me, and not the responsibility of code. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: CakePHP Roadmap

2006-12-06 Thread Chris Hartjes
stopping you from submitting a patch for this if you really want to see it. Unless you want someone else to do it for you. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard

Re: Noob questions about CakePHP capibilities

2006-12-05 Thread Chris Hartjes
specified fields? Any help appreciated. Thanks in advance. Have you actually read the manual for CakePHP yet? All those questions are answered there. manual.cakephp.org Hope that helps. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus

Re: Problem with DEBUG set to 1

2006-12-04 Thread Chris Hartjes
to cache a lot things, and this can cause problems if you switch between DEBUG 0 and DEBUG 1 while developing. Personally, I do all my development work with DEBUG set to 1. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark

Re: Cake is breaking database views. This looks like a bug.

2006-12-01 Thread Chris Hartjes
to see a real-world example of when a view should be used over, say, the CakePHP model combined with associations. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard

Running CakePHP Apps As CLI Apps

2006-11-30 Thread Chris Hartjes
I've been using Felix's awesome Google Analytics model to create some reports on the forum sites my employer owns. However, I'm wondering if it's even possible to create a CakePHP app that can be run as a CLI app as a cron job... Any thoughts on how to accomplish this? -- Chris Hartjes

Re: Running CakePHP Apps As CLI Apps

2006-11-30 Thread Chris Hartjes
than later, otherwise I will post a link in the bin to this thread shortly. Hey gwoo, that worked perfectly. Thanks so much. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark

Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
Chris Hartjes * */ class TestController extends AppController { var $name = 'Test'; var $uses = ; var $components = array('xml'); function index() { $message = This is a test of built-in web services; $this-set('message', $message); } } ? The big thing

Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
to my blog. I'll be giving you a shout-out as well. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
and make an entry about this. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Re: Re: Re: Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
On 11/29/06, Samuel DeVore [EMAIL PROTECTED] wrote: and the like would be http://blog.samdevore.com/archives/2006/11/29/quick-and-dirty-getting-your-cakephp-to-rest/ Hah! Beat you to it. :) -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have

Re: Modeling database views

2006-11-17 Thread Chris Hartjes
for a specific database should be kept to a minimum. Just my opinion. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Modeling database views

2006-11-17 Thread Chris Hartjes
, but obviously they have a time and a place. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: high load and benchmarking

2006-11-16 Thread Chris Hartjes
Speaking as someone who helped build a huge online dating site (300K+ lines of code spread across more than a dozen web servers) I can tell you that PHP code is usually the last place where you worry about performance. -- Chris Hartjes The greatest inefficiencies come from solving problems you

Re: Serious problem...

2006-11-16 Thread Chris Hartjes
. ;) -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: unnecessary left joins in findCount()?

2006-11-16 Thread Chris Hartjes
On 11/16/06, Ismael S. Kafeltz [EMAIL PROTECTED] wrote: it is valid to open a ticket to put this information on the documentation? It's in the API, so I'm not sure it also belongs in the documentation. Never hurts to read the API. :) -- Chris Hartjes The greatest inefficiencies come

Re: Problem facing in cake php

2006-11-15 Thread Chris Hartjes
success. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: Conceptual Question about logging

2006-11-15 Thread Chris Hartjes
-notice-it delay in writing information to log files will be the least of your problems. :) -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http

Re: Security and performance of Cake PHP

2006-11-14 Thread Chris Hartjes
are easily solved by the programmer. Expecting Cake to do it for you is being lazy. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net

Re: chmod

2006-11-14 Thread Chris Hartjes
777 means that anyone who has an account on the system can change these files, changing the content of your website!! True, but if you only give it to the tmp directory in your Cake install, they can't really do much to change the content of your website. -- Chris Hartjes The greatest

Re: chmod

2006-11-14 Thread Chris Hartjes
on the tmp directory chmod -R 777 tmp/ and that will fix the problem. Everything in tmp should be 777 in my opinion. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard

Re: Slightly naughty but is it an acceptable way of doing things?

2006-11-14 Thread Chris Hartjes
to maintainability hell is paved with good intentions... :) -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: article missing from bakery

2006-11-10 Thread Chris Hartjes
that if they are ever searching for an article via google and the link doesn't appear to be loading, try the cached copy. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http

Re: Cake PHP Vs Prado Vs Symfony

2006-11-10 Thread Chris Hartjes
at the bottom of the page. Hope that helps, and I'll let the list know when I've gotten my simple example of an XML-RPC service up and running. -- Chris Hartjes The greatest inefficiencies come from solving problems you will never have. -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net

<    5   6   7   8   9   10   11   12   >