Re: Release: CakePHP RC3 - The RC of Triumph!

2008-10-06 Thread John David Anderson
On Oct 6, 2008, at 11:12 AM, 703designs wrote: It's...getting...bigger. Compare the archive sizes from 1.1.x to 1.2 RC3. Sure, it's no Zend Framework, but let's try to keep the framework light and simple if possible. A web framework and simplicity may seem like oil and water at times, but

Re: Praise the good book!

2008-09-27 Thread John David Anderson
On Sep 27, 2008, at 2:50 AM, cronet wrote: I would like to thank especially John David Anderson aka _psychic_ who has the overview about the documentation, and received so much indirect criticism in that era, where the book was not that what it is nowadays... Please don't stop

Re: Models: Why not more Object Oriented??

2008-09-23 Thread John David Anderson
On Sep 23, 2008, at 3:34 PM, Brenton B wrote: If anyone is still reading by this point (sorry it's so long), hopefully you can shed some light. PHP4 support. It's gotten us where we're at, and future versions of Cake will be PHP5-based and more OOP-friendly. -- John

Re: Models: Why not more Object Oriented??

2008-09-23 Thread John David Anderson
On Sep 23, 2008, at 3:52 PM, Brenton B wrote: Hmmm ... never thought of backwards compatibility to PHP4 as a reason. I figured since PHP5 has been out for over 4 years (first beta was over 5 yrs ago) worrying about PHP4's support would've waned ... like, completely dropped off. So I'm

Re: Websites Using CakePHP

2008-09-16 Thread John David Anderson
On Sep 16, 2008, at 10:41 AM, taokodr wrote: Hi Gang! Out of curiosity, whatever happened to the area that had the large list of sites using CakePHP? I keep finding references to this link (http://groups.google.com/group/cake-php/web/cakephp-in-the-wild? hl=en), but it goes to a site that

Re: Html Helper

2008-09-10 Thread John David Anderson
On Sep 10, 2008, at 1:35 AM, nayan wrote: I am using cake 1.2 .When i use echo $html-input('FanType/ fantype_name') in my form.it give me the following error Method HtmlHelper::input does not exist [CORE\cake\libs\view \helper.php, line 148].can we use html helper in cake 1.2 ? Yes, but

Re: making webservices?

2008-09-03 Thread John David Anderson
If you're connecting with Flex, I'd recommend the CakeAMF plugin. https://trac.cakefoundation.org/amf -- John On Sep 3, 2008, at 2:15 AM, saumya wrote: Hi, I am pretty new here.I am going to work in Flex and PHP in my new project. So thinking of using CakePHP and making webservices out of

Re: foregt password

2008-09-02 Thread John David Anderson
This mailing list is not to be used as your own personal development laundry list. Read up on the topics under question–any PHP tutorial will do–and dive in. When you run into problems implementing these ideas in CakePHP, feel free to ask us more specific questions. Regards, John On Sep

Re: Google Analytics Tracking

2008-08-21 Thread John David Anderson
On Aug 21, 2008, at 2:04 PM, Alan wrote: Hi, we're trying to set up Google Analytics tracking with our cakephp site, and we're running into problems. Well, the marketing people are running into problems. Nice clarification. They have files that they say usually go in the root of the

Re: What happens with CakePHP Cookbook?

2008-07-19 Thread John David Anderson
On Jul 19, 2008, at 11:23 AM, Dave wrote: If you published the book at lulu.com (or similar), I'd pay a few bucks to have a printed version of the docs... Sounds like others might too. I'd love to have it on the plane while traveling... It's in the works. We're making sure everything's

Re: What happens with CakePHP Cookbook?

2008-07-19 Thread John David Anderson
On Jul 19, 2008, at 4:38 PM, keymaster wrote: John, are you referring to the CakePHP In Action book: http://www.manning.com/obrien/ that is being billed as the first guide to CakePHP endorsed and supported by the Cake Software Foundation? Nope - I'm talking about a printed version of

Re: What happens with CakePHP Cookbook?

2008-07-18 Thread John David Anderson
On Jul 18, 2008, at 2:24 AM, keymaster wrote: I am desperate need to have a working version of the book. John Anderson and team, if you could ever have asked for a more telling endorsement of your efforts, this thread is it. Yeah we shut it down every so often so you guys will realize how

Re: Using CakePHP with WebORB for PHP?

2008-07-16 Thread John David Anderson
I'd use this instead: https://trac.cakefoundation.org/amf/ -- John On Jul 16, 2008, at 3:15 AM, thomas wrote: Hey Guys, anyone ever used CakePHP together with WebORB for PHP? To me it looks like I need a different object structure in weborb and can't reuse my cakephp stuff, am I right?

Re: I am new to Cake PHP Can anybody help me on google chat

2008-07-16 Thread John David Anderson
On Jul 16, 2008, at 6:15 AM, Ayaz Khan, Indore, India wrote: HI, My Name is Ayaz. I am working as software developer on PHP from last 10 months but I have to work on cake php. I m doing installation of cake php. I have worked with cake php before 8 month. but Now I am facing some

Re: ACL

2008-07-14 Thread John David Anderson
http://book.cakephp.org/view/171/access-control-lists -- John On Jul 14, 2008, at 1:17 PM, puneetratan wrote: Hello Group, Can anyone let me know, the use of ACL in cakephp, and howz we can implement that ? Thanks puneet --~--~-~--~~~---~--~~ You

Re: ACL

2008-07-14 Thread John David Anderson
On Jul 14, 2008, at 3:01 PM, aranworld wrote: I prefer using the honor system to ACL myself. It is much easier to set up. In that case, can I get a login account to your production server? ;) -- John --~--~-~--~~~---~--~~ You received this message because

Re: ACL

2008-07-14 Thread John David Anderson
On Jul 14, 2008, at 1:38 PM, Chris Hartjes wrote: On Mon, Jul 14, 2008 at 3:17 PM, puneetratan [EMAIL PROTECTED] wrote: Hello Group, Can anyone let me know, the use of ACL in cakephp, and howz we can implement that ? http://book.cakephp.org/view/171/access-control-lists

Re: CakeAMFPHP with Cake 1.2

2008-07-08 Thread John David Anderson
On Jul 8, 2008, at 9:29 AM, morris wrote: I'm having a heck of a time trying to get CakeAMFPHP 0.6 working with a cake 1.2 site. We had been working with cake 1.1 and CakeAMFPHP, which was doing fine. I've spent the past week upgrading our site for 1.2 and everything is working extremely

Re: CakeAMFPHP with Cake 1.2

2008-07-08 Thread John David Anderson
.'app'.DS.CakeGateway.php); ? I would certainly appreciate some help here if there is more to it than this. Feel free to PM me. Thanks! On Jul 8, 12:06 pm, John David Anderson [EMAIL PROTECTED] wrote: On Jul 8, 2008, at 9:29 AM, morris wrote: I'm having a heck of a time trying to get

Re: Model association question

2008-07-03 Thread John David Anderson
I always remember it like this: If a table contains a foreign key, it's like a little label that another object has put on it... i.e. it belongsTo something else. hth/fwiw, John On Jul 3, 2008, at 1:38 PM, Jonathan Snook wrote: A priority hasMany tasks. A task belongsTo a priority.

Re: New CakePHP, CodeIgniter, Zend Framework and Ruby on Rails Benchmark

2008-07-01 Thread John David Anderson
Two things to note: 1. He didn't use caching in any of the tests. This seems pretty silly, since almost *every* production website should be doing that. Essentially, if you're not planning on doing what you should be doing, you should be interested in these numbers. 2. His admitted CI

Re: CakePHP Sessions and Ajax (ExtJs)

2008-07-01 Thread John David Anderson
If cake realizes that he user agent is different, it'll nix the session due to security concerns. There are some settings in core.php that turn that checking off - you might play with them, realizing the security implications. -- John On Jul 1, 2008, at 10:26 AM, killerboy wrote: Hi,

Quick informal poll

2008-07-01 Thread John David Anderson
1. Rewrite ACL (parts of Auth) documentation from scratch. 2. Keep what's there and update it. -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

Documentation

2008-06-24 Thread John David Anderson
Bakers, How are we doing? What is the most confusing? What's most needed and missing? I have a punchlist of my own, but I'm looking for input from you guys, especially the new ones. Thanks, John --~--~-~--~~~---~--~~ You received this message because you

Re: Documentation

2008-06-24 Thread John David Anderson
On Jun 24, 2008, at 12:22 PM, Nate wrote: I totally don't get ACL. Like, at all. Who the heck wrote that?? I'd have to agree - the INI stuff is especially bad. -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Utah CakePHP Users - Join Up

2008-06-20 Thread John David Anderson
Bakers, Check out a new Utah-based user group for CakePHP users: http://groups.google.com/group/utahcakephp We're just getting started, but we're hoping to get together for meetings, lunch foosball. Hope to see you there, John --~--~-~--~~~---~--~~ You

Re: Cake Forge

2008-06-13 Thread John David Anderson
On Jun 13, 2008, at 4:03 PM, koko wrote: Hello, I just wanted to know if anyone knows how to get cakeforge script ... is it available for download or what?? because I wanted to start a website for small open source projects and I want to see how cake programmers do it in cakeforg ... I

Re: How to translate the manual

2008-06-12 Thread John David Anderson
On Jun 12, 2008, at 7:16 AM, Parro wrote: Hello, I would like to contribute to translate the manual in Italian. After selecting it as the language, I edited a part of the manual in book.cakephp.org, but I am not sure it is the right thing to do... I have also searched the group and I

Re: How i do date validation?

2008-06-10 Thread John David Anderson
On Jun 10, 2008, at 12:01 PM, GreyWolf wrote: It's 1.2 Yes, i've looked. The documentation for data validation isnt good, i didnt figure it how to validate date. ;~~ Look in the date section: http://book.cakephp.org/view/140/date ? -- John On 9 jun, 14:23, Chris Hartjes [EMAIL

Re: Update from 1.2 beta to rc leads to huge perfomance drop

2008-06-07 Thread John David Anderson
On Jun 7, 2008, at 8:18 AM, Femi Taiwo wrote: Hi, Here a quick 4-step primer to get better performance in cake 1. Specify var $recursive = 0; in your app/app_model.php This will cut off all automatic calls to hasMany haBtm relationships by default. three-quarters of the time, I don't

Re: new not equals syntax

2008-06-07 Thread John David Anderson
On Jun 7, 2008, at 6:22 PM, . wrote: i moved from cake 1.2.6 beta to 1.2.7 rc1. I am trying to do a query Not Equals, but does not work anymore. What is it replaced by? It was mentioned in the release announcment: rather than: 'field' = 'operator value' it is: 'field operator' =

Re: Recommendations for changes to Cake manual.

2008-06-02 Thread John David Anderson
I agree with Chris' suggestion on creating tickets, but let me quickly respond here as well to see what others think... On Jun 2, 2008, at 11:20 AM, mustan9 wrote: Hi, I have a few improvement requests for the Cake online manual. 1) Currently, CakePHP.org is using Google to perform

Re: Recommended User Authentication setup?

2008-05-28 Thread John David Anderson
On May 28, 2008, at 10:57 AM, 703designs wrote: I'm working with Cake right now, and I thought that ACL was my answer to this question, but it seems that Cake's ACL (ACL in general, I suppose) only deals with roles, etc: It should be noted that ACL is *not* a system that is meant to

Re: Unable to inherit from aclnode

2008-05-27 Thread John David Anderson
On May 27, 2008, at 8:50 PM, azlanms wrote: I'm trying to create a model called 'Tree' based on the AclNode class as: class Tree extends AclNode { var $name = 'Tree'; var $validate = array( 'title' = VALID_NOT_EMPTY ); but I got this error message: Fatal error: Class tree:

Re: Vendor issue: Duplicate class name

2008-05-20 Thread John David Anderson
On May 20, 2008, at 4:36 PM, Renan Gonçalves wrote: Why not Cake_*ClassName* convention? Like Zend. BecauseZendHasReallyLongClassNames. (imho) -- John On Tue, May 20, 2008 at 3:51 PM, jonknee [EMAIL PROTECTED] wrote: On May 20, 3:36 am, Matt Huggins [EMAIL PROTECTED] wrote: I'm

Re: Where do I find a cakephp developer in London?

2008-05-20 Thread John David Anderson
On May 20, 2008, at 11:23 AM, eagerterrier wrote: I work for a web design agency in NW London, UK. We have been searching for a cakephp developer for 6 months now with no joy. Even a sound php developer with limited MVC experience would be good. We have spent around £2k on recruitment

Re: Is migrations support planned for Cake?

2008-05-17 Thread John David Anderson
On May 17, 2008, at 3:17 PM, the_woodsman wrote: Are they any steps towards offical cake migrations features, I'd be interested in taking a look, even if they're not very advanced...? Check out the Cake schema console. -- John --~--~-~--~~~---~--~~ You

Re: Cookbook overhaul proposal

2008-05-13 Thread John David Anderson
On May 12, 2008, at 11:15 AM, Aaron Shafovaloff wrote: I propose that the Cake team use MediaWiki with the FlaggedRevs extension (http://www.mediawiki.org/wiki/Extension:FlaggedRevs) instead of their homegrown wiki, which currently has a closed review process. This extension, which will be

Re: OT: Shitty Community

2008-05-08 Thread John David Anderson
I think you're both right (except the part about horrendous documentation - it's actually pretty good at this point). Imho, the core team *and* the community has a lot to learn about being more polite. I think everyone is to the point where we feel justified in making each other mad. Some

Re: OT: Shitty Community

2008-05-08 Thread John David Anderson
On May 8, 2008, at 9:34 AM, AD7six wrote: I'd like to build a forum. How can I do that with cake please? What needs to be said: - Don't ask vague questions - Try to work on a solution a bit before asking What they need: - Help getting started with CakePHP -

Re: OT: Shitty Community

2008-05-08 Thread John David Anderson
On May 8, 2008, at 11:22 AM, Sliv (Tim MacAleese) wrote: I have to agree with Gwoo, I haven't seen any replies that weren't appropriate to the post being replied to. If you write a post that shows you haven't read the welcome blurb posted on the group front page that tells you to search

Re: CakePHP + Flex views

2008-05-07 Thread John David Anderson
On May 7, 2008, at 7:36 AM, Adam Royle wrote: https://trac.cakefoundation.org/amf I've used this for a project and it worked really well. -- John On May 7, 6:26 pm, bob0 [EMAIL PROTECTED] wrote: Hello, I am thinking about CakePHP and Flex interoperability. It would be nice if the V

Re: Is the documentation at book.cakephp.org open source?

2008-05-07 Thread John David Anderson
On May 7, 2008, at 9:24 AM, aranworld wrote: I really enjoy contributing to the official Cake Book, however, it is a very serious problem that the contribution and editing process is so obscure. The black box model absolutely does not work and significantly reduces the incentive to

Re: Is the documentation at book.cakephp.org open source?

2008-05-07 Thread John David Anderson
on needless parallel efforts as much as we can. Thanks, John On May 7, 8:44 am, John David Anderson [EMAIL PROTECTED] wrote: On May 7, 2008, at 9:24 AM, aranworld wrote: I really enjoy contributing to the official Cake Book, however, it is a very serious problem that the contribution

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread John David Anderson
On May 6, 2008, at 2:39 AM, Marcin Domanski wrote: Hey The content is owned by the Cake Software Foundation (...) Can you elaborate why is that ? Why not use GPL ? GFDL ? Creative Commons ? For me it's wierd that a community contributed documentation cannot be used by the community

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread John David Anderson
On May 6, 2008, at 7:47 AM, Sliv wrote: Just a guess, but probably for forking wiki's. That's exactly why we don't allow that. :) I hope you can see why that'd be a problem. -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread John David Anderson
On May 6, 2008, at 7:50 AM, the_woodsman wrote: I second the urgent need for more wiki like features in the Cook Book - I've made a few alterations and comments on the content, but having no idea if any of them were ever accepted, or indeed if the book has even been updated in the last

Re: CakePlus - On the top of CakePHP

2008-05-05 Thread John David Anderson
On May 5, 2008, at 9:51 AM, Dardo Sordi Bogado wrote: The linux kernel. Sweet. I've been looking for a place to backup my funny videos collection. Imagine being able to have them at my fingertips on *any* linux machine I sit down to!! Thanks for the tip. -- John On Mon, May 5, 2008

Re: CakePlus - On the top of CakePHP

2008-05-05 Thread John David Anderson
On May 5, 2008, at 10:08 AM, Dardo Sordi Bogado wrote: Chris, As you have a copy of full history, you can commit. You can't push to Linus repository, as he didn't trust you. But he pulls directly from the ones he trust, and examine the changes he thinks are worth integrating. And there

Re: Is Cake 1.2 ready to use in production?

2008-05-05 Thread John David Anderson
On May 5, 2008, at 12:35 PM, bittersweet wrote: Hi, It's been a year since Cake 1.2 rolled out, and it's still in Beta. I wonder if now it's a good time to upgrade. We are working on internationalization of our site and facing the decision whether to upgrade to use Cake's 1.2 and get it

Re: I don't understand how internationalization works in CakePHP.

2008-05-05 Thread John David Anderson
On May 5, 2008, at 4:05 PM, b logica wrote: You're suggesting i write the documentation for something i do not understand? I do. It's the best way to learn, and it's the best way for us to get docs that are targeted to new people. If you need help reviewing it, I'm available. :) --

Re: Development/Production setup with databases

2008-05-02 Thread John David Anderson
I run some detection logic in bootstrap to see what server I'm on, and set a constant that tells the system where I'm at. In database.php I have a few class variables to specify each of my db setups (staging, qa, production). Then in AppModel, I specify $useDbConfig using my constant so

Re: how do I stop the SQL queries from display in AJAX calls?

2008-04-29 Thread John David Anderson
Use: Configure::write('debug', '1'); That will show errors, but not SQL debugging output. -- John On Apr 29, 2008, at 9:42 AM, MarcS wrote: Hi, How can I stop the SQL queries from being displayed at the bottom of the page in AJAX calls. Up until now I've always used

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: First Doubt with CakePHP

2008-04-24 Thread John David Anderson
On Apr 24, 2008, at 2:47 PM, Chris Hartjes wrote: On Thu, Apr 24, 2008 at 4:15 PM, Nicolás Andrade [EMAIL PROTECTED] wrote: I mean I can separate tasks using a SiteAdmin folder, password protected. But in CakePHP, I don't know how to separate things. Any user which registers himself

Re: Error Cakephp (Failed opening required 'config\core.php' )

2008-04-24 Thread John David Anderson
Run in debug mode so that the cached class paths will be overwritten. I've run into something like this in the past and running in debug mode (or deleting cache files) has helped. -- John On Apr 24, 2008, at 12:42 PM, Quitos wrote: Hi everyone, again requesting your help in CakePHP topic

Re: OT: What code editors do you all use?

2008-04-08 Thread John David Anderson
On Apr 8, 2008, at 10:09 AM, John R wrote: Just curious .. The only features I really use in an editor are code highlighting and FTP ... all of the crazy PHP IDEs are incredibly bloated for me. What do you all use? This topic has been covered a few times before - check the list

Re: PHP Speedy

2008-04-07 Thread John David Anderson
On Apr 7, 2008, at 8:10 AM, Caio Vitor wrote: Does anyone know PHP Speedy? How to implement it on cakephp? More information: http://aciddrop.com/2008/01/21/boost-your-website-load-time-with-3-lines-of-code/ Might work by sticking his stuff in your vendors folder, including it, and

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: acl.php : Call to undefined function uses()

2008-03-27 Thread John David Anderson
On Mar 27, 2008, at 2:52 PM, jamest_amr wrote: Works perfectly, thanks Stonez. Looks like the IMB tutorial is wrong. That accursed International Maritime Bureau is always posting outdated CakePHP tutes. :( -- John --~--~-~--~~~---~--~~ You received this

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: getting started - couple of questions

2008-02-22 Thread John David Anderson
On Feb 22, 2008, at 6:14 PM, jim starboard wrote: I'm setting up my first cakePHP site. Let me explain what I have so far. Am I off to the right start? Then there are some other questions below. I'm doing my home page first. I have the following views\layouts\default.thtml - this is

Re: why change the name?

2008-02-22 Thread John David Anderson
On Feb 22, 2008, at 6:21 PM, jim starboard wrote: In a view you have $content_for_layout but in the controller you set it with $layout. What is the motivation behind this? They're completely different uses from completely different perspectives. The stuff you want injected into a layout

Re: Model that is not tied to a table

2008-02-22 Thread John David Anderson
On Feb 22, 2008, at 6:26 PM, jim starboard wrote: I'm trying to understand how to set up the homepage of my site. I would like to have my home_controller access various tables in the database, eg users, games, etc. The problem is, I'm required to have a home model, If you set $uses to

Re: Model that is not tied to a table

2008-02-22 Thread John David Anderson
On Feb 22, 2008, at 6:59 PM, jim starboard wrote: As far as I know, there's no need for multiple-table models Why? that seems overly simplistic. It is. :) ORM should allow a data representation where setting a single property might update several tables. It does. Check into model

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: where to find cakephp developers?

2007-12-17 Thread John David Anderson
On Dec 17, 2007, at 2:44 PM, joeradical wrote: I am looking for the best place to find seasoned cakephp guru's. I am rewriting our entire site for cake and may need additional help to speed up development. I need someone to make the template, someone to look at the old php code and

Re: where to find cakephp developers?

2007-12-17 Thread John David Anderson
, 12:07 am, John David Anderson [EMAIL PROTECTED] wrote: On Dec 17, 2007, at 2:44 PM, joeradical wrote: I am looking for the best place to find seasoned cakephp guru's. I am rewriting our entire site for cake and may need additional help to speed up development. I need someone to make

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: CakePHP 1.2. pre-beta with CakeAMFPHP

2007-12-13 Thread John David Anderson
On Dec 13, 2007, at 1:37 PM, Gwoo wrote: I have not been working too much on the CakeAMFPHP mainly because I wanted something simple and easy to move around. Plus, with the new AMFEXT, it made sense to write something new. So, we put together the AMF plugin. AMFPHP is not required and

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

  1   2   3   4   5   >