Re: did requestAction use cacheAction ?

2007-01-24 Thread Chris Hartjes
Yeah, having an optional 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.li

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

Re: did requestAction use cacheAction ?

2007-01-23 Thread Chris Hartjes
'm wrong, and other people are sure 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 --~--~-

Re: existing ajax script includen

2007-01-23 Thread Chris Hartjes
with CakePHP: http://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/att

Re: jquery, ajax and cakephp

2007-01-22 Thread Chris Hartjes
t; > How about some benchmarks to back 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 bo

Re: CakePHP 3-tier

2007-01-22 Thread Chris Hartjes
setup. I've only ever really done Application & Dataserver, 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/at

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

2007-01-17 Thread Chris Hartjes
wrong...and I'm sure someone 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 @TheKeyboa

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

2007-01-17 Thread Chris Hartjes
r 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/attheballp

Re: Need advise on pdf generation with FPDF

2007-01-17 Thread Chris Hartjes
ow you 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 phot

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

2007-01-17 Thread Chris Hartjes
then create an action that responds 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 - htt

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) rus

Re: Rapid Developement / Bloated Product?

2007-01-15 Thread Chris Hartjes
it first. Really. No, I mean it. Seriously. -- 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: Strange DEBUG Problem

2007-01-15 Thread Chris Hartjes
make sure permissions are set 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

Re: AJAX calls are being spotty.

2007-01-15 Thread Chris Hartjes
the Ajax helpers. Not sure 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

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 h

Re: More Cake Magic in the future?

2007-01-08 Thread Chris Hartjes
h, or you can do all your HTML by hand and have the flexibility you seek. Luckily you can do both. Personally, I find that I prefer to use the conventions wherever possible and build my application around those. Just thought I'd give my perspective. -- Chris Hartjes My motto for 2007: "Just bui

Re: How to use Vender Code

2007-01-07 Thread Chris Hartjes
yboard/2006/09/26/tutorial-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 - htt

Re: Recommendations for code documentation / grumbles

2007-01-05 Thread Chris Hartjes
times drops down into the code itself 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 @The

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

2007-01-04 Thread Chris Hartjes
those 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 scaven

Re: Model associations and cascading delete.

2007-01-04 Thread Chris Hartjes
create the associations in your tables". 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.li

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

2007-01-04 Thread Chris Hartjes
On 1/4/07, nate <[EMAIL PROTECTED]> wrote: http://us2.php.net/fgetcsv Ugh. Of course. -- Chris Hartjes My motto for 2007: "Just build it, damnit!" rallyhat.com - digitial photo scavenger hunt @TheBallpark - http://www.littlehart.net/attheballpark @Th

Re: Updating multiple models simultaneously

2007-01-04 Thread Chris Hartjes
also created 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.li

Re: ER Tools

2007-01-04 Thread Chris Hartjes
Sounds like 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.littleh

Re: Can CakePHP do this? - Two

2007-01-03 Thread Chris Hartjes
he structure of your application may need to change. I'm trying to understand what it is you are trying to accomplish here and would like some more info. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark -

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

2007-01-03 Thread Chris Hartjes
erception demands 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.

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

2007-01-03 Thread Chris Hartjes
uld be like this: function pass() { for ($i = 1; $i <= 3; $i++) { $message .= "i is ". $i . ""; } $this->set('message', $message); } Hope that helps. -- Chris Hartjes "The greatest inefficiencies come from solving problems you wil

Re: "direct" data access?

2007-01-02 Thread Chris Hartjes
nature block) you can find a link to Felix's 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 @Th

Re: CakePHP programming problem

2007-01-02 Thread Chris Hartjes
re computer 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 min

Re: CakePHP programming problem

2007-01-02 Thread Chris Hartjes
ready know those 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 @The

Re: Starting big application with Cake

2007-01-02 Thread Chris Hartjes
e things until you actually know you need. Premature 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 fr

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 ineffici

Re: force swf refresh

2006-12-27 Thread Chris Hartjes
ave an excellent 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." -- Ra

Re: Flash and cache

2006-12-27 Thread Chris Hartjes
s in development 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."

Re: IDE of choice?

2006-12-21 Thread Chris Hartjes
use them if they're built in. 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: 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/ -- Chr

Re: Very odd problem

2006-12-21 Thread Chris Hartjes
at the "landing page" that you go to after logging 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 rea

Re: problems installing on new server: 404 errors

2006-12-20 Thread Chris Hartjes
app in it's old location and your app in it's new 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

Re: Definitive data cleansing methodology

2006-12-20 Thread Chris Hartjes
gic_quotes option 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 Hartj

Re: CakePHP with IE7

2006-12-18 Thread Chris Hartjes
n IE7, then that is the responsibility of whomever built that site. 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.n

Re: CakePHP with IE7

2006-12-17 Thread Chris Hartjes
work-related sites work properly with. On a related note, I suggest people surf around 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 grea

Help with a moderately complex query

2006-12-15 Thread Chris Hartjes
if (is_array($start_members)) { foreach ($start_members as $site_id => $data) { $members[$site_id] = $finish_members[$site_id] - $start_members[$site_id]; $threads[$site_id] = $finish_threads[$site_id] - $start_threads[$sit

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 ww

Re: Share with CakePHP´s community

2006-12-11 Thread Chris Hartjes
e past but my spare time isn't so spare any more). -- 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: 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

Re: Check an action exists

2006-12-11 Thread Chris Hartjes
t trapping the errors that CakePHP itself generates. I've 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

Re: Check an action exists

2006-12-11 Thread Chris Hartjes
of heart) for sure. :) -- 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: Check an action exists

2006-12-11 Thread Chris Hartjes
ller needs to know the actions of another? -- 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: Internal Server Error (HTTP 500)

2006-12-11 Thread Chris Hartjes
I could be wrong. Follow ALL the instructions, 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 ha

Re: findall custom query

2006-12-08 Thread Chris Hartjes
result? > Have you created all the belongsTo and hasMany relationships that you need to link the two tables together? -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http

Re: CakePHP Roadmap

2006-12-06 Thread Chris Hartjes
On 12/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Chris Hartjes wrote: > > > > I've never heard of those terms before. "Optimistic/pesimistic > > locking" sounds like a function of the database itself to me, and not > > the responsibi

Re: CakePHP Roadmap

2006-12-06 Thread Chris Hartjes
said that, there's nothing 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

Re: CakePHP Roadmap

2006-12-06 Thread Chris Hartjes
king" sounds like a function 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 @TheKeyboar

Re: Noob questions about CakePHP capibilities

2006-12-05 Thread Chris Hartjes
gt; - can cakephp scaffolding be easily setup to hide 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 ine

Re: Problem with DEBUG set to 1

2006-12-04 Thread Chris Hartjes
d there. DEBUG 0 causes Cake 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 n

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

2006-12-01 Thread Chris Hartjes
do and it doesn't work, is that a bug? Or is that a constraint of that piece of code? I have never used an SQL view and would love 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 ineff

Re: Running CakePHP Apps As CLI Apps

2006-11-30 Thread Chris Hartjes
if you need it soone rather 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 @TheBa

Re: Running CakePHP Apps As CLI Apps

2006-11-30 Thread Chris Hartjes
x27;t appear to fit that bill, but that's perhaps because I haven't wrapped my mind around how to do it. I guess my question is this: how do I fire off a controller/action pair via a CLI script? -- Chris Hartjes "The greatest inefficiencies come from solving problems you wil

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

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

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

2006-11-29 Thread Chris Hartjes
eb-service-support/ Then I will go over to trac 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 @The

Re: Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
and post the whole damn thing 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 - h

Re: CakePHP *native* webservices.

2006-11-29 Thread Chris Hartjes
(Note that I have debug set to 1 during these examples) When I go to localhost/xml/test I get the following output: This is a test of built-in web services So, looks like I managed to get it working. I hope this helps people out who are trying to figure out how to use Cake

Re: Associations and Scaffolding

2006-11-27 Thread Chris Hartjes
cakephp.org and READING the manual. We really need an FAQ that we can point people to. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheba

Re: A safe webhost

2006-11-17 Thread Chris Hartjes
u some tips for keeping publicy-available data safe from prying eyes. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard

Re: Modeling database views

2006-11-17 Thread Chris Hartjes
"generic" database view handlers. That's all. I've never used views, 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.l

Re: Modeling database views

2006-11-17 Thread Chris Hartjes
tic, and building in exceptions 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

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. :)

Re: Serious problem...

2006-11-16 Thread Chris Hartjes
em. Thought that was pretty obvious. ;) -- 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
caching for static content 4) opcode caching 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

Re: Conceptual Question about logging

2006-11-15 Thread Chris Hartjes
hink the so-small-you-will-never-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/at

Re: Problem facing in cake php

2006-11-15 Thread Chris Hartjes
d with Zend Framework to great success. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littlehart.net/attheballpark @TheKeyboard - http:

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

2006-11-14 Thread Chris Hartjes
te them into different tables, but would > it be that bad? > The road 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

Re: chmod

2006-11-14 Thread Chris Hartjes
777 except for tmp ? > > You should do a recursive chmod 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.&q

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. -- Ch

Re: Security and performance of Cake PHP

2006-11-14 Thread Chris Hartjes
perly. All the common security problems like XSS, cross-domain scripting and SQL injection 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

Re: Cake PHP Vs Prado Vs Symfony

2006-11-10 Thread Chris Hartjes
it out to be. Have you also looked at this page: http://manual.cakephp.org/chapter/configuration There is an example of how to build a web service down 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

Re: article missing from bakery

2006-11-10 Thread Chris Hartjes
p;hl=en&gl=ca&ct=clnk&cd=1&client=firefox-a I suggest to ALL readers on the list 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 solvi

Re: making cake sql-function-aware?

2006-11-09 Thread Chris Hartjes
s. It has been my experience that once you tie yourself to a particular database server you can never go back. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.l

Re: Ant and SVN

2006-11-08 Thread Chris Hartjes
ave this working? Can anyone offer me advice? > > Thanks! > hydra12 I'm assuming you've looked here: http://subclipse.tigris.org/svnant.html and I think this thread should be very helpful to you as well http://svn.haxx.se/subusers/archive-2006-10/0251.shtml Hope that he

Re: dynamic table names in wordpress

2006-11-08 Thread Chris Hartjes
h is likely a topic way beyond the capacity of most of the people who are on this list. I know it's not much of an answer, but that's the most likely scenario. Perhaps Nate and PHPNut can suggest something, but I suspect their answer would be the same as mine. Hope that helps, and go

Re: Web services, xmlrpc, help!

2006-11-07 Thread Chris Hartjes
've posted above, if you call /things/xmlrpc_doSomething in a browser we should see 'blah' outputted in the browser window. Other than this, I suggest that if you haven't already done so, set DEBUG to 1 in order to prevent Cake from caching anything. Hope that helps, and I&#

Re: Web services, xmlrpc, help!

2006-11-06 Thread Chris Hartjes
;ve always found that computers like to do what you tell them, not what you think you've told them. :) -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littleh

Re: Web services, xmlrpc, help!

2006-11-06 Thread Chris Hartjes
On 11/6/06, Synchro <[EMAIL PROTECTED]> wrote: > > On Nov 6, 1:29 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > > Have you ever built one before but not with a framework? The concepts > > are actually quite simple. > > I've built SOAP inte

Re: Web services, xmlrpc, help!

2006-11-06 Thread Chris Hartjes
> work, nor have I found any examples for any web services. > > As an aside, is the round-trip time in these groups always this bad? > It's 8-12 hours for me. > > Have you ever built one before but not with a framework? The concepts are actually quite simple. -- Chris Hart

Re: Fatal error for Feed_Parser_Model.

2006-11-01 Thread Chris Hartjes
t; { > $this->set('feeds',$this->Rss->findAll()); > } > But How to do the view fiels? > > Thanks http://manual.cakephp.org/chapter/views -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have.&qu

Re: Cake PHP Help

2006-11-01 Thread Chris Hartjes
ou understanding what is going on. Yes, I am cranky this morning. 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/atthekeyboa

Re: Using Capistrano> PHP and Ruby side-by-side under Apache

2006-10-30 Thread Chris Hartjes
on how to do this? > > You don't need a tutorial. Just install Ruby on the target server via whatever method is available to you, be it by source, package or one-click installer. You don't need Apache at all to use Ruby. Am I missing something here? -- Chris Hartjes "The

Re: Slow Site Load time Question

2006-10-30 Thread Chris Hartjes
On 10/30/06, Nextri <[EMAIL PROTECTED]> wrote: > > is there a way to see load time when in production mode? > You can get that from your web server logs, can you not? -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have

Re: Using Capistrano> PHP and Ruby side-by-side under Apache

2006-10-30 Thread Chris Hartjes
, as it's just a programming language. Rails is the web framework that sits on top of Ruby. So, the short story is this: you can use Capistrano without configuring your web server to support Ruby on Rails. -- Chris Hartjes "The greatest inefficiencies come from solving problems you w

Re: Form Call?

2006-10-27 Thread Chris Hartjes
.com So, you have this code here: ... So, when the user submits they go to domain2.com/process.phpand stays at domain2.com/process.php Or am I missing something, because this looks like 'web forms 101' to me. -- Chris Hartjes "The greatest inefficiencies come fro

Re: hasAndBelongsToMany, always bi-directional?

2006-10-27 Thread Chris Hartjes
On 10/27/06, cherrio <[EMAIL PROTECTED]> wrote: > > would there ever be a circumstance where HABTM association isn't > bi-directional? If so, any example? > > Cheers, > Rob Wouldn't that be hasMany or belongsTo then? ;) -- Chris Hartjes "The greatest in

Re: Form Call?

2006-10-27 Thread Chris Hartjes
AIN1. If you don't know what a 'header redirect' or how to do it with PHP, then I suggest you look it up on google. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www.littl

Re: HELP:how to nest the media to the page

2006-10-27 Thread Chris Hartjes
On 10/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I have some confuse how does the media played in the web page like > YouTube.com > Who can tell me how does it implement? > Need to use any script? As far as I know, YouTube's media player is flash. -- Ch

Re: CakePHP for Railers

2006-10-25 Thread Chris Hartjes
bjects instead of arrays. Rails does it as well, so maybe I'm calling it by the wrong name. It's a design decision when you build you objects, for sure. Me, I'm a "let's return everything as associative arrays" type of guy. -- Chris Hartjes "The greatest ine

Re: Cake and VALID_NOT_EMPTY

2006-10-25 Thread Chris Hartjes
. $Contact['Contact']['lastname'] . ' has been removed.'); $this->Session->setFlash($Contact['Contact']['firstname'] . ' ' . $Contact['Contact']['lastname'] . ' has been removed.'); I haven

Re: Cake and VALID_NOT_EMPTY

2006-10-25 Thread Chris Hartjes
On 10/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I think actually looking at the code won't help much. It's a pretty > simple model. > I think actually looking at the code is the easiest way to fix the problem. But maybe that's just me.

Re: Application Architecture

2006-10-25 Thread Chris Hartjes
is there a more formal > approach for authorization ? I'd do it in the session. Makes total sense. Hope that helps. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http

Re: CakePHP for Railers

2006-10-25 Thread Chris Hartjes
ture available in Rails. > - join models Not sure. > - the migration DSL (in fact, all of Rails' DSLs, including but > not limitied to the Model DSL) There's no migrations...but that would be an interesting project. Maybe I should look into this as it would be something v

Re: Code or Databases????

2006-10-25 Thread Chris Hartjes
factoring of an existing application (Rails, not CakePHP) and have to make some decisions about this very topic. Greatly appreciated. -- Chris Hartjes "The greatest inefficiencies come from solving problems you will never have." -- Rasmus Lerdorf @TheBallpark - http://www

Re: THTML files not working

2006-10-25 Thread Chris Hartjes
27;t follow their own documentation on what content is presented -- 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 --

<    6   7   8   9   10   11   12   13   >