Re: Looking for the Rapid in Cakephp

2008-04-29 Thread John David Anderson (_psychic_)
In order to help, we'll need to see what your model code, your HTML form, and your controller action look like. It's normal to spend some time learning how things work together: you just have to be patient while you're learning the ropes. It's that way with any technology, including plain

Re: Looking for the Rapid in Cakephp

2008-04-29 Thread John David Anderson (_psychic_)
On Apr 29, 2008, at 10:15 AM, gstrock wrote: thanks for the insight. I think I'm just having a bad day. I realize with everything there is a learning curve. I guess I just thought it would be next to nothing for cake. :-) Actually, my project has 1 database with 4 tables, so it's a

Re: We're under attack

2008-03-28 Thread John David Anderson (_psychic_)
On Mar 28, 2008, at 10:51 AM, Stephen Orr wrote: I'm sure I won't be the first person to have seen this... or the last to respond to it: http://www.akbkhome.com/blog.php/View/161/CakePHP_taking_it_apart_and_the_better_written_world_of_sinners.html Seems like this guy just doesn't like

Re: Image Upload Behavior

2008-03-25 Thread John David Anderson (_psychic_)
On Mar 25, 2008, at 9:22 AM, Chris Hartjes wrote: On Tue, Mar 25, 2008 at 9:39 AM, rachev.preslav [EMAIL PROTECTED] wrote: I am having some problems with this behavior, more specifically in the behavior's beforeSave() function. If you expect some help, how about telling people the

Re: CookBook PDF

2008-03-08 Thread John David Anderson (_psychic_)
On Mar 8, 2008, at 6:01 PM, Chris Hartjes wrote: On Sat, Mar 8, 2008 at 6:14 PM, Mech7 [EMAIL PROTECTED] wrote: The API in pdf would be nice too :p A pony to ride would be nice as well, but that's not happening either. The API is likely to change before 1.2 is labeled as being final,

Re: CookBook PDF

2008-03-08 Thread John David Anderson (_psychic_)
On Mar 8, 2008, at 9:04 PM, the_woodsman wrote: I think it would be great if the big name contributors to the group welcomed ideas more openly! Resistance is usually a side effect of being over stressed. When you already feel like you've dumped too much into something and people

Re: Table-less model associations

2008-02-25 Thread John David Anderson (_psychic_)
On Feb 25, 2008, at 12:07 PM, Bob Mattax wrote: I have a situation where I'm interacting w/ an API where I have to use some webservices to access data from a User and Account table. I've figured out for the most part how to handle the models just by themselves, but am looking for

Re: Automagically

2008-02-23 Thread John David Anderson (_psychic_)
On Feb 23, 2008, at 8:34 AM, jim starboard wrote: Please stop using the term automagically in the docs. It's an embarrassment. Please feel free to imagineer some actionable deliverable we can replace it with. Once you've done so we may be incentivized to leverage your value-add. In

Re: book/manual

2008-02-20 Thread John David Anderson (_psychic_)
On Feb 20, 2008, at 2:19 PM, Samuel DeVore wrote: Book is the planned new manual for cakephp 1.2 John wrote up a little summary at http://bakery.cakephp.org/articles/view/what-s-up-docs Manual is for cakephp 1.1 and is does not have user added comments and really doesn't support

Re: when to use Configure::method() over a DEFINE?

2008-02-08 Thread John David Anderson (_psychic_)
On Feb 8, 2008, at 4:49 PM, johnnyice wrote: looks like you put global constants in the bootstrap.php file. -- This file is ideal for a number of common bootstrapping tasks: 1. Defining convenience functions 2. Registering global constants 3. Defining additional model,

Re: when to use Configure::method() over a DEFINE?

2008-02-08 Thread John David Anderson (_psychic_)
On Feb 8, 2008, at 3:33 PM, johnnyice wrote: this may be more of a design/convention question, but I was curious as to when other bakers decide to add a configuration variable to Cake's Configure over DEFINE (of course both would probably be done in / config/core.php) Depends on whether

Re: CakePHP guide

2008-02-07 Thread John David Anderson (_psychic_)
Rajesh, The new application is very wiki-like. It allows easy contributions (hopefully). It's different in that it has more structure (data is in tree form) and there's an approval/revision process built in. We hope it'll make things easier - hopefully we can have something to show really

Re: CakePHP guide

2008-02-07 Thread John David Anderson (_psychic_)
On Feb 7, 2008, at 6:17 AM, MonkeyGirl wrote: snip find a better way of doing something and I'll update my guide to do it that way instead. If I was writing official documentation, I'd feel like I was saying this is how it's *supposed* to be done, how it *should* be done. I don't feel

Re: CakePHP guide

2008-02-06 Thread John David Anderson (_psychic_)
On Feb 6, 2008, at 9:25 AM, phpjoy wrote: That attitude is the exact difference between ExtJS which is more community-driven and Zend, which is cold and company-driven. ExtJS succeeds because the community-force behind it drives it forward, because people make tons of plugins. Because they

Re: CakePHP guide

2008-02-06 Thread John David Anderson (_psychic_)
On Feb 6, 2008, at 10:03 AM, Baz wrote: I can't help but feel that I'm not the only one who feels that way. What would qualify one to be able to contribute to the Official Cake documentation or the Bakery? There is no qualification. New people have the distinct advantage of being able

Re: CakePHP guide

2008-02-04 Thread John David Anderson (_psychic_)
On Feb 4, 2008, at 10:48 AM, [EMAIL PROTECTED] wrote: I think it's a good start Zoe. I disagree with Nate on one point, I think the more examples and tutorials on Cake the better, regardless of where they exist. CakePHP desperately needs better documentation and once it has it, it's

Re: CakePHP guide

2008-02-04 Thread John David Anderson (_psychic_)
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 contributors, and the only way the community has seen fit to contribute is with scattered, one-off tutorials at various levels of currency, completeness

Re: Beyond black and white validation?

2008-01-25 Thread John David Anderson (_psychic_)
if I'm making this more complicated than it needs to be. Based on what I've explained I'd like to achieve, can you see a different (possibly simpler) way of doing it? Thanks On Jan 25, 2:20 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Jan 25, 2008, at 6:38 AM, grigri

Re: Database design considerations

2008-01-25 Thread John David Anderson (_psychic_)
On Jan 25, 2008, at 3:11 PM, judouk wrote: ///sorry, gmail let me post it first before I'd finished and now that I've had the time to rethink what I was typing, I think I've solved my own problem ! snip CREATE TABLE jobs ( id int(10) not null auto_increment, typeofjob

Re: Beyond black and white validation?

2008-01-25 Thread John David Anderson (_psychic_)
On Jan 25, 2008, at 6:38 AM, grigri wrote: I'd like to hear some suggestions on cakeifying an existing system. Cake's validation is wonderful, but it only allows yes this is good and no it isn't. I've got an application I need to port that has automated warnings built in for some fields.

Re: Beyond black and white validation?

2008-01-25 Thread John David Anderson (_psychic_)
(controllers should be agnostic / double-check if the user really wants to do this). Perhaps a rethink is in order... On Jan 25, 4:04 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: Can you tell us more about why you need warnings? The simplest alternative might be a completely

Re: Business Benifit?

2008-01-24 Thread John David Anderson (_psychic_)
On Jan 24, 2008, at 2:36 PM, Doug @ Straw Dogs wrote: translate language=management In answer (devils advocate) to the sites sales pitch: No Configuration - Way too vague. == less maintenance cost (= less $ in the long run) Extremely Simple - One developer doesn't know how to use it.

Re: Business Benifit?

2008-01-24 Thread John David Anderson (_psychic_)
On Jan 24, 2008, at 2:36 PM, Doug @ Straw Dogs wrote: snip Best Practices - We've not used best practices before and its worked. So why change now? OO - As above. Nothing more than a buzzword. Whats the point. Yada yada yada. I'd have to agree with Chris at some level. Any place that

Re: Beginning CakePHP book with Apress

2008-01-24 Thread John David Anderson (_psychic_)
On Jan 24, 2008, at 3:25 PM, Dave wrote: Hello all, Just wanted to share some great news... Apress has picked up my manuscript for a CakePHP book which will come out in July. Things are moving along nicely and I'm excited to contribute some documentation to the Cake community. The book

Re: Model/controller naming question - object name ends in 's' :

2008-01-12 Thread John David Anderson (_psychic_)
On Jan 12, 2008, at 3:08 PM, Tim wrote: Hi all, I'm a newbie to CakePHP, and a relative newbie to php. CakePHP looks like just what I was looking for :) The issue is with business objects that end with the character 's'. I have a model that i'd like to call lens. That would make the

Re: I would like to have a wiki on cakephp.org

2008-01-07 Thread John David Anderson (_psychic_)
How can you recruit maintainers and editors when the current docs team can't do that? I have some great help from great people, but no one seems to have the time to commit on a regular basis. A wiki represents a much higher maintenance cost, something I doubt you can muster. The core team

Re: Blog Tutorial

2007-12-29 Thread John David Anderson (_psychic_)
On Dec 29, 2007, at 6:51 AM, gobblez wrote: Perhaps the official tutorial should be un-deprecated? Maybe add comments where people can chime in, php.net or Bakery style? It's in the works. I'm moving manual content to the new system already. Would it really take more than 20 minutes to

Re: Setting Up Problems using Server

2007-12-19 Thread John David Anderson (_psychic_)
On Dec 19, 2007, at 10:02 AM, [EMAIL PROTECTED] wrote: Hi Everybody, I did a little site using cakephp. When I was on my computer, it was working. Then I did send to this server hostsys.com.br. The database is ok, because it shows the data, but the css and the rest doesn't appear.

Re: Will CakePHP be able to survive as the Zend Framework matures?

2007-12-17 Thread John David Anderson (_psychic_)
On Dec 16, 2007, at 9:59 PM, Action wrote: I've always used Cake as my primary framework, but the Zend Framework seems to be shaping up nicely. Most of its published criticisms have been dealt with since 1.0 and it has some very impressive features (webservices, etc.). The problem with ZF

Re: Will CakePHP be able to survive as the Zend Framework matures?

2007-12-17 Thread John David Anderson (_psychic_)
On Dec 17, 2007, at 12:22 PM, Jon Miller wrote: On Dec 17, 2007 3:30 PM, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: I'm also tiring of people crying about the docs. Right now, we have 170 completely rewritten printed pages of documentation for code that isn't even BETA

Re: Stop Users From Going Back After Logout

2007-12-17 Thread John David Anderson (_psychic_)
On Dec 17, 2007, at 4:29 PM, Chris Hartjes wrote: On Dec 17, 2007 5:33 PM, MrG [EMAIL PROTECTED] wrote: Hi Chris, I was looking for those two tutorials in your blog but can't find none.

Re: Accelerating cakePHP

2007-12-15 Thread John David Anderson (_psychic_)
On Dec 15, 2007, at 1:12 PM, Chris Hartjes wrote: On Dec 15, 2007 3:00 PM, Pillow [EMAIL PROTECTED] wrote: Hi, I've website which has about 3 uniq visits per day (up to 1500 online). The problem is that CMS written on CakePHP consumes too much of CPUs power. Almost everything is

Re: Sad Question

2007-11-16 Thread John David Anderson (_psychic_)
On Nov 16, 2007, at 4:00 PM, Christopher E. Franklin, Sr. wrote: I have been working with CakePHP for about a year now and have written a company website in that year that totals in about 150MB of combined PHP code. This whole time, I have been using MySQL, Linux, and Apache to do my

Re: Open svn branch for 1.2?

2007-11-03 Thread John David Anderson (_psychic_)
On Nov 3, 2007, at 6:20 AM, R. Rajesh Jeba Anbiah wrote: On Nov 3, 4:30 pm, AD7six [EMAIL PROTECTED] wrote: On Nov 3, 12:14 pm, R. Rajesh Jeba Anbiah [EMAIL PROTECTED] wrote: I think, the Cake Project Manager could open access to another open svn branch for 1.2. By this way, I think

Re: New guy needs some help

2007-11-02 Thread John David Anderson (_psychic_)
On Nov 2, 2007, at 12:00 PM, Chris Thompson wrote: Where I work, we are testing out CakePHP to replace our existing codebase. I have two questions. 1. Do all primary keys for tables have to be 'id'? By convention, yes. By configuration, no. See $primaryKey in the Model. snip For

Re: Interesting Lines of Code stats in Open Source

2007-10-31 Thread John David Anderson (_psychic_)
On Oct 31, 2007, at 9:33 AM, keymaster wrote: At the risk of wasting people's time with more trivia, I thought some may be interested in the following: On ohloh.net I gathered the following stats on sizes of various framework projects by lines of code: One other thing to notice is that

Re: cake php causes bad programming

2007-10-26 Thread John David Anderson (_psychic_)
On Oct 26, 2007, at 3:50 PM, carSign wrote: So today I was having a discussion with a coworker who is not a fan of using CAKEphp. He is in favor of building his sites from scratch and clams that he gets a faster development time (though I argue that he is writing puny sites) Alas, I

Re: ldap_connect() not defined?

2007-10-25 Thread John David Anderson (_psychic_)
On Oct 25, 2007, at 8:52 AM, DonGato wrote: Hello, I'm implementing LDAP authentication and trying to use the MVC posted by UncleBill, i receive the following error: Fatal error: Call to undefined function ldap_connect() in D:\wamp\www \cake\app\models\ldap_user.php on line 19 Where

Re: How many models are possible with Cake?

2007-10-25 Thread John David Anderson (_psychic_)
On Oct 25, 2007, at 10:34 AM, Freight wrote: Hello, I am building a Webapp with Cake and love it very much. The Application have about 30 models. The problem is, that it will increase over the time. Now I wonder, if it could be better to divide the Webapp into different CakeApps to

Re: I'm a CakePHP Crack Head

2007-10-22 Thread John David Anderson (_psychic_)
On Oct 22, 2007, at 4:31 PM, DanielMedia wrote: As awesome as CakePHP is, it does have a weird side effect. When you're trying to find information about certain features or specific documentation, its so scarce that it can make you feel like a crack head looking for a fix. Man... I'll suck

Re: DESCRIBE query

2007-10-17 Thread John David Anderson (_psychic_)
On Oct 17, 2007, at 12:13 PM, Carlone wrote: When I set the DEBUG level to 2 or 3, in almost every page Cake execute a DESCRIBE query for each model I have. Those queries are executed also in the 0 debug level? No, that information is cached in production mode. -- John

Re: Google Analytics Integration?

2007-10-16 Thread John David Anderson (_psychic_)
On Oct 16, 2007, at 4:50 PM, chewie124 wrote: Hi - Has anybody ever had trouble integrating the Google Analytics code into their CakePHP app? I just cut and past the little urchinTracker code snippet from Google right before my /body tag in /views/ layouts/default.ctp. However, when I

Re: New to Cake PHP

2007-10-05 Thread John David Anderson (_psychic_)
On Oct 5, 2007, at 12:22 PM, [EMAIL PROTECTED] wrote: Hello, I'm new to CakePHP, on my first cake setup, i tried to follow the tutorial and create files as stated but it seems I can't access the page that I'm suppose to access like app/views/users/register.thtml. Its giving me this error

Re: 1.2.x manual

2007-10-02 Thread John David Anderson (_psychic_)
On Oct 2, 2007, at 8:17 AM, macasek wrote: I see there is a 1.2.x api but is there also a manual under development? Yep. It's nearing 150 printed pages, and an initial version is already under review by the core development and documentation teams. Stay tuned. -- John

Re: R: CodeIgniter vs CakePHP

2007-10-02 Thread John David Anderson (_psychic_)
On Oct 2, 2007, at 6:15 AM, Pisinho wrote: A problem of CakePHP is a documentation or HowTo o Tutorial. Tutorial: http://manual.cakephp.org/appendix/blog_tutorial How-To's: http://bakery.cakephp.org That'll help some, but we're continually working on making things better. -- John

Re: loading chunk

2007-10-02 Thread John David Anderson (_psychic_)
On Oct 2, 2007, at 8:49 AM, Auke wrote: Hi guys, I have just started yesterday using cakePhp. I'm vamiliar with frameworks and always have used CodeIgniter. Now i have to use cakePhp because the company i will work for is using that. and now the question i have: I want to minimize

Re: JQuery or Prototype

2007-10-01 Thread John David Anderson (_psychic_)
On Oct 1, 2007, at 10:00 AM, mat wrote: I vote jQuery too :-) I think they're both capable, but jQuery rubs me the wrong way. Personally, Ihate().reading(code).thatIsChained(intoOblivion); I think jQuery also has a collection of widgets and stuff, whereas proto is more like something

Re: JQuery or Prototype

2007-10-01 Thread John David Anderson (_psychic_)
On Oct 1, 2007, at 11:24 AM, [EMAIL PROTECTED] wrote: Also, JQuery is designed to be compatible with other js libraries (including Prototype). But Prototype isn't, Not sure what you mean here. I've never had problems using other libs (such as mootools) with prototype. -- John

Re: Routing or something external?

2007-09-26 Thread John David Anderson (_psychic_)
On Sep 26, 2007, at 5:51 PM, Dateve wrote: I have a question that I am not sure if I should use cakephp to solve or some other external trick. For example, I want to create a website that has say information about fruits. It will have a vitamins controller and a color controller that you

Re: Code Style Fanaticism

2007-09-24 Thread John David Anderson (_psychic_)
On Sep 24, 2007, at 2:16 PM, Chris Hartjes wrote: On 9/24/07, Jeff Brown [EMAIL PROTECTED] wrote: After a careful reading of the 'The Bakery Article Guidelines' http://bakery.cakephp.org/pages/guidelines And in particular the one paragraph on 'Coding Guidelines' with it's link to:

Re: Downloadable manual?

2007-09-21 Thread John David Anderson (_psychic_)
On Sep 21, 2007, at 11:42 AM, macasek wrote: Why is gods name is there now downloadable manual? You're killing me! It's people like you that make me want to quit. Thanks indeed for this respectful request! Since you pay so well, I guess I better hurry up and get that for you. Combine

Re: How can I help with documentation?

2007-09-20 Thread John David Anderson (_psychic_)
On Sep 20, 2007, at 8:16 AM, [EMAIL PROTECTED] wrote: There are three developers in my company who will be working full time on moving an application over to the CakePHP framework. I want to have us all contribute code and documentation as much as possible. So, how can we help? Should I

Re: Scheduled Task

2007-09-20 Thread John David Anderson (_psychic_)
On Sep 20, 2007, at 10:57 PM, Grant Cox wrote: Are you asking how to simulate a CRON job in Cake, or how to set up CLI access for a real CRON job? If the latter, see http://groups.google.com/group/cake-php/browse_thread/thread/ ca93998efc8ff040/356b65885defec7c It's just a slightly

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread John David Anderson (_psychic_)
On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: Hi, I would like to know if there is the same concept that the modules of the zend framework on cakephp : http://framework.zend.com/manual/en/zend.controller.modular.html (it's like a way to make multiple sites with only one zend

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread John David Anderson (_psychic_)
, Mech7 [EMAIL PROTECTED] wrote: But this is not really about the libs and webroot but about selfcontaining modules. On Sep 19, 10:34 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: Hi, I would like to know

Re: Way to mimic modules of zend framework on cakephp ?

2007-09-19 Thread John David Anderson (_psychic_)
: But this is not really about the libs and webroot but about selfcontaining modules. On Sep 19, 10:34 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: On Sep 19, 2007, at 2:12 PM, [EMAIL PROTECTED] wrote: Hi, I would like to know if there is the same concept that the modules of the zend

Re: 1.2 ready for prime time?

2007-09-10 Thread John David Anderson (_psychic_)
On Sep 10, 2007, at 2:06 PM, Troy Gilbert wrote: Show me how to build Digg with Ruby on Rails and I will believe that RoR is better than a PHP-backed solution. There, I said it. I certainly agree with that sentiment (hence, why I built the site with CakePHP in the first place). I've read

Re: cake1.2

2007-09-06 Thread John David Anderson (_psychic_)
On Sep 6, 2007, at 12:35 PM, Vincent wrote: Hello - Can anybody give a status update on 1.2? Any roadmap for it? https://trac.cakephp.org/roadmap -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: Render a View that's not HTML?

2007-09-06 Thread John David Anderson (_psychic_)
On Sep 6, 2007, at 2:54 PM, bteeter wrote: I'm developing an app which is a set of business data in a MySQL backend. One of the views I'd like to provide is a graph it view. Basically I want to use Cake to get data into the Model and jpgraph to create a graph. The code works, and the

Re: Cannot retrieve new records after saving them

2007-08-31 Thread John David Anderson (_psychic_)
On Aug 31, 2007, at 1:24 PM, [EMAIL PROTECTED] wrote: I'm working on a CakePHP script running from the command-line. I'm attempting to check for a record in table foo, and if it doesn't exist, I add a new record using the Model::save() method. Afterwards, I immediately call

Re: Docs

2007-08-09 Thread John David Anderson (_psychic_)
On Aug 9, 2007, at 10:39 AM, John David Anderson (_psychic_) wrote: Bakers, Just another invitation to any and all who want to make documentation about CakePHP better. The 1.2 manual (in the works) is 120 pages strong, but I'm still looking for folks ready to work on any of the following

Re: cookies ajax

2007-08-08 Thread John David Anderson (_psychic_)
On Aug 8, 2007, at 9:51 AM, Michael Augustyniak wrote: to login I use ajax form and I am trying to setcookie on action and it just does not set the cookie in this action . When I redirect the page to different controller , action and set cookies there its working. Why cookie does not

Re: Session empty in Ajax call

2007-08-08 Thread John David Anderson (_psychic_)
On Aug 8, 2007, at 10:26 AM, simon wrote: Hi, I'm making an Ajax call from the index page of my application to a simple controller called attachments, to a function named add(). I have a session variable called User which I can print on the index page, but which is empty in the

Re: Session empty in Ajax call

2007-08-08 Thread John David Anderson (_psychic_)
On Aug 8, 2007, at 11:19 AM, simon wrote: Not sure... where is the session id located? In your cookies - you can also get it by calling session_id(). -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: Session empty in Ajax call

2007-08-08 Thread John David Anderson (_psychic_)
On Aug 8, 2007, at 11:25 AM, John David Anderson (_psychic_) wrote: On Aug 8, 2007, at 11:19 AM, simon wrote: Not sure... where is the session id located? In your cookies - you can also get it by calling session_id(). I should mention that if CAKE_SECURITY is set to 'high' the ID

Re: Baking in cakePHP 1.2

2007-08-07 Thread John David Anderson (_psychic_)
On Aug 7, 2007, at 11:12 AM, Charlie wrote: Hi, Would anyone could explain to me how I bake in the new cake version? From your cake install: $ ./cake/console/cake bake Or post a link to the new documentation? I searched a lot but couldn't find it. record There's no officially

Re: Model associations problem

2007-08-06 Thread John David Anderson (_psychic_)
On Aug 6, 2007, at 4:49 PM, Ruud Gâst wrote: No-one has an answer? I'd say a lot of people use the same construction so it won't be that hard ... I just don't know how. What happens when you turn DEBUG up to 2 or so? Does the SQL include the condition? Have you tried clearing the model

Re: Menus in default.thtml

2007-08-03 Thread John David Anderson (_psychic_)
On Aug 3, 2007, at 10:32 AM, CakeMan wrote: Hi friends, i am very new to Cakephp and developing an application in which i have menus that are dyanmic and i am extracting from the database. So i want to show them in all the pages for that these menus will be in the Default.thtml. But the

Re: setting pear for cakephp

2007-08-02 Thread John David Anderson (_psychic_)
On Aug 2, 2007, at 10:24 AM, rtanz wrote: im trying to use pear with cakephp, i installed it using the uniserver installer so now pear is located at W:\home\admin\www\plugins\pear/ PEAR. my cakephp code on the other hand is failing to find it, so how can i set cake to included that pear

Re: Please healp me for using the PHPBB

2007-08-01 Thread John David Anderson (_psychic_)
On Aug 1, 2007, at 7:00 AM, Chris Hartjes wrote: On 8/1/07, sandy [EMAIL PROTECTED] wrote: Dear Friends I am sandy.and I want to know that how to we use phpbb and how can we Implement.actuly I am new in the field of PHP.please help me. Thank's to all With Warm

Re: Turn off introspection?

2007-07-31 Thread John David Anderson (_psychic_)
On Jul 31, 2007, at 3:54 PM, [EMAIL PROTECTED] wrote: I've noticed in some of the larger sites that I've built with cake that the database gets hit quite a bit to render even a single page. I'm using caching as much as possible, but for some pages that's not possible. Other frameworks,

Re: Updating Div with ajax

2007-07-30 Thread John David Anderson (_psychic_)
On Jul 30, 2007, at 9:36 AM, madmike210 wrote: In a view, I would like to be able to click on a button and have the index displayed in a div. I accomplish this by doing the following in a view: div onclick=new Ajax.Updater('main_div', '/admin/groups/ index');GROUP VIEW/div span

Re: ACL needs modification for Oracle

2007-07-30 Thread John David Anderson (_psychic_)
On Jul 30, 2007, at 11:58 AM, starkey wrote: Just a note for future generations... ACL in cake_1.1 uses table column names starting with an underscore. Oracle does not allow columns starting with '_' so you will need to modify the classes. When I'm done testing I'll append them to this

Re: Reducing prototype?

2007-07-30 Thread John David Anderson (_psychic_)
On Jul 30, 2007, at 4:13 PM, Howard Glynn wrote: snip Before I go diving into the prototype src components tomorrow, has anyone got any advice / experience / downloads on thinning out a recent up to date prototype for use with cake [1.2] and ajaxhelper?? I use these:

Re: New to Cake

2007-07-19 Thread John David Anderson (_psychic_)
On Jul 19, 2007, at 10:28 AM, Bob wrote: I am attempting to start Cake for the first time. I get the following errors when trying to open: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2) in /home/content/ b/r/

Re: New to Cake

2007-07-19 Thread John David Anderson (_psychic_)
On Jul 19, 2007, at 11:28 AM, Bob wrote: yes, here it is. class DATABASE_CONFIG { var $default = array('driver' = 'mysql', 'connect' = 'mysql_connect',

Re: New to Cake

2007-07-19 Thread John David Anderson (_psychic_)
On Jul 19, 2007, at 11:42 AM, Bob wrote: 127.0.0.1? please explain. Instead of 'host' = 'localhost' do 'host' = '127.0.0.1' -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

Re: Reuse Cake based models in external maintanance scripts

2007-07-16 Thread John David Anderson (_psychic_)
On Jul 16, 2007, at 9:16 AM, roland wrote: Hi there, is there an easy way to reuse the models defined in an Cake based application for example to use in a database maintance script which might be called via cron? I use /app/webroot/index.php as a template to create new scripts for

Re: symfony

2007-07-16 Thread John David Anderson (_psychic_)
On Jul 16, 2007, at 12:46 PM, Chris Hartjes wrote: On 7/16/07, Dave [EMAIL PROTECTED] wrote: Same here. Symfony is a pain to install. I still beg someone to write a detailed book on Cake. This has come up a lot (Symfony being a pain to install). I went and read the instructions on the

Re: Tip O' the Day

2007-07-12 Thread John David Anderson (_psychic_)
On Jul 12, 2007, at 11:01 AM, Gustavo Carreno wrote: On 7/12/07, Gonzalo Servat [EMAIL PROTECTED] wrote: Thanks for sharing that. It would be nice to have a section on CakeForge (if there isn't one already!) that allows users to post tips hints with comments and stuff, much like the

Re: Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\cake\cake\libs\model\datasources\dbo\dbo_mysql.php on line 100

2007-07-12 Thread John David Anderson (_psychic_)
On Jul 12, 2007, at 3:21 PM, ayo4kiks wrote: What in the world is that? I've tried everything, it's not working. Try enabling or installing the mySQL extension for your PHP application. Help should be very close via Google. -- John --~--~-~--~~~---~--~~

Re: IDE PHP and Tools

2007-06-26 Thread John David Anderson (_psychic_)
This topic has been more than covered on this list, please do not reply to this thread, and instead review what's already been covered. Please. :) -- John On Jun 26, 2007, at 8:28 AM, Femi Taiwo wrote: Hi Bakers :-) Zend Development Environment/ Zend Studio. Been using it for about

Re: Session changes

2007-06-22 Thread John David Anderson (_psychic_)
On Jun 22, 2007, at 11:55 AM, BoSc wrote: anyone?? Please don't bump an issue without trying a different approach. Make it more simple, supply more details. Something. Thanks, John On Jun 21, 11:07 am, BoSc [EMAIL PROTECTED] wrote: Hi, I'm currently figuring out sessions on my

Re: A piece of Cake? Questions on Dispatcher Decoupling

2007-06-21 Thread John David Anderson (_psychic_)
On Jun 21, 2007, at 2:42 PM, trooney wrote: Hello Cakers, I have used Cake on three projects and find it a great piece of software -- so much that I'm wondering if the ingredients (models, controllers, and components) can be decoupled and reused in pieces on many projects. Has anyone

Re: HABTM gives me problems with conditional queries.

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 11:11 AM, daxhuiberts wrote: Hello, I have a HABTM association between 'movies' and 'genres'. All works fine 'n stuff. Now I want a list of movies by a specific genre, on which I do $this- Genre-find(name = '.$name.'). So far so good. But since there will be

Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 11:58 AM, Jonathan Langevin wrote: Ah, I can understand logo, surprised about the documentation itself though. So maybe there should be a 3rd-party documentation effort, GPL licensed, so that other sites can host the documentation, as many do with php.net's docs

Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 1:24 PM, Jonathan Langevin wrote: I agree a central location would be best, but to also avoid any legal issues, is why I suggested a 3rd party GPL effort How many third-party efforts would you suggest? :) I still don't see how diluting the effort in many parallel

Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 1:42 PM, Jonathan Langevin wrote: I'm not saying the developers aren't capable of providing documentation. Docs for 1.1 are probably the nicest I've seen (although since the group convinced me to try 1.2, I've become very frustrated with 1.2 's lack of docs). my

The State of the Docs Address 2007

2007-06-19 Thread John David Anderson (_psychic_)
Bakers one and all, I think the recent Commented Version of CakePHP Manual is a direct result of me not sharing what's going on with the docs: where we've been, and where we're headed. Hopefully I can clear this up a bit right now. First, the wiki was a festering pit of misinformation and

Re: The State of the Docs Address 2007

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 3:31 PM, Jonathan Langevin wrote: Thanks for the info, it's greatly appreciated :-) I'd love to be able to help out, but I dunno that I have anything to contribute. I'm 2 weeks into Cake (I've tested it before, but never attempted development until now), and I'm

Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 3:32 PM, Dérico Filho wrote: Hi John! Why would you need to distribute the docs when they're already freely available? Free - chmod 0444??? Free to read, you mean, I guess. :-) Yes. There's a reason we don't allow everyone to post freely to an official CakePHP

Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 3:45 PM, Finster wrote: On Jun 19, 3:03 pm, John David Anderson (_psychic_) [EMAIL PROTECTED] wrote: Why would you need to distribute the docs when they're already freely available? Because they are, like the wiki apparently was, outdated. The manual is great

Re: Commented Version of CakePHP Manual

2007-06-19 Thread John David Anderson (_psychic_)
On Jun 19, 2007, at 8:06 PM, [EMAIL PROTECTED] wrote: It seems to me that there are a lot of good arguments on both sides of the wiki style debate (wikipedia seems to work, but only through shear number of managers). However, the point here is more fundamental to Cake in my opinion. It's

Re: updating records without forms

2007-06-18 Thread John David Anderson (_psychic_)
On Jun 18, 2007, at 11:15 AM, BoSc wrote: Hi, I want to use a update function in my controller that flips a boolean field only. I call the page with http://website/mode/flip/slug When this function is called, it should check whether the database entry for slug in model contains a 0 or

Re: Element Blocks

2007-06-12 Thread John David Anderson (_psychic_)
On Jun 12, 2007, at 2:41 PM, andy wrote: Hi everyone. I'm towards the end of finishing up a blog-type project using CakePHP. My question has to do with element blocks. I'm not sure what they are called, but for example, on many websites there are often side boxes that have different

Re: CakePHP Book

2007-06-12 Thread John David Anderson (_psychic_)
On Jun 12, 2007, at 3:18 PM, Jonathan Langevin wrote: would be simpler to just have a PDF or HTML export of the docs from the doc site :-) We're working on it, people. Stay tuned. -- John --~--~-~--~~~---~--~~ You received this message because you are

Re: cakephp request lifecycle

2007-06-11 Thread John David Anderson (_psychic_)
On Jun 11, 2007, at 7:24 PM, cakePHP wrote: Hi, Is there a good article that discusses the lifecycle of a request to response in cakephp? Here's an excerpt from the (draft) CakePHP 1.2 Manual: http://cakeforge.org/docman/view.php/53/462/1point2.pdf -- John

Re: Downloading CakePHP

2007-06-08 Thread John David Anderson (_psychic_)
On Jun 8, 2007, at 9:52 AM, Simunza S. Muyangana wrote: Thank you, Unfortunately I am in South Africa and my demit crd can not be used for internet transactions. I do not have a credit card either. Donations aren't required - you should be able to proceed without any problems. And

Re: Additional layout placeholders?

2007-06-07 Thread John David Anderson (_psychic_)
On Jun 7, 2007, at 9:47 AM, Joshua Benner wrote: If I understand what you're saying... the only built-in content variable is $content_for_layout which comes from the output from the currently-executing view. However, layouts have access to the variables that you set in your controller

Re: bake.php and $form

2007-06-06 Thread John David Anderson (_psychic_)
On Jun 5, 2007, at 10:31 PM, tmac22 wrote: Where is the $form variable initialized that bake.php references in add and edit? It represents a FormHelper instance, which is always available in views by default (along with the HtmlHelper, or $html). You can remove or add it by specifying a

  1   2   3   4   >