Re: Model Associations and Inserting through Associations

2012-05-05 Thread Nate
I should have specified - the user doesn't necessarily have to be the logged in user. It could be any user, in which case $this->Auth->user('id') doesn't fit my needs. This is closer, I just need to figure out how to grab the user id from the users/view page. On Saturday, May 5, 2012 10:33:09 A

Re: Model Associations and Inserting through Associations

2012-05-05 Thread Nate
Trying to learn it through straight code before I dive into any console commands. One of the biggest reasons that I've put off using MVC is because I like to feel like I'm in control. Yes, probably dumb, but it makes more sense to my fragile brain. On Saturday, May 5, 2012 7:57:13 AM UTC-6, Mic

Model Associations and Inserting through Associations

2012-05-05 Thread Nate
MVC Beginner here - I have created a database with a USER table which hasMany EVENTS, and conversely have set the EVENTS belongsTo USER Here's my question: When I want to add an event from a user page (users/view), how do I automatically associate that event(event/add) with the user in the data

Re: Cake 2: Very confusing docs/tutorials... Is there another foolproof source?

2012-01-13 Thread Nate
Glen, I know your situation. Been there. The best thing I can say is to offer up a compromise and continue to use what's there while you're learning the new framework. Get permission from your boss to spend a few hours a day learning the new framework, and most of the day working on projects that

Re: Disappointed with the training.

2012-01-04 Thread Nate
Thanks Larry. I understand that not every time zone and every language can be covered. I think the live training lessons are a pretty great idea, but I just wonder about those that are unable to attend the lesson when it's scheduled. "no cost" is not what I'm talking about, either. There are qui

Re: Disappointed with the training.

2012-01-04 Thread Nate
Right John. But I'm not needing a "how to program" tutorial. If you're using CakePHP, chances are you're already familiar with the concepts of programming with PHP - you're just looking for a way to speed up your programming process. Exactly what CakePHP is made for. I'm still not sure what I'm g

Disappointed with the training.

2012-01-04 Thread Nate
Well it looks like the CakePHP training came available for registration, and I am rather disappointed in how the training actually is. The beginner, intermediate, and advanced courses are all scheduled courses - each an hour long, from 4pm to 5pm, at $89 a pop. 3 courses, 3 hours, $267 dollars.

Re: Any word on the CakePHP Training?

2011-12-05 Thread Nate
Any updates on this? Also, Are there any CakePHP 2.0 books in the works that anyone is aware of? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related quest

Re: Handling images

2011-11-05 Thread Nate
Thanks Joseph, It's a work in progress - so yes, I can change over to InnoDB. Saving the post first isn't really the method I'm looking for. I'm interested in something like Uploadify, which I just discovered and am trying to get it going. I like it because it starts uploading and processing the

Handling images

2011-11-05 Thread Nate
I'm curious how I would go about setting up my script to process multiple pictures and attach them to a post that doesn't exist yet. In other words, a user is in the process of creating a new post - and uploads an image that automatically gets processed (Some AJAX goodness going on in the backgrou

Re: Getting logged in username and group id

2011-11-04 Thread Nate
Aw yeah that's definitely helpful. Thanks! Starting to really enjoy CakePHP :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscr

Getting logged in username and group id

2011-11-04 Thread Nate
Just trying to improve how I'm doing things. I'm checking a user's usergroup id and displaying additional options if they are in a particular usergroup. (followed the 2 part ACL tutorial in the 2.0 book) Here's an example I have in one of my views, to display different content if you have the per

Re: Admin Routing

2011-11-01 Thread Nate
So what if I have different levels of management? Super Administrators Administrators Managers Managers have a set of options. Administrators have all options that Managers have, and then some. Super Administrators have all options that Managers and Administrators have, and then some. I'd rathe

Admin Routing

2011-11-01 Thread Nate
So I'm reading over the Simple ACL tutorial provided in the documentation. Right at the beginning, it says... "Leave out admin routing for now, this is a complicated enough subject without them." Can anyone give me any links or information on what exactly Admin Routing is and how to utilize it?

Subscriptions

2011-10-31 Thread Nate
There's a few Paypal plugins available out there that I'll get into when I begin coding. Those seem to handle taking the initial payment, and communicating with PayPal to ensure that the payment was successful or a failure for whatever reason. That's fine, for a one time payment - but how would a

Any word on the CakePHP Training?

2011-10-22 Thread Nate
Just curious what's going on with the CakePHP Training. Kinda excited about it. I could definitely use some help! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakeP

Re: Cake Bake cannot connect to my database

2011-10-21 Thread Nate
Awesome! Changing 'localhost' to '127.0.0.1' worked :) Thanks! -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this

Re: Auth password encryption

2011-10-21 Thread Nate
MD5 is only one way. It cannot be reversed...However, it has been "cracked" and is considered insecure by itself. Why? Rainbow tables have billions of hashes. They contain any and every password combination you can come up with. All an attacker has to do is take an MD5 hash and compare it to what

Cake Bake cannot connect to my database

2011-10-21 Thread Nate
Error: PDO::__construct(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in [/Users/nate/ Sites/tor.local/html/lib/Cake/Model/Datasource/Database/Mysql.php, line 160] Any ideas? Thanks -- Our newest site for the community: CakePHP Video Tutorials

Following blog auth tutorial and get fatal error

2011-10-20 Thread Nate
g the UsersController class, I still get this fatal error: Fatal error: Call to a member function allow() on a non-object in / Users/nate/Sites/cakeblog.local/html/app/Controller/ UsersController.php on line 8 I appreciate the help :) -- Our newest site for the community: CakePHP Video Tutorials

Re: gwoo Leaving CakePHP??

2009-10-15 Thread Nate
Thanks to those of you who actually acknowledged Garrett's efforts. I can tell you that he very much appreciates all of it. On Oct 14, 11:50 pm, "Larry E. Masters aka PhpNut" wrote: > Adam, > > Since being informed by gwoo that he was leaving the project a couple weeks > ago, I have stepped bac

Re: Changing Acl database

2009-09-04 Thread Nate
That did it, thanks very much. Off the top of your head, is there any relatively complete documentation about the console switches available? I haven't been able to find much console info in the CakePHP.org docs. For anyone else having this problem, running the following cake command does the tri

Changing Acl database

2009-09-04 Thread Nate
I'd infer from the comments in the code that in order to change my Acl's data source from the default, I should set the following in my app's core.php: Configure::write('Acl.database', 'myDataSourceName'); Assuming that $myDataSourceName is set in database.php, I'd expect "cake -app /pat

Re: Cakephp secret app at CakeFest

2009-07-17 Thread Nate Abele
It's hardly secret. ;-) http://github.com/predominant/CakeFest-Berlin-2009-Workshop/ On Jul 17, 11:10 am, Isaac Raja wrote: > Hi, > > Anybody know where can i find the source of the application that nate > created at the CakeFest this year? I searched for it and couldn't

Validation

2009-06-22 Thread Nate Brunette
When I validate the cakephp.org pages, it comes back with html and css errors. I was hoping to start developing with cakephp, but I don't think I will be able to if it creates validation errors like this. Any reason for this? --~--~-~--~~~---~--~~ You received thi

Re: php 5.3 compatibility?

2009-06-18 Thread Nate Abele
Workin' on it. On Jun 18, 2:48 am, skylar wrote: > I noticed one bug in Trac for disabling E_DEPRECATED warnings in > CakePHP for PHP 5.3, but nothing about a general migration of the code > away from deprecated PHP functions.  If 1.3 is going to be designed > for PHP > 5.0 then this seems to be

Re: $javascript->event() with Event:Selectors

2009-06-13 Thread Nate Abele
It's possible that your event:Selectors and Prototype versions are out of sync. Do you have the latest of both? What does the JavaScript output from the helper look like? On Jun 12, 11:56 am, isho wrote: > Nate thanks for the reply. > > I tried using that syntax but it throws t

Re: $javascript->event() with Event:Selectors

2009-06-11 Thread Nate Abele
Hi Ishmael, The event:Selectors style requires a slightly different syntax because of how it's set up, and you need to write it like this: $javascript->event('.post .title:mouseover', 'this.select (".delete_action").invoke("show")'); Hope that he

Re: Poll: what do you hate about CakePHP?

2009-05-26 Thread Nate Abele
Guys, Thanks so much for all the feedback. Some of it we can act on now, some of it we may be able to act on in the future, and some of it we might never be able to resolve directly, but it's helpful to know what's important to you regardless. We've got a few good goals for the upcoming version

FREE CakePHP e-book by Matt Curry

2009-05-14 Thread Nate
Hey everyone, Matt Curry (of CakePHP Digest fame) has just published a *free* e-book on advanced development techniques with CakePHP. If you're already a seasoned Cake developer, this book will help you pick up many new tricks and best-practice solutions, as well as highlighting many little-know

Re: Can't get $javascript->Object() working !

2009-05-07 Thread Nate Abele
Can you show us an array dump of $channel_list, and the final output of the $javascript->object() call? On May 7, 6:55 am, JAVAddicted wrote: > I'm trying to convert a php array into a json-friendly format but the > following code doesn't output anything: > > ### Controller: > > class ChannelsC

Poll: what do you hate about CakePHP?

2009-05-07 Thread Nate
Well, maybe hate's a strong word. Let's say, what do you like the least? Kind of an odd question, I know, but since we've kick-started development of a new version, I'd like to know what the most frustrating things with the framework are, even if they're things we can't fix right away. I'll get

Re: $this->set(compact()) not working

2009-04-08 Thread Nate
I fixed this in 1.3: http://thechaw.com/cakephp/commits/view/987e469c2fc151bd5d5377517d43a74c3bdf2ba3#numbers On Apr 7, 3:27 pm, brian wrote: > Thanks, both. I'm kicking myself because I did see something about > this a while back. > > Yes, it's complaining about all three. Strange. > > This is

Re: datasourcePaths?

2009-04-07 Thread Nate
On Apr 7, 3:12 am, rtconner wrote: > Do I have it right that there is $modelPaths, $behaviorPaths, > $controllerPaths, $componentPaths, $viewPaths, $helperPaths, > $pluginPaths, $vendorPaths, $localePaths, and $shellPaths... but no > datasourcePaths? Yup, that's correct. This is on the docket t

Re: Why is it so hard to find answers on cakephp trouble?

2009-03-26 Thread Nate
On Mar 26, 7:03 am, Xoubaman wrote: > I like fairies! Guys, the Cookbook is a *collaborative* editing tool, and I really can't stress the "collaborative" part enough. We created it because we're just a few guys, and Cake is a really big framework, and with the pace of development around here, k

Re: Why is it so hard to find answers on cakephp trouble?

2009-03-25 Thread Nate
Hey there, I think these are some excellent points -- the documentation could certainly use some more explanation in a few key areas. Would you be able to drop by #cakephp-docs on irc.freenode.net to discuss it? We could definitely use some people new to the framework who are experienced at revi

CakeFest Berlin 2009 officially announced

2009-03-23 Thread Nate
After much hype and speculation, the next CakeFest event, which will take place in Berlin beginning July 9th, has been officially announced. You can read the full details, along with some other important announcements on the Bakery: http://bakery.cakephp.org/articles/view/cakephp-deutschland Or

Re: Cake performance tips

2009-03-04 Thread Nate
Hint: that "RC" in the version identifier (1.2RC3) stands for "release candidate". And the one that you have in particular is outdated by several versions. We have a final release now, and several minor releases that have come after it. That in itself is probably your main issue. On Mar 4, 3:1

Re: How to Handle Tightly Coupled Database Tables?

2009-03-03 Thread Nate
Hi Brian, I hope I can help. On Mar 3, 2:53 pm, bcreeve wrote: > Most often the way Cake handles relationships is very efficient for > getting new development off the ground.  However, I recently have hit > a wall when it comes to handling two or more tables that are tightly > coupled.  By "tig

Re: debugging a ->find that cause 100% cpu usage

2009-02-13 Thread Nate
If you're using a commercial product, contact the vendor and ask for an updated copy. On Feb 13, 8:20 am, Paamayim wrote: > > > But, you really should see this as a very good excuse to update your > > > core to the current version and deal with the tweaks you may find > > > necessary in your cod

Re: Top 10 Framework

2009-02-02 Thread Nate
That's too meta. Your head asplode. On Feb 2, 10:57 am, Samuel DeVore wrote: > nate do you have a top ten list of people who like to make top ten > lists?  I'm looking for the top 'ten list' maker to see how cakephp > ranks among the top ten,  ten list makers who m

Re: Top 10 Framework

2009-02-02 Thread Nate
These kinds of top 10 lists are for people with nothing better to do with their time than make top 10 lists. On Feb 1, 7:11 pm, yusuf widi wrote: > Hi guyz... i got this somewhere on the net... > > http://www.phpframeworks.com/top-10-php-frameworks/ > > Why they put cake php on the fifth place?

Re: __mergeHasMany causing EXTREMELY slow data retrieval

2009-01-30 Thread Nate
There's probably a more optimal way to run the loop, but apparently one's run into this particular issue before. Your options are (a) file an optimization ticket and wait for someone to fix it, or (b) file an optimization ticket with a patch ping a core developer (gwoo, AD7six, Mark Story, me, et

Re: set(compact('whatever'))

2009-01-28 Thread Nate
On Jan 26, 11:05 pm, brian wrote: > On Mon, Jan 26, 2009 at 10:23 PM, Nate wrote: > > > This has already been covered many times in the mailing list.  Please > > search before posting next time.  Thanks. > > Yeah, yeah. Meaning, you're fed up with people comp

Re: set(compact('whatever'))

2009-01-26 Thread Nate
This has already been covered many times in the mailing list. Please search before posting next time. Thanks. On Jan 26, 8:31 pm, brian wrote: > I was ruminating over the code while having dinner just now and > remembered something. I realised that set() does provide a way to > avoid Inflector

Re: How did they do that?

2009-01-21 Thread Nate
It's all jQuery, as written by Marc Grabanski. Check out http://cakephp.org/js/common.js On Jan 20, 11:13 pm, bee wrote: > Hi I am a newbie to cakephp and I am dying to know how to implement > one of the main menus on cakephp main page: > I have cakephp setup and have implemented one site. Now,

Re: Trying to update a controller from a different model...

2009-01-20 Thread Nate
Not exactly sure what you're trying to do here, but I'd wrap that save () call in an if block, because right now it looks like you have no way of knowing if the save fails. On Jan 20, 9:25 pm, Parris wrote: > come on... someone has to know the answer to this... are you all just > using request a

Re: Confusion with $uniqueIds in dbo_source.php

2009-01-17 Thread Nate
In my book, something needs to be broken before it should be fixed. ;-) In a default HABTM relationship, multiple records with the same foreign key pair are not allowed. Simple as that. If you want to do something custom, set 'unique' to false, and/or create a join model and set up your associa

Re: best cakephp calendar?

2009-01-15 Thread Nate
I actually wrote one a bit ago that I was gonna release this week. I'll post the URL back here when I do. On Jan 15, 12:23 pm, ezekfred wrote: > Hi, > > I have to display a schedule and I'd like to know which calendar > plugin/helper do you use in your projects? > > till now I > know:http://www

Re: (Bad) Tip: Checking HTTP Auth against your normal users table

2009-01-12 Thread Nate
Actually, I'd say this is a good tip given the caveat that HTTP authentication always be done over SSL. On Jan 12, 11:19 am, Martin Westin wrote: > Hi all, > It is not overtly documented but you can check your http > authentication against your normal users table, just like Auth > Component does

Re: route conundrum

2009-01-11 Thread Nate
The 'pass' key only applies to parameters that actually come out of the URL. Try this one: Router::connect('/ASK', array( 'controller' => 'pages', 'action' => 'display', 'ask', 'index' ) ); On Jan 10, 6:32 pm, brian wrote: > A section of my site is

Re: MS SQL 2008 PHP driver

2009-01-08 Thread Nate
Hey eXcalibur, If you end up going with option 2, feel free to ping me off-list if you get stuck. Aside from a few gotchas, the existing driver should be fairly straightforward to adapt, and it'd be great to get one done for the new SQL Server. On Jan 8, 7:25 am, Martin Westin wrote: > Hi eXca

Re: generatetreelist error in rc4

2008-12-23 Thread Nate
Hi Korcan, Without more information, it's hard to tell what the issue is. Could you paste your model files at http://bin.cakephp.org/, and post the link back here? Thanks. On Dec 23, 11:28 am, korcan wrote: > I have this line of code in my project that works in RC3, changed the > cake dir to

Guys (and gals), we're slackin' here

2008-12-19 Thread Nate
Get out the vote! http://www.brownphp.com/2008/12/popular-php-frameworks-whats-your-fav/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com

Release: CakePHP RC4 ...Close

2008-12-18 Thread Nate
CakePHP 1.2 is almost ready... We have all been waiting a long time for 1.2 stable. Today we are happy to announce that we are one step closer to that goal. We are happy to announce the release of CakePHP 1.2 RC4[1]. CakePHP 1.2 RC4 has received more test coverage and over 300 commits. Please re

Re: Tip: FormHelper can create field names like Model[][field]

2008-12-09 Thread Nate
Hey Martin, interesting trick. This isn't technically "sactioned" by the API, and could at some point change, but I agree that there needs to be a way to do this, so we'll look at formalizing one in the future. On Dec 8, 10:26 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I may have added

Re: cakephp.org down/inaccessable

2008-12-08 Thread Nate
Hey everybody, Early this morning (about 2am to 8am CST) we had some very large traffic spikes. We're still looking into what caused them, and we'll do what we need to in order to correct it as soon as we track down which service was getting hit. Presently, most CakePHP properties are hosted on

Re: MVC falling to pieces for modern AJAX apps

2008-11-30 Thread Nate
Maybe something kinda like this? http://github.com/1Marc/cake-stuff/tree/master/live-validate Not all the way there yet, but you get the idea. Hint: it's an integration problem, not an MVC problem. wirtsi wrote: > Hey guys > > I've been developing web applications with Cake for almost 2 years

Re: Mambo on CakePHP brainstorm

2008-11-25 Thread Nate
Based on your stated goals, the two suggestions I would add are: (1) Develop as many of Mambo's features as possible as extensions. This will not only make the CMS itself as flexible as possible (and the CMS's extension API as robust as possible), but it will also help you 'feel the pain' of exte

Re: strange request: store view templates in one location

2008-11-20 Thread Nate
@grigri: Clever and elegant solution, good job. :-) @wisecounselor: Difficult clients are to be educated, charged more, or fired. Hehehe. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to t

Re: databases supported?

2008-11-12 Thread Nate
http://book.cakephp.org/view/68/Creating-Database-Tables No, Ingres is not one of them, but you're welcome to write a driver for it. Just make a copy of whatever driver is the most similar. On Nov 12, 5:07 pm, "soldier.coder" <[EMAIL PROTECTED]> wrote: > Is there a nice list somewhere of databa

Re: Routes - want 'wordpress' like flexibility

2008-11-11 Thread Nate
On Nov 11, 8:43 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > One question, with the following route: > > Router::connect("/articles/:action", >                 array("controller"=>"articles"), >                 array("action" => "list|controller|actions|here") >         ); > > Am I right in t

Re: Routes - want 'wordpress' like flexibility

2008-11-11 Thread Nate
Off the cuff (so I'm not even sure it parses): Router::connect( "/articles/:year/:month/:day/:slug", array("controller" => "articles", "month" => null, "day" => null, "slug" => null), array('year' => $Year, 'month' => $Month, 'day' => $Day, 'slug' => "[A-Za-z0-9_\-]+") ); Router::con

Re: Annoying RC3 form->input behavior, form->input produces select box despite type => text

2008-11-10 Thread Nate
FormHelper should not be overriding anything you set explicitly. If you can reproduce this with a unit test, please submit a bug report at https://trac.cakephp.org/ On Nov 9, 4:48 pm, Kimble <[EMAIL PROTECTED]> wrote: > On Nov 9, 10:35 pm, Kimble <[EMAIL PROTECTED]> wrote: > > > echo $form->inpu

Re: PHP 6 and cakePHP?

2008-11-10 Thread Nate
A stable release of PHP6 will most likely not be available for several years. We're not worrying about it. On Nov 10, 9:35 am, Yodiaditya <[EMAIL PROTECTED]> wrote: > I have heard about PHP 6 from my friend a few hours ago. > He told me that PHP 6 have much updates and significant change rather

Re: A couple of things with Security Component

2008-10-31 Thread Nate
There were a couple of bug fixes related to this issue that got committed just recently. If you're not running on the latest SVN branch code, try updating to that and see if the problem persists. On Oct 31, 3:54 pm, Stinkbug <[EMAIL PROTECTED]> wrote: > I'm having a bit of a problem with the Sec

Re: Function which is executed at the end

2008-10-29 Thread Nate
Off the top of my head, I think the closest thing would be afterFilter() in the Controller or the shutdown() in a component. Is that late enough? On Oct 29, 10:24 am, Abhimanyu Grover <[EMAIL PROTECTED]> wrote: > Hi guys, > > I am looking for a function in CakePHP which is executed after the > d

Re: PHPShop v2 is a cake app!

2008-10-28 Thread Nate
I think it would be possible to write the core of the application as a plugin, but distribute it inside of an application that provides the front-end. This would serve the purpose of (a) appealing to a mass market by making it a working application out of the box, (b) providing a plugin for CakeP

Re: An informal survey of development times using cake

2008-10-28 Thread Nate
This sort of thing is probably very difficult to measure. While CakePHP does remove the "plumbing" work that you need to do on your application, the core business logic in each app is unique, and therefore difficult to compare on a timeline. On Oct 28, 6:03 am, keymaster <[EMAIL PROTECTED]> wrot

Re: Politics aside.....

2008-10-28 Thread Nate
Hey, very cool. You should submit this to the Cookbook's "In the Wild" page. On Oct 28, 11:33 am, Walker Hamilton <[EMAIL PROTECTED]> wrote: > I just thought I'd let the cakePHP community know that cakePHP is > powering a site and a "utility" service at the Barack Obama website. I > built both o

Re: is Cakephp 1.2 faster than Code Igniter ?

2008-10-27 Thread Nate
This "benchmark" should not be taken seriously. There is no available methodology or documentation to reproduce the results independently, nor is there any explanation of how the benchmarks were conducted. Most likely, Yii *appears* to be fast because it does nothing or next to nothing for you.

Re: CakePHP conference in Tokyo 2008 - report

2008-10-27 Thread Nate
That's really amazing. I'm glad the event was so successful, now I just need to learn to speak Japanese. :-) On Oct 26, 8:45 pm, sdozono <[EMAIL PROTECTED]> wrote: > Hello, CakePHP users. > > Last Satureday, we had a CakePHP conference in Tokyo, Japan. (In > Japan.) > > This was a fourth CakePHP

Re: change MIT license to GPL?

2008-10-23 Thread Nate
paying attention. On Oct 23, 2:27 am, Gwoo <[EMAIL PROTECTED]> wrote: > Nate, > > You should stick to coding and leave the licensing questions to the > people who actually know what they are talking about. > Please see my previous message to learn a little about intellectual

Re: change MIT license to GPL?

2008-10-22 Thread Nate
On Oct 22, 4:15 pm, pepejose <[EMAIL PROTECTED]> wrote: > hello, I've been looking for information about the GPL and MIT and > wanted to know, because I am not sure, if I can change the license of > a framework cakephp to GPL and as I have to make changes > > greetings and thank you very much You

Re: Cakephp, European privacy laws, key hased models

2008-10-10 Thread Nate
Do you have a reference to these laws that we could look at? On Oct 4, 4:31 am, イタリア人 <[EMAIL PROTECTED]> wrote: > Hello, > > as per the european community laws on privacy and data protection, it > seems that even if a database is stolen, it should not be possible to > reconstruct the data tables

Re: Javascript causing Ajax form to submit, but not all ajaxy like I want

2008-10-08 Thread Nate
http://book.cakephp.org/view/208/AJAX And I quote: "The AjaxHelper utilizes the ever-popular Prototype and script.aculo.us libraries for Ajax operations and client side effects." On Oct 8, 7:40 pm, Chez17 <[EMAIL PROTECTED]> wrote: > In case anyone wants to know. I did get this to work but I had

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

2008-10-07 Thread Nate
> these extra parts. Can't hurt to know which "extras" are the most > popular. > > On Oct 6, 4:18 pm, Yodiaditya <[EMAIL PROTECTED]> wrote: > > > I'm agree with you nate. Actually, i never using testing cause don't know > > how to use it. >

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

2008-10-06 Thread Nate
The tweet was just me venting my frustration over an unrelated issue, I happened to think the timeliness was funny though. Anyway, as far as the "wasted bandwidth" argument, I have to say that seems a bit silly. Even the largest of the packages weighs in at less than 1.2mb. Anyway, the tests ar

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

2008-10-06 Thread Nate
http://twitter.com/nateabele/statuses/933228799 I'll have to do a blog post expanding on this at some point. On Oct 6, 1:12 pm, 703designs <[EMAIL PROTECTED]> 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

Re: Migration RC2 -> RC3 and more generally

2008-10-02 Thread Nate
Other than replacing the CakePHP core, there were minor changes to a few files in the app folder. Please see here: http://cakebaker.42dh.com/2008/10/02/migration-from-cakephp-12-rc2-to-rc3/ On Oct 2, 8:57 am, Zeugme <[EMAIL PROTECTED]> wrote: > Hi, > > I found myself not sure about what to chan

Release: CakePHP RC3 - The RC of Triumph!

2008-10-01 Thread Nate
It's finally here: the final release before the final release of CakePHP 1.2, and I just want to say how thrilled I am. This release, possibly more than any other in the history of the project, has truly been a team effort. Everyone has really come together to make this a great release, and I just

Re: This Router test fails when using named parameters.

2008-09-29 Thread Nate
You're trying to make it do two different things. Named parameter format is: /profiles/username:mustan9 "Normal" parameter format is: /profiles/mustan9. The latter has nothing to do with CakePHP's notion of 'named parameters'. Please refer to http://book.cakephp.org/view/46/Routes-Configura

Re: Models: Why not more Object Oriented??

2008-09-23 Thread Nate
Yah. We know. We'll get to it. On Sep 23, 7:39 pm, Brenton B <[EMAIL PROTECTED]> wrote: > This is all well and good, in this specific example ... but the > underlying principle still exists: better OOP layout. > > On Sep 23, 5:32 pm, "Jon Bennett" <[EMAIL PROTECTED]> wrote: > > > >  Even if `af

Re: Models: Why not more Object Oriented??

2008-09-23 Thread Nate
On Sep 23, 5:52 pm, Brenton B <[EMAIL PROTECTED]> 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.

Re: CakePHP not recommenable for busy websites?

2008-09-21 Thread Nate
http://book.cakephp.org/view/510/Sites-in-the-wild Take special note of the Mozilla Add-ons portal, one of the most heavily trafficked in the world. On Sep 21, 2:35 am, toby78 <[EMAIL PROTECTED]> wrote: > I am currently evaluating different frameworks and also looking at > cakePHP. > > My first

Re: Unsigned Integers??

2008-09-16 Thread Nate
On Sep 13, 11:47 pm, Brenton B <[EMAIL PROTECTED]> wrote: > > I'll chalk this up to storage-type dependency ... (ex: MySQL can do > unsigned ints, but others can't) ... Yeah, that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: KTML Editor

2008-09-12 Thread Nate
http://www.google.com/search?client=safari&rls=en-us&q=KHTML+editor+CakePHP&ie=UTF-8&oe=UTF-8 On Sep 12, 12:59 am, mirfan <[EMAIL PROTECTED]> wrote: > Hello, > Well, anybody help me how i will include KTML Editor in cake php > please reply me on [EMAIL PROTECTED] --~--~-~--~~-

Re: cake 1.2 custom route

2008-09-03 Thread Nate
Please consult the documentation: http://book.cakephp.org/view/542/Defining-Routes On Sep 3, 3:36 pm, aka <[EMAIL PROTECTED]> wrote: > Hey thats great, thanx works like a charm! > > Can someone also tell me what is happening here...?! > > On 3 sep, 20:39, Nate <

Re: cake 1.2 custom route

2008-09-03 Thread Nate
Router::connect( "/view/:id", array("controller" => "posts", "action" => "view"), array('id' => '[0-9]+', 'pass' => array('id')) ); On Sep 3, 1:37 pm, aka <[EMAIL PROTECTED]> wrote: > Ok, i've been breaking my head over this. > > I'm trying to change the routing of my app so that (for

Re: Simple is Hard, talked by Rasmus Lerdorf @ FrOSCon 2008

2008-08-30 Thread Nate
On Aug 30, 12:41 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On Sat, Aug 30, 2008 at 1:17 AM, Gwoo <[EMAIL PROTECTED]> wrote: > > > Since we have spent some time over the last week optimizing, I figured > > I would run some more tests. I really don't like "ab" as a utility. I > > But wha

Re: Simple is Hard, talked by Rasmus Lerdorf @ FrOSCon 2008

2008-08-28 Thread Nate
@kiang: That's a great idea. I think a more general performance- tuning guide would really help out. I know there are some resources on this, but I think a comprehensive guide in the Cookbook somewhere would be great. I'll see what we can do about this. On Aug 28, 11:11 am, kiang <[EMAIL PROTE

Re: Simple is Hard, talked by Rasmus Lerdorf @ FrOSCon 2008

2008-08-28 Thread Nate
Sorry, but Rasmus' benchmarks are useless. There's no documentation of his methodology. There's not even any indication that he wasn't running in debug mode. I've spoken to Paul M. Jones (author of the original PHP framework benchmarks), and he's getting ready to run another round soon. So, we'

Re: OrderedBehavior - Order your lists in a TreeBehavior like manner, but only for one level.

2008-08-21 Thread Nate
@Alkemann: If you'd like, you can email me directly when the article is updated. I'd be more than happy to review it myself. On Aug 21, 4:28 am, alkemann <[EMAIL PROTECTED]> wrote: > The behaviour is currently beeing updated to be more generally usable. > (Raw sql being removed). > > I will (try

Re: OrderedBehavior - Order your lists in a TreeBehavior like manner, but only for one level.

2008-08-19 Thread Nate
It exists for many reasons, one of which is providing a centralized location for CakePHP resources. Another is to showcase best practices for application development, and using raw SQL in a class that should be portable is not a best practice. On Aug 19, 2:13 pm, villas <[EMAIL PROTECTED]> wrote

Re: MSSQL ntext problem

2008-07-15 Thread Nate
  $fieldName  = > $this->name($build[0] . '.' . $build[1]); >                                                 $fieldAlias = > $this->name(preg_replace("/^\[(.+)\]$/", "$1", > $build[0]) . '__' . $fieldAlias); >                            

Re: MSSQL ntext problem

2008-07-11 Thread Nate
You don't need to change the source. Just extend the driver and override the correct method. On Jul 10, 8:45 pm, bitkidoku <[EMAIL PROTECTED]> wrote: > Thank you very much :-) I did a change in the source in a similar way. > It is dirty but it works. > > On Jul 11, 12:32 am, James K <[EMAIL PROT

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

2008-07-01 Thread Nate
Also, he probably has no idea how to set up a Cake install. He (and you) would do well to refer to the benchmarks produced by Paul M. Jones. On Jul 1, 11:12 am, DragonI <[EMAIL PROTECTED]> wrote: > Ekerete of AVNet Labs has performed "PHP framework comparison > benchmarks"http://www.avnetlabs.co

Re: CakePHP Corporate Identity Colorpalette

2008-06-30 Thread Nate
We have a palette that's available with most of those colors, which you can find in cake.generic.css, which ships with the framework. That's about it though. On Jun 30, 7:48 am, powtac <[EMAIL PROTECTED]> wrote: > Is there a CakePHP (PS) colorpalette to use for cake applications? To > get this "g

Re: Documentation

2008-06-24 Thread Nate
I totally don't get ACL. Like, at all. Who the heck wrote that?? On Jun 24, 12:11 pm, John David Anderson <[EMAIL PROTECTED]> wrote: > 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   > y

Re: Are Cake Models half-baked?

2008-06-23 Thread Nate
Since PHP(4) has better support for arrays than objects, we've decided to play to that and use it for database results. The same architectural principles apply, just in a modified way. Logic can still be embedded in model objects using callbacks and custom methods. See http://c7y.phparch.com/c/

  1   2   3   4   5   6   7   8   9   10   >