Re: You favorite IDE/ Dev Setup?

2011-04-24 Thread evilbloodydemon
Windows 7, PhpStorm, git, apache/mysql

-- 
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 group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Creating a REST API w/ CakePHP

2010-01-01 Thread evilbloodydemon
Use SecurityComponent and basic HTTP authentication (http://
book.cakephp.org/view/473/Basic-HTTP-Authentication)

On 2 янв, 02:28, Kyle Decot  wrote:
> I am creating an API for my CakePHP site and I am wondering how I
> should go about authentication? I will be mainly using my API for my
> iPhone app but would also like to eventually open it up to anyone that
> would be interested in using it. Any recommendations, or approaches
> you would suggest would be appreciated.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Are unit tests REALLY a unit tests?

2009-12-03 Thread evilbloodydemon
you can use autoload in 1.2/1.3 with http://github.com/mcurry/lazy_loader

On 3 дек, 13:53, Grzegorz Pawlik  wrote:
> Ok then. I thought I'm doing something in a un-smart way. One more
> reason to wait for php5 only CakePHP (v2 I suppose ;)).
> Thanks and good luck!
>
> Greg
>
> 2009/12/2 mark_story :
>
>
>
> > Although you don't use all the relations, all of the fixtures are
> > needed due to the way associations are implemented by CakePHP.  This
> > is mostly a side effect of PHP4 support and will be removed once
> > autoloading of models can be achieved.
>
> > -Mark
>
> > On Dec 1, 9:00 am, Grzegorz Pawlik  wrote:
> >> Those should test single unit. I know, that sometimes it's convenient
> >> to test model with (some close) associations.
>
> >> But I find quite odd that situation:
> >> Creating PackageTest, and including app.packages_appendix and
> >> app.appendix fixtures - it's reasonable for now.
> >> But why the heck I need to include app.entry fixture (Appendix belongs
> >> to Entry), and app.user (Entry belongs to User) and app.group (User is
> >> in Group), and so - to the end of relation chain.
> >> If I don't do that - I'll have missing database info instead of test
> >> results.
>
> >> I know that those are related (by transitions), but I never used so
> >> deep recursion. Even If I did, I do It by contain, so it would be
> >> better to get error from Containable, that I'm trying to use unknown
> >> model.
>
> >> After adding model and relations to my project some of my test cases
> >> seize to pass untill I tell them to use fixtures they don't need.
>
> >> Or am I doing something wrong?
>
> >> Greg
> >> ps. Thanks for CakePHP - it's great!
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others 
> > with their CakePHP related questions.
>
> > 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
> > To unsubscribe from this group, send email to
> > cake-php+unsubscr...@googlegroups.com For more options, visit this group 
> > athttp://groups.google.com/group/cake-php?hl=en

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Netbeans CakePHP Bundle

2009-09-10 Thread evilbloodydemon

Hi,
I've ported CakePHP TextMate snippets to NetBeans code templates.
Plz, take a look to http://github.com/evilbloodydemon/netbeans-cakephp-bundle/
and send your feedback.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: lazy loading?

2009-08-11 Thread evilbloodydemon

take a look to http://github.com/mcurry/lazy_loader/tree/master

On Aug 10, 8:13 pm, Martin Westin  wrote:
> Typical me. I never got to my real point.
>
> I wanted to say that if you are having serious performance problems
> even while containing queries then that is a bit odd. What is the
> difference if you bench an action with the unneeded associations
> commented out completely (which should keep the models from loading at
> all)?
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: What do you develop in (ide, text editor, etc.)?

2009-03-01 Thread evilbloodydemon

NetBeans 6.5

On Feb 28, 11:14 pm, adam  wrote:
> I'm using Eclipse with PDT, but Dreamweaver for making layouts.
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Removing page execution time from bottom of page

2008-08-27 Thread evilbloodydemon



On Aug 24, 1:02 am, Aaron <[EMAIL PROTECTED]> wrote:
> At the bottom of every rendered page is an execution time (i.e.
> )  I have views that return json and this breaks the
> parsing.  How do I remove this?
>
> -Aaron

use layout without any other text.

in controller:
function return_json_etc()
{
...
//see /cake/libs/view/layouts/
$this->layout = 'ajax';
...
}

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---