Re: Auth Problem Again..

2011-04-15 Thread Mariano Iglesias
> > Anyway if you get the flash messages, it should be consumed by the login
> > action. Meaning that if you enter wrong credentials, and thus the login
> > message shows again, then the $this->Session->flash('auth') line should
> > consume the message.
>
> I would guess (that recipe isn't in my RAW pdf, which I haven't
> updated) the issue is that if you rely on auth to log you in by
> username - and rely on the users' login action to log you in by email
> that means if you login by email the following happens:
>
> auth startup
> (auto) auth->login
>  fail
>  add flash message
> run login ation
>  try to login
>  success
>  redirect user
>

That's exactly right


> There's nothing in the auth component to clear out the auth error
> message upon login, therefore the "sorry, couldn't log you in" message
> is (obviously) still in the session - and you'll see it on the next
> page to render.
>

You are right, and I didn't understand what the problem was originally.


> > What you can do is remove the $this->Session->flash('auth') from your
> > layout, and instead place it in your app/views/users/login.ctp view,
> since
> > that's where the user will be redirected if there's an auth error anyway.
>
> Forgive me for saying that's a horrible idea. Why not just session-
> >delete the flash message in the controller action after successfully
> logging in a user?
>

I don't think showing the *AUTH* flash messages in the login screen is a
*horrible* idea. The login view is by default where you are taken after an
auth issue, and since the auth flash messages are how the Auth component
tells you about the auth issue, then showing those messages where the user
is redirected makes sense. Saying that's a horrible idea is wrong, to say
the list. Maybe it's horribly wrong?

In any way, I do like the idea of deleting the flash message
upon successful login.

John: all you'd need to do, is add the following line right below the "if
(!empty($user) && $this->Auth->login($user)) {" condition:

$this->Session->delete('Message.auth');

PS: Andy, how is it that you did not get an updated RAW version?

-- 
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: Auth Problem Again..

2011-04-14 Thread Mariano Iglesias
That is correct, the $this->Session->flash('auth'); message is not part of 
the layout
because I relayed on people following:

http://book.cakephp.org/view/1252/Displaying-Auth-Error-Messages

I should've added an Information Box to clear it out :(

Anyway if you get the flash messages, it should be consumed by the login 
action. Meaning that if you enter wrong credentials, and thus the login 
message shows again, then the $this->Session->flash('auth') line should 
consume the message.

What you can do is remove the $this->Session->flash('auth') from your 
layout, and instead place it in your app/views/users/login.ctp view, since 
that's where the user will be redirected if there's an auth error anyway.

-- 
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: Auth Problem Again..

2011-04-14 Thread Mariano Iglesias
What are you talking about here? "By default you would not go through the 
login
action before Auth will do, so your code is useless"

Did you read the recipe? If so, you'll learn that the intention is to handle 
the login *AFTER*
the Auth component processed and found no valid credentials, thus DEFAULTING 
to your
controller action.

Try this yourself:

class UsersController extends AppController {
public $components = array('Auth');
public function login() {
if (
!empty($this->data) && 
!empty($this->Auth->data['User']['username']) && 
!empty($this->Auth->data['User']['password'])
) {
echo 'I should test this stuff before posting ;)';
$this->_stop();
}
}
}

And then try logging in specifying user and password, but using a wrong 
username and/or wrong password.


On Wednesday, April 13, 2011 10:17:15 PM UTC-3, francky06l wrote:
>
> It mainly depend of the Auth setting. By default you would not go 
> trough the login action before Auth will do, so your code is useless 
> since Auth will handle the login before your login code (when $this- 
> >data is not empty). 
>

-- 
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: My Cake app presented at CES keynote

2010-01-18 Thread Mariano Iglesias
Congratulations! That looks like an impressive piece of work. And you 
are right, this shows everyone that CakePHP is not just about writing 
"standard webapps".


Thanks for sharing, and keep up the good work!

Martin Westin wrote:

I have been working on the same Cake app for the past two years. A lot
of it has been a bit hush hush but last week we were truly "outed" by
Qualcomm.

Check out our 3 min segment from the Keynote:
http://www.greatconnection.se/en/ces

The system transmits medical images from echo machines (ultrasound),
CTs, MRs or any similar digital "x-ray" type device, to any mobile
phone, any email inbox and a few social networking apps. There is a
lot of high-tech stuff going on behind the scenes and CakePHP is at
the core of it all. Not just for the web-interfaces but actually to
drive the whole thing.

Roughly 85% of the code and all the main logic is CakePHP. The rest is
C and Java for certain things that benefit greatly from being
optimized and run as compiled code.

For a Cake app it is kind of an oddball I imagine. I thought it might
be interesting to hear of a Cake app that is not a CMS or a Twitter
mash-up or some other more common type of application.

I also thought this would come to my defence and help explain some of
the more strange questions I have been asking and problems I have been
having. I may not be all crazy... I hope.


Now... how am I going to work up the courage to attempt to migrate
this monster to 1.3? :)
  



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
  



--
-MI
*Coding Ninja* @ CRICAVA Technologies 

*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias

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: CakeFest IV - America - Help us pick a location!

2009-11-13 Thread Mariano Iglesias
New York

All the way baby. I can see the Knicks after CakeFest!

Larry E. Masters aka PhpNut wrote:
> Nashville Tn. since I live in Tn now and it would be easier for me to 
> deal with the venues.
>
> Chicago like Walker Hamilton suggested, that is my old "home town" and 
> would be nice to visit.
>
> -- 
> /**
> * @author Larry E. Masters
> * @var string $userName
> * @param string $realName
> * @returns string aka PhpNut
> * @access  public
> */ 
>
> On Fri, Nov 13, 2009 at 6:55 PM, Jose  > wrote:
>
> NEW YORK
>
> -savant
>
> On Nov 12, 10:43 pm, Graham Weldon  > wrote:
> > Hi all,
> >
> > The CakePHP team has been considering the location for the next  
> > upcoming CakeFest.
> > We've decided to bring it back home to the United Sates of America.
> > Thus far we haven't chosen a location for the event, but to
> ensure we  
> > reach as many people as possible, we'd like your opinion on
> where we  
> > should host the event.
> >
> > Essentially, our choices are:
> > - USA East Coast
> > - USA West Coast
> > - USA Central
> >
> > If I have missed another location that you feel might be more
> popular  
> > or accessible to interested attendees, feel free to suggest it.
> > We're keen to hear peoples thoughts on it.
> >
> > Cheers,
> >
> > Graham Weldon (AKA: Predominant)
> >
> > e. gra...@grahamweldon.com 
> > w.http://grahamweldon.com
>
> --
>
> 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=.
>
> --
>
> You received this message because you are subscribed to the Google 
> Groups "CakePHP" group.
> To post to this group, send email to cake-...@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=.


-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-...@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=.




Re: Geocoding, Distance, & Paginate...

2009-10-02 Thread Mariano Iglesias
You may want to try:

http://github.com/mariano/geocode

Includes stuff like: $this->Address->find('near', array('distance' => 5));

AD7six wrote:
>
> On 2 oct, 01:16, Andras Kende  wrote:
>   
>> Basically just overwrite paginate function, something like:
>>
>> http://book.cakephp.org/view/249/Custom-Query-Pagination
>> 
>
> Why is that thought to be necessary. paginate and find all have
> slightly different usage but the same paramters.
>
> $params = array( of, stuff );
> $results = $this->Model->find('all', $params);
> $pResults = $this->paginate();
>
> /*
> or
> $pResults = $this->paginate('Model');
> or
> $pResults = $this->paginate($conditions);
> or
> $pResults = $this->paginate('Model', $conditions);
> */
>
> Kyle Decot Please update the docs to clarify this.
>
> Cheers,
>
> AD
> >
>
>   


-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias


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



Geocode Plugin

2009-08-24 Thread Mariano Iglesias
Bakers,

I've just added a Geocode plugin to my github repository (based mostly 
on the work by Nate at 
http://bakery.cakephp.org/articles/view/geocoding-in-cakephp and 
lababidi at 
http://bakery.cakephp.org/articles/view/adding-a-google-map-to-your-app):

Check it out at (geocode plugin):

http://github.com/mariano/syrup/tree/master

I haven't added any documentation to it yet, since I'm still working on 
it, but you can start to get an idea from its test cases:

http://tinyurl.com/kn4vqb

As you can see:

* Default unit is Kilometers, but any distance calculation can be
  done on the given units (kilometers, miles, feet, inches, nautical
  miles)
* You can attach the Geocodable behavior to any model where you
  store some sort of address information
* If you use the built in Geocode.Address model, you can take
  advantage of the built in 'near' find type, which allows you to:
  o $this->Address->find('near', array('address' => '1209 La
Brad Lane, Tampa, FL'));
  o Paginate on the 'near' find type (check test cases)
  o Specify distance and resulting distance on any given unit:
$this->Address->find('near', array('address' => '1209 La
Brad Lane, Tampa, FL', 'distance' => 5, 'unit' => 'm'));
* When you use 'near' (custom find type) or near method you can sort
  by proximity (near, or further away)

Since I have yet to add documentation those of you who like to be up to 
the challenge and start using this stuff please go ahead. Do report any 
issues you may find on github.

-- 

PS: *Help me Get Married*: Chip in my Wedding Fund 
 :)

-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias


--~--~-~--~~~---~--~~
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: Big Websites In cakePHP ?

2009-06-28 Thread Mariano Iglesias
It should be good enough that I tell you an application that big works 
very well. I would recommend instead of wasting time trying to get 
people to tell you request times, spend some time investigating OPCode 
caching, SQL replication, Cake view caching, and other performance 
improvement tips that are all over the web. We use them, and needless to 
say that's where you should be spending your time.

Techinfocomp.com wrote:
> hai you get this records from clr, what about browser from where cake
> handle the hole application.
>
> can u tell us the total time to load or make a search complete for the
> data ?
>   
-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias


--~--~-~--~~~---~--~~
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: Big Websites In cakePHP ?

2009-06-26 Thread Mariano Iglesias
You don't need to use C to run a large webapp. I am a huge fan of C++ 
and use it myself, but you don't need to. You can build great CakePHP 
apps that scale well:

A for instance, from a client app:

mysql> select count(*) as number_of_tables from 
information_schema.tables where table_schema = 'cake_app';
+--+
| number_of_tables |
+--+
|  444 |
+--+
1 row in set (12.43 sec)

So that's a 444 Table app (has 444 models). Some record counts:

mysql> select count(*) from contacts;
+--+
| count(*) |
+--+
|  2626399 |
+--+
1 row in set (0.59 sec)

mysql> select count(*) from campaign_segments_contacts;
+--+
| count(*) |
+--+
|  3640545 |
+--+
1 row in set (0.65 sec)

mysql> select count(*) from activities;
+--+
| count(*) |
+--+
| 11954349 |
+--+
1 row in set (0.89 sec)

mysql> select count(*) from activity_attributes;
+--+
| count(*) |
+--+
| 73085817 |
+--+
1 row in set (12.46 sec)


See? Rocking a Cake App with over 70 million records in some tables! ;)

Keith wrote:
> I've not found MVC frameworks to scale well regardless of the one you
> pick.  Knowing how many records you've got isn't all that helpful
> either because it's how you interact with them that affects
> performance.
>   

-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias


--~--~-~--~~~---~--~~
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: Calendar files for CakeFest schedule

2009-06-25 Thread Mariano Iglesias
I don't see the after hours listed here ;)

Dennis S. Hennen wrote:
> I created downloadable/subscribable calendars for CakeFest (http://
> tinyurl.com/n6stwg) and the Workshop (http://tinyurl.com/n7wy9u)
> schedules. Enjoy!
>   

-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias


--~--~-~--~~~---~--~~
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: PayPal Direct Payment API Component for 1.2

2009-06-20 Thread Mariano Iglesias
I've been rewriting the component lately but have not yet found the time 
to document the changes:

http://bin.cakephp.org/view/9187751

As you can see a lot of what used to be defines are now configurable 
component settings, and also overridable when you issue an order. Say 
for example you wish to set the component to use the live environment, 
when you attach the component you do:

var $components = array('Paypal' => array('environment' => 'live'));

Anyway I'll try to find the time. If anybody has the chance to play with 
this and wish to help me document, then better!

Jorgepedret wrote:
> After a whole day of searching for an answer and struggling with
> trying to make the component work, I finally got it working in Cake
> 1.2. I'm relatively new to Cake, but have been working with PHP for
> over 5 year, so there are a few things that I'm not sure if I used the
> best way to do it.
>   
-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://www.facebook.com/mariano.iglesias


--~--~-~--~~~---~--~~
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: CakeFest Berlin 2009 officially announced

2009-05-25 Thread Mariano Iglesias
There are some recommendations at the CakeFest website:

http://cakefest.org/pages/travel

laptop wrote:
> any hotel recommendations?
>   

-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://facebook.com/people/Mariano_Iglesias/646886921


--~--~-~--~~~---~--~~
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: Help me

2009-05-25 Thread Mariano Iglesias
http://book.cakephp.org

http://bakery.cakephp.org

Nibohs wrote:
> Hai
>
>   I am new in cake php . If any body have cake PHP docs/tutorials
> please send me.
>   

-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://facebook.com/people/Mariano_Iglesias/646886921


--~--~-~--~~~---~--~~
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: Release: 1.2.3.8166

2009-05-04 Thread Mariano Iglesias
Come to Berlin:

http://cakefest.org

And buy beers for the whole team. How's that?

Miles J wrote:
> I love you guys, seriously.
> I just wish there was somehow to help or give back!
> >
>
>   


-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://facebook.com/people/Mariano_Iglesias/646886921


--~--~-~--~~~---~--~~
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: AW: Pagination with containable: Contain has to effect

2008-11-24 Thread Mariano Iglesias

[2] What do you mean you had the file in the wrong place? Containable is 
part of the core.

Liebermann, Anja Carolin wrote:
> [2] I have contaninable for all my models But I had the file placed in 
> the wrong folder. Ouch
>   

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



Get your CakeFest ticket!

2008-11-04 Thread Mariano Iglesias

Like some of you may know (if you don't, now you do ;) between December 2 and 
December 5 we will be celebrating the CakePHP official gathering, CakeFest. 
There you'll be attending talks about the most interesting topics, given by 
respected members of the PHP community, including the CakePHP Core Team.

This second edition of CakeFest will be hosted in Buenos Aires, Argentina. One 
of Argentina's most important universities, Universidad de Palermo, has been 
chosen as the location for the event.

Tickets are already available, and imoprtant discounts (or even free tickets) 
may apply to you, so hurry and get your ticket! To purchase / get your ticket, 
go to:

http://cakefest.org/users/add

We'll be waiting for you!

The CakePHP team



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



Re: Politics aside.....

2008-10-28 Thread Mariano Iglesias
Is this a way to convince us Bakers to vote for Obama?

Nate wrote:
> 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 of these.
>>
>> Here's the site:http://radar.barackobama.com/
>>
>> The utility service isn't anything to look at, but let's just say,
>> it's provided some much needed "plumbing" for our infrastructure
>> 

-- 
-MI
*Coding Ninja* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://facebook.com/people/Mariano_Iglesias/646886921


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



Re: Getting all (*) fields with Containable?

2008-09-10 Thread Mariano Iglesias
$this->Post->contain('Comment')

the_woodsman wrote:
> Hi,
>
> I want to contain() certain Models and get all their fields, rather
> than explicitly mention every field.
> For example, the example in the cookbook:
>
>1.  $this->Post->contain('Comment.author');
>
> I want to do something like $this->Post->contain('Comment.*') so that
> I can be picky in some models and indiscriminate in others...
>   
-- 
-MI
*Ninja Developer* @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://facebook.com/people/Mariano_Iglesias/646886921


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



Re: SQL: where column NOT IN ...

2008-08-22 Thread Mariano Iglesias
'not' => array('Model.field' => array( 1, 2, ...))

haj wrote:
> It's just current implementation doesn't take 'NOT' keyword with the
> use of IN() for array, i guess, and yields the same result anyway...
>   

-- 
-MI
CIO @ CRICAVA Technologies 
 
*Blog*: http://www.marianoiglesias.com.ar
*Twitter*:  http://twitter.com/mgiglesias
*LinkedIn*: http://www.linkedin.com/pub/2/483/B94
*Facebook*: http://pl.facebook.com/people/Mariano_Iglesias/646886921


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



Re: In Stock: Beginning CakePHP Book with Apress

2008-07-18 Thread Mariano Iglesias

CONGRATULATIONS! Second book in a week. Keep them coming!

Dave wrote:
> My new book, "Beginning CakePHP: From Novice to Professional" is now
> in stock over at Amazon and Barnes and Noble. No more pre-ordering!
> And all you who pre-ordered, the book should ship any moment. I'm
> thrilled -- the book debuted in the top 100 sales rank for "Software
> Development." Exciting, and my hearty thanks to all of your for the
> support!
>
> *** An additional 47 pages will become available online shortly; once
> my personal copies come in, I'll be able to distribute an additional
> chapter to all those that have purchased the book. I'll keep you all
> posted. ***
>
> --Dave
>
> http://www.amazon.com/Beginning-CakePHP-Novice-Professional/dp/1430209771/
>
> http://search.barnesandnoble.com/Beginning-Cakephp/David-Golding/e/9781430209775/?itm=1
> >
>   


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



Re: The First CakePHP Book is out!

2008-07-16 Thread Mariano Iglesias

I know I want one :)

-MI

Gwoo wrote:
> Technically it's not the first, since several have been written in
> Japanese. But congrats on having the first English book. Wonder if the
> dev team will get a free copy ;)
>   


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



Re: Implementing REST service with POST and PUT

2008-07-01 Thread Mariano Iglesias

http://c7y.phparch.com/c/entry/1/art,cakephp-rest

jimbo wrote:
> I am trying to implement a RESTful web service in Cake 1.2 (RC2) that
> could receive XML content through HTTP POST and basically add that
> content as a new row to a db (through a basic simple model) or
> updating an existing one (HTTP PUT).
>   


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



Re: paginate problems RC1

2008-06-16 Thread Mariano Iglesias

Please read the release notes regarding LIKE and other SQL operators.
That should be:

$conditions = array("or"=>(array(
'edifici LIKE %?%' => $searchText,
'adreca LIKE %?%' => $searchText
)));

On Mon, 2008-06-16 at 03:07 -0700, leo wrote:
> Call me a misery, but I seem to be having more problems with RC1 than
> I had with Beta.
> 
> The following works as expected in Beta but invariably returns an
> empty set in RC1:
> 
> $conditions = array("or"=>(array('edifici' => 'LIKE %'.
> $searchText.'%', 'adreca' => 'LIKE %'.$searchText.'%')));
> $this->set('immobles', $this->paginate('Immoble',$conditions));



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



Re: Please include CakeBaker on the blog list

2008-06-04 Thread Mariano Iglesias

@Villas: don't worry, I am not upset. It takes more than a simple
exchange of words to upset me. When a latino is upset, believe me,
you'll notice ;)

On Tue, 2008-06-03 at 20:49 -0700, villas wrote:
> I may have been over-enthusiastic about the blog list,  but goodness
> knows why you and Nate seem upset.  This wasn't intended to be
> controversial.  Thanks for your consideration.



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



Re: Please include CakeBaker on the blog list

2008-06-03 Thread Mariano Iglesias

I've said it a lot of times and I'll say it once again: instead of
caring SO MUCH about a page that is within the cakephp.org domain (even
when you STILL have the wiki page to link all the blogs you want), why
don't you spend that time helping people on other areas?

I for one would like this thread to DIE once and for all. It's clear
that the cakephp.org blog list will remain as-is, period. If you want
to, as you say, "help" the CakePHP community, then devote your time
writing tests, patches, or documentation.

TRUST ME. That's more valuable than arguing if a link should or should
not exist on that page.

On Tue, 2008-06-03 at 20:05 -0700, villas wrote:

> The dev team already do a fantastic job controling the code and
> official docs,  but do you really need such a draconian grip on the
> blog list?  Why not just let the community suggest which blogs they
> like.  Any negative ones would soon be voted off.



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



Re: Please include CakeBaker on the blog list

2008-06-03 Thread Mariano Iglesias

Errr we do too, just look at the Google Group wiki pages.

On Tue, 2008-06-03 at 14:43 -0700, Beth wrote:

> BTW, Symfony allows people to just add their own blogs ;)



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



Re: Convenient $html->link()

2008-05-28 Thread Mariano Iglesias

what about Router::url() ?

-MI

On Wed, 2008-05-28 at 15:25 -0300, Dardo Sordi Bogado wrote:
> I usually put this function in config/boostrap.php
> http://bin.cakephp.org/view/405751361



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



RE: Database Management

2008-05-23 Thread Mariano Iglesias

Burn in hell SPAMMER.

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://www.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de gaojihuiyuan
Enviado el: Viernes, 23 de Mayo de 2008 10:24 a.m.
Para: CakePHP
Asunto: Database Management

SAN Database Management


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



RE: Cookbook overhaul proposal

2008-05-13 Thread Mariano Iglesias

Instead of spending so much time in trying to tell everyone what's
supposedly wrong with the Cookbook, why not use that time to help with the
*ACTUAL* documentation?

God forbid we all chip in on what is actually good for the community.

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://www.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias


-Mensaje original-

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 integrated into Wikipedia in


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



RE: OT: Shitty Community

2008-05-09 Thread Mariano Iglesias

Let's just make this thread die, and in the meantime know this:

1. There are always going to be jerks around, everywhere you go. It doesn't
matter if you are meeting them at a basketball court, at your best friends'
wedding, or on a Google Group (yes, there are jerks on the jQuery group too)

2. Everyone in the Cake team is completely focused in building the best
framework on the planet, with the greatest community to back it up. I think
we are doing a pretty darn good job, and we have a cool community. We just
need to work on those things that are still a problem (we all know what they
are, so I think it's pointless to write an email every other month about
them.)

3. Do not underestimate your own capacity to help. If you think you don't
have the "knowledge" required to write tests / patches, then go and help
John, Andy and the rest at book.cakephp.org. If you think you still don't
have what it takes to help write documentation, then stay on the Google
group and try to help whoever has less knowledge of the framework than you.
If you think nobody has less knowledge than you, then document your
experience starting up with the framework on your blog. See? Anyone can
help!

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://www.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Marcin Domanski
Enviado el: Viernes, 09 de Mayo de 2008 09:00 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: OT: Shitty Community

Cause the people that can answer the questions would not be signed on
the group ;)
The core team IS focused :)

ok you can let this thread die already.


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



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

2008-05-07 Thread Mariano Iglesias

If you don't know what inflation is we have plenty of that in Argentina, and
we can certainly spare some for you.

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://www.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de nate
Enviado el: Miércoles, 07 de Mayo de 2008 08:17 a.m.
Para: CakePHP
Asunto: Re: Is the documentation at book.cakephp.org open source?

Inflation.


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



RE: Something on the top of CakePHP

2008-05-06 Thread Mariano Iglesias

Just because. Or what, am I supposed to conf you in everytime I make a call
to gwoo? 

Who says that everything that Larry, Nate, Garret, and the rest of the
CakePHP team has to be 100% fully disclosed? Heck, you are being told what
goes on in the channel and you question why is it closed? So what if it's
closed? 

Instead of questioning every single thing the cake team does, contribute
something and thank everyone who's dedicating their FREE-FREAKING time to
this project.

It's easy to demand things when you are not putting the time these guys have
been.

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://es.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Marcin Domanski
Enviado el: Martes, 06 de Mayo de 2008 01:54 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Something on the top of CakePHP

>  We do less talking about what is going on in CakePHP in the dev
>  channel than you would imagine. All the talking really happens on
>  Trac, so everyone is free to listen. In the dev channel we just make
>  poke fun at Nate, PhpNut, and sometimes Mariano.

Yeah so why is it closed ? there are other options like voice for core
etc, or even showing the logs.
If its just a place for friends to chat why is it called #cakephp.dev ? ;)


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



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

2008-05-06 Thread Mariano Iglesias

Getting traffic, nate. Getting traffic. How many projects try to benefit
from the popularity of another project for the sole purpose of getting some
users in, and then placing an adsense?

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://es.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de nate
Enviado el: Martes, 06 de Mayo de 2008 12:35 a.m.
Para: CakePHP
Asunto: Re: Is the documentation at book.cakephp.org open source?

Why?  Writing a documentation resource on CakePHP from scratch is
quite an undertaking.  What could possibly be your motivation for
doing such a thing?


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



RE: binding models in behavior

2008-04-27 Thread Mariano Iglesias

Senser: go through the API doc for bindModel() and you'll see that the
changes you do through bindModel are only available for the next find()
operation, after which the model bindings get reset to their original state.

What you need is to tell bindModel not to reset it. On your behavior, change
this:

$model->bindModel(array('hasMany'=>$lang_model));

For this:

$model->bindModel(array('hasMany'=>$lang_model), false);

The API doc is:

http://api.cakephp.org/1.2/class_model.html#6b1a38f7a8ddb61cfa8539734b4d6430

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://es.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

On Apr 26, 12:07 pm, senser <[EMAIL PROTECTED]> wrote:
> Very strange, but if I don't execute  any query on Offer before,
> Categories are fetched OK, but if I run any query on Offer and other
> models (Category & Type) broke.


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



RE: cakePHP or not?

2008-04-17 Thread Mariano Iglesias

Well you could look at the generated HTML source of some page that includes
a form and look for the data[Model][field] format in the input names.

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://es.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de foongoos
Enviado el: Jueves, 17 de Abril de 2008 11:26 a.m.
Para: Cake PHP
Asunto: cakePHP or not?

I have a free lance developer that wants to do a job for me and he
sounds very promising. The project is based on cake but I am afraid
that I will not be able to tell the difference if he used another
frameowork, maybe CMS or even bought a script. What are the sure signs
that indicate that asite was build on cakephp? Some people say to
check "view source" but that does not include any kind of code.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Leadership issues....

2008-04-16 Thread Mariano Iglesias

It takes passionate people to build excellent products.

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://es.cakefest.org

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de dr. Hannibal Lecter
Enviado el: Miércoles, 16 de Abril de 2008 01:55 p.m.
Para: Cake PHP
Asunto: Re: Leadership issues

It is clear to me that they are very passionate, that much I can see :-)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bindable syntax, old vs new

2008-03-31 Thread Mariano Iglesias

Equivalent should be:

$this->Person-find('first', array(
'conditions' => array('Person.id' => $id),
'restrict' => array('PersonType')
));

Take a look at the new CakePHP find syntax to understand it better.

-MI

---

CakeFest: December, 2008 - Buenos Aires, Argentina - http://es.cakefest.org

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar
twitter: http://twitter.com/mgiglesias

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de rob5408
Enviado el: Lunes, 31 de Marzo de 2008 04:08 p.m.
Para: Cake PHP
Asunto: Bindable syntax, old vs new

I'm apparently not understanding the the proper shortform Bindable
syntax, isn't this...
$this->Person->restrict('PersonType');
$this->Person->find('Person.id = ' . $id);

...equivalent to this...

$this->Person->find('Person.id = ' . $id, array('restrict' =>
array('PersonType')));

?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: overriding tags

2008-03-07 Thread Mariano Iglesias

If you are on 1.2:

http://www.cricava.com/blogs/index.php?blog=6&title=overriding_specific_html
_tags_before_usi&more=1&c=1&tb=1&pb=1

-MI

---

CakeFest Hispano: December, 2008 - Buenos Aires, Argentina -
http://es.cakefest.org

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Greg Baker
Enviado el: Viernes, 07 de Marzo de 2008 9:08 a.m.
Para: Cake PHP
Asunto: Re: overriding tags

Is there a standard way of changing a tag format?  I notice in 1.2
they're moved to htmlhelper..  I don't want to create a custom helper
just to override a tag in htmlhelper.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Alternative way of loading a model

2008-03-06 Thread Mariano Iglesias

Actually that should be:

$Model =& ClassRegistry::init('Model');

-MI

---

CakeFest Hispano: December, 2008 - Buenos Aires, Argentina -
http://es.cakefest.org

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Dr. Tarique Sani
Enviado el: Jueves, 06 de Marzo de 2008 10:28 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Alternative way of loading a model

Try App::Import('Model', 'Modelname'); or try to get an instance from
the ClassRegistry::getInstance( ) if the model already has an instance
but is not there in the controller for whatever reason


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Automagically

2008-02-23 Thread Mariano Iglesias

Why? Just because you say so? On your comment I NEED to quote nate: "Your
opinion is wrong!"

I've gotta tell you, some people just *ask for it*... I mean they *beg* for
it...

-MI

---

CakeFest Hispano: December, 2008 - Buenos Aires, Argentina -
http://es.cakefest.org

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de jim starboard
Enviado el: Sábado, 23 de Febrero de 2008 12:34 p.m.
Para: Cake PHP
Asunto: Automagically

Please stop using the term "automagically" in the docs. It's an
embarrassment.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Formatting Arrays

2008-02-21 Thread Mariano Iglesias

Set::combine($data, '{n}.Tag.tag_name', '{n}.Tag.tag_count');

Ain't that just freaking sexy

-MI

---

CakeFest Hispano: December, 2008 - Buenos Aires, Argentina -
http://es.cakefest.org

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Jueves, 21 de Febrero de 2008 07:28 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Formatting Arrays

On Thu, Feb 21, 2008 at 5:15 PM, Ape <[EMAIL PROTECTED]> wrote:
>  Can anyone help me?
>
>  Thanx in advance,
>
>  Ape

Read up on how to use Set::extract


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: bakery article publishing - how long does one need to wait?

2008-02-18 Thread Mariano Iglesias

Hannibal: it's been published. It was modified on Feb 14, so 4 days ain't
the end of the world.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Is JQuery replacing Prototype in cake?

2008-02-17 Thread Mariano Iglesias

Yes, it is nate. And regarding Aaron's comment nate also tells that
eventhough jQuery will eventually be the default, support will be given to
both jQuery & prototype + scriptaculous. So not to worry.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de MattC
Enviado el: Domingo, 17 de Febrero de 2008 05:52 p.m.
Para: Cake PHP
Asunto: Re: Is JQuery replacing Prototype in cake?

To make sure I wasn't misrepresenting what was said I re-listened to
the podcast.  I'm not sure who is talking (Mariano says it's Nate in
one of the comments above), but it's at about the 30:35 mark.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Is JQuery replacing Prototype in cake?

2008-02-14 Thread Mariano Iglesias

He may have heard nate saying it on the latest The Show episode.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Jueves, 14 de Febrero de 2008 12:00 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Is JQuery replacing Prototype in cake?


On Thu, Feb 14, 2008 at 9:58 AM, keymaster <[EMAIL PROTECTED]> wrote:
>
>  I recently read something about cake moving to JQuery instead of
>  Prototype.
>
>  Anyone know whether this is true?

Where did you read this?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Never-ending loop in behaviors afterSave?

2008-02-13 Thread Mariano Iglesias

I meant on the Model class, don't know what I was thinking. Guess I should
get more sleep.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: Mariano Iglesias [mailto:[EMAIL PROTECTED] 
Enviado el: Miércoles, 13 de Febrero de 2008 11:40 p.m.
Para: 'cake-php@googlegroups.com'
Asunto: RE: Never-ending loop in behaviors afterSave?

https://trac.cakephp.org/changeset/6415

They are part of the ModelBehavior class from which all your behaviors
should extend. And since it is a public callable it will be exposed to those
models that act as your behavior. Hence, it *is* available.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Never-ending loop in behaviors afterSave?

2008-02-13 Thread Mariano Iglesias

https://trac.cakephp.org/changeset/6415

They are part of the ModelBehavior class from which all your behaviors
should extend. And since it is a public callable it will be exposed to those
models that act as your behavior. Hence, it *is* available.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de [EMAIL PROTECTED]
Enviado el: Miércoles, 13 de Febrero de 2008 10:12 p.m.
Para: Cake PHP
Asunto: Re: Never-ending loop in behaviors afterSave?

Mmmm...this sounds cool but i couldn't find any trace of the attach
and detach functions in the model class (or any of the above classes),
even though I'm with SVN up at 6457. The call off detach/attach
results in executing the query detach/attach which is obviously
incorrect.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Never-ending loop in behaviors afterSave?

2008-02-13 Thread Mariano Iglesias

Yes, a save() will always trigger behavior's afterSave().

One thing you can do is SVN up and then from your behavior do:

$settings = $this->settings[$Model->alias];

$Model->detach('MyBehavior');
$Model->save( ... );
$Model->attach('MyBehavior', $settings);

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de [EMAIL PROTECTED]
Enviado el: Miércoles, 13 de Febrero de 2008 09:05 p.m.
Para: Cake PHP
Asunto: Never-ending loop in behaviors afterSave?

If in the afterSave function of a behavior i make other saves in the
save model, does the afterSave function gets called again for each
save, and then again and again?
If yes, is there a way to perform the save from the inside the
afterSave function so that this will ignore the behavior (itself)?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



CakeFest website Launched

2008-01-02 Thread Mariano Iglesias
My fellow bakers,

 

The Cake team would like to announce that the CakeFest website (related to
the first official CakePHP gathering) is now available at:

 

http://www.cakefest.org  

 

Go there to find out about CakeFest and sign up for updates. You can also
become a sponsor or submit a speaker proposal.

 

See you at CakeFest!

 

-MI


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: bakery hates me

2008-01-02 Thread Mariano Iglesias
  https://trac.cakephp.org

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

  _  

De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Adam Royle
Enviado el: Miércoles, 02 de Enero de 2008 08:34 a.m.
Para: cake-php@googlegroups.com
Asunto: bakery hates me

 

Maybe it's just me, but I tried to add a comment to an article on the
bakery, and it wouldn't show up, and didn't show a error message. So I am
going to add it here. I am also going to scour the bakery source to find the
root of the issue.

 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: CakeFest

2007-12-28 Thread Mariano Iglesias

Yay!

And if you decide to bring your own cake to give to the cake team, that'd be
cool too!

I'll see everyone at CakeFest!

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Gwoo
Enviado el: Viernes, 28 de Diciembre de 2007 12:13 a.m.
Para: Cake PHP
Asunto: CakeFest

We hope everyone had a great holiday. We wanted to let you know about
some plans for the new year. One of the most exciting will certainly
be CakeFest.  We hope you can join us. Please post comments on the
bakery.

Here is the announcement:
http://bakery.cakephp.org/articles/view/cakefest-2008-02-06-orlando-fl


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bakery article on "Testing Models" -- Missing Database Table

2007-12-20 Thread Mariano Iglesias

That's because setUp should not be used with test cases that descend from
CakeTestCase (i.e: test cases with fixtures) or you are going to get those
nasty side effects. Instead use their equivalents:

startCase(): called ONCE during the execution of ALL test methods, and right
before the first test method is executed

endCase(): called ONCE, after all test methods have executed

startTest($method): called right before EACH test method is executed, and
the parameter $method includes the name of the test method that is about to
start

endTest($method): called right after EACH test method is executed, and the
parameter $method includes the name of the test method that has just
finished executing

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Philip
Enviado el: Jueves, 20 de Diciembre de 2007 12:50 p.m.
Para: Cake PHP
Asunto: Re: Bakery article on "Testing Models" -- Missing Database Table

I also am finding that if I try to load the "...Test" model in the
setUp, the Missing Database Table resurfaces:


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: where to find cakephp developers?

2007-12-17 Thread Mariano Iglesias

www.sypad.com

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de joeradical
Enviado el: Lunes, 17 de Diciembre de 2007 06:45 p.m.
Para: Cake PHP
Asunto: where to find cakephp developers?

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 translate it to cakephp and I need
someone to help add new functions etc.

If you know where to find these people at a reasonable cost it would
help.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



SYPAD beta, outsourcing marketplace built with CakePHP

2007-12-08 Thread Mariano Iglesias
People,

 

I'm pleased to announce that we've just released the first beta version of
SYPAD, an outsourcing marketplace where you can, among other services, hire
developers or sell your development services while working on existing
projects:

 

http://www.sypad.com  

 

It is still on an initial beta phase so there are many things that are being
developed, and a lot more to be added in the near future. However it is
already functional and you can start creating your projects (to get bids and
get people to work on them), or creating your seller profiles (so you can
bid on projects and start working.)

 

I will be posting a Bakery article shortly about how SYPAD managed the
transition from its CakePHP 1.1 codebase into CakePHP 1.2, among other
things.

 

I'll wait for your feedback!

 

-MI

 

---

 

Remember, smart coders answer ten questions for every question they ask. 

So be smart, be cool, and share your knowledge. 

 

BAKE ON!

 

blog:  
http://www.MarianoIglesias.com.ar

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: unbindModel and this->paginate

2007-12-05 Thread Mariano Iglesias
It’s in spanish, but look at the paginate() and paginateCount()
implementation, they should be on your model so you can override
Controller::paginate() auto-calls to find(‘count’) and find(‘all’) so it
instead calls your implementation, where you can do your bindModel() /
unbindModel() :

 

http://groups.google.com/group/CakePHP-es/browse_thread/thread/af2c33b691581
b20/c07817f02457b52a#c07817f02457b52a

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

  _  

De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Baz
Enviado el: Miércoles, 05 de Diciembre de 2007 02:04 p.m.
Para: cake-php@googlegroups.com
Asunto: unbindModel and this->paginate

 

Is there a simple way to get unbindModel and bindModel to work with
$this->paginate?




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: phpGACL + 1.2 - Model Errors

2007-11-28 Thread Mariano Iglesias

The phpGACL plugin is not 1.2 ready yet. I need to dedicate some time to
port it.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Mike Digital Egg
Enviado el: Miércoles, 28 de Noviembre de 2007 02:48 p.m.
Para: Cake PHP
Asunto: phpGACL + 1.2 - Model Errors

Any ideas what is going on? Has anyone else successfully nstalled this
plugin on 1.2?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: published/unpublished mode with search conditions

2007-11-26 Thread Mariano Iglesias

The Soft Deletable behavior has been updated and now also supports string
based conditions:

http://bakery.cakephp.org/articles/view/soft-delete-behavior

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Marcin Domanski aka kabturek
Enviado el: Sábado, 24 de Noviembre de 2007 09:33 p.m.
Para: Cake PHP
Asunto: Re: published/unpublished mode with search conditions

Hey, You can look at the Soft Delete behavior as an example - it ads a
default condition 'deleted' = 0 to all queries if you don't have a
'delete' key in the conditions.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bindable behavior, new expects version for CakePHP 1.2

2007-11-25 Thread Mariano Iglesias

Yeah, two:

1) I'm a moron
2) I needed the web space

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Dr. Tarique Sani
Enviado el: Domingo, 25 de Noviembre de 2007 11:11 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Bindable behavior, new expects version for CakePHP 1.2

BTW any particular reasons that Cake Syrup is on Sourceforge and not
Cakeforge?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



Bindable behavior, new expects version for CakePHP 1.2

2007-11-24 Thread Mariano Iglesias
Hi guys,

 

I'd like to inform the release of Bindable Behavior 1.2.19 beta, which is
not only a port of Expects
(http://bakery.cakephp.org/articles/view/an-improvement-to-unbindmodel-on-mo
del-side) for CakePHP 1.2, but also adds a lot of exciting new features.
Check it out at:

 

http://bakery.cakephp.org/articles/view/bindable-behavior-control-your-model
-bindings

 

Kudos go to Gwoo for convincing me to add some features and implement a name
change, Nate for his preview of what's coming, PhpNut for always correcting
me and pointing me to the right path, and Felix for his Containable.

 

-MI

 

---

 

Remember, smart coders answer ten questions for every question they ask. 

So be smart, be cool, and share your knowledge. 

 

BAKE ON!

 

blog: http://www.MarianoIglesias.com.ar

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Unable to post a comment on Bakery ..

2007-11-23 Thread Mariano Iglesias

Try now, a little while ago I realized that I didn't uncheck the "Draft"
setting.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de francky06l
Enviado el: Viernes, 23 de Noviembre de 2007 05:02 p.m.
Para: Cake PHP
Asunto: Unable to post a comment on Bakery ..

I wounder if it's only me, but I am trying to post a comment, on the
Bakery (about Mariano Bindable behavior) ..I always get "correct error
below" ..but I do not find any error ...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Open svn branch for 1.2?

2007-11-03 Thread Mariano Iglesias

Now that's just a teaser for me to ask you what was the first.

Tease.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de nate
Enviado el: Sábado, 03 de Noviembre de 2007 12:19 p.m.
Para: Cake PHP
Asunto: Re: Open svn branch for 1.2?

This is probably the second craziest thing I have ever heard.
*Especially* given this project's previous experience with a wiki.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: converting DB tables from latin to utf-8

2007-10-29 Thread Mariano Iglesias

http://www.oreillynet.com/onlamp/blog/2006/01/turning_mysql_data_in_latin1_t
.html

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de cakeFreak
Enviado el: Lunes, 29 de Octubre de 2007 12:32 p.m.
Para: Cake PHP
Asunto: converting DB tables from latin to utf-8

I need to convert all tables of an old site from latin1_general_ci (or
latin1_swedish_ci) to utf8_unicode_ci

Is there a convenient way/script that you would suggest to perform
this task in order to avoid to fill pages with strange chars?!?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: saveField breaks in new 1.2 release

2007-10-23 Thread Mariano Iglesias

I suggest you post your code, since Model has an awesome test coverage: in
cake/tests/cases/libs/model/model.test.php you can see for example the
function testSaveField() which tests for saveField() calls, and all tests
are succeeding. Therefore saveField() IS WORKING on 1.2.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de LW
Enviado el: Martes, 23 de Octubre de 2007 04:34 p.m.
Para: Cake PHP
Asunto: Re: saveField breaks in new 1.2 release

Doesn't work means the db-records are not updated, the saveField data
is not saved. it doesn't give me an error message or any entry in the
cake debug log though.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: New 1.2 coming? 5750?

2007-10-12 Thread Mariano Iglesias

When there's a new release it will get posted here, and in the bakery.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de MikeK
Enviado el: Viernes, 12 de Octubre de 2007 02:30 p.m.
Para: Cake PHP
Asunto: New 1.2 coming? 5750?

Is a new release coming? I saw nothing in the release notes or
anything. Where else should I look for more details?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: helper or html tag ?

2007-09-28 Thread Mariano Iglesias

Oh so you *do* have a brain

:)

Sorry, this is the Pinot Noir talking

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Sábado, 29 de Septiembre de 2007 12:22 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: helper or html tag ?

I use HTML helper all I can because I like have a programmatic way to
do complicated HTML tags instead of figuring it all out by hand.  Just
the way my brain is wired I guess.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Deprecated helpers in 1.2.0.5427alpha

2007-09-28 Thread Mariano Iglesias

It is not only much better, it makes you feel like: how on earth could I
work before CakePHP 1.2's FormHelper?

Nothing nicer than:

create('User', array('action' => 'add')); ?>
input('User.name'); ?>
input('User.password'); ?>
input('User.email', array('error' => array(
'required' => 'Please specify an email address',
'valid' => 'Please provide a valid email address',
'unique' => 'This email address is already registered')
))); ?>
end('Create User'); ?>

How can you not fell in love with that?

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Viernes, 28 de Septiembre de 2007 09:43 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Deprecated helpers in 1.2.0.5427alpha

They are deprecated because they want you to use the Form helper
instead of the HTML helper. FormHelper is *much* better than the old
HTML helper.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: new "With" Associations in a HABTM

2007-09-26 Thread Mariano Iglesias

http://www.cricava.com/blogs/index.php?blog=6&title=modelizing_habtm_join_ta
bles_in_cakephp_&more=1&c=1&tb=1&pb=1

Could be useful

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Mech7
Enviado el: Miércoles, 26 de Septiembre de 2007 06:58 p.m.
Para: Cake PHP
Asunto: Re: new "With" Associations in a HABTM

When i try exactly the same as the example in the pdf, except Post is
called Article i only get the results of the table in between? Has
anybody else have this problem?:


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: How to access a controller action from an application not in cakephp structure

2007-09-23 Thread Mariano Iglesias
If it comes from thinkingphp, it can't be good

 

Just kidding ;)

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

  _  

De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Felix Geisendörfer
Enviado el: Domingo, 23 de Septiembre de 2007 04:21 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: How to access a controller action from an application not in
cakephp structure

 

Give this a try:
http://www.thinkingphp.org/2006/08/15/the-ultimate-cakephp-bootstrap-techniq
ue/





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Testing Controllers in 1.2

2007-09-23 Thread Mariano Iglesias

Also look into the code for CakeTestCase (cake/tests/lib/cake_test_case.php)
and something will definitely drive your attention: a method called
testAction().

I still need to write an article about this but basically make your test
case extend CakeTestCase, and then you can do:

$result = $this->testAction('/posts/index');

$result will contain whatever posts/index view renders. If you want instead
to get whatever the action index() returns (via a return statement), then:

$result = $this->testAction('/posts/index', array('return' => 'result'));

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de FallenJehova
Enviado el: Domingo, 23 de Septiembre de 2007 10:46 a.m.
Para: Cake PHP
Asunto: Re: Testing Controllers in 1.2


I'm sure it's late, but just in case anybody google this.

When using the loadController(), just pass the Conroller name without
'Controller''. Cake will concatenate it later.

in your example:

loadController ('Posts');

On 7 sep, 18:38, dresdn <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I just started looking at CakePHP just over a week ago, and so far, I
> like what I see.  Based on documentation, etc., I've decided to start
> out with the 1.2 branch due to all the nice new features.
>
> One of the things I was most interested in was testing, and using the
> Blog Tutorial as a starting point, I wanted to write some tests.  I
> did
findhttp://bakery.cakephp.org/articles/view/testing-models-with-cakephp-1...
> , but for some reason I'm not able to do the same for the controller.
>
> What I have so far in tests/cases/controller/post_controller.test.php
> is:
>
>  loadController ('PostsController');
>
> class PostsTest extends PostsController {
> var $name = 'PostsTest';
>
> }
>
> class PostsControllerTest extends CakeTestCase {
> var $fixtures = array ('post_test');
>
> function testIndex () {
> $this->get ('/posts');
> $this->assertResponse (SUCCESS);
> }
>
> }
>
> When I run the test, I get a Fatal error: Class 'PostsController' not
> found in
>
> It looks like loadController() isn't doing anything.  Am I way off on
> this?  I'm running from svn rev. 5619.
>
> Any help would be appreciated!
>
> Thanks in advance,
> Mike



__ Información de NOD32, revisión 2545 (20070923) __

Este mensaje ha sido analizado con  NOD32 antivirus system
http://www.nod32.com



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: CakePHP Live Broadcast: Be There Or Be Square

2007-09-18 Thread Mariano Iglesias

You have the iTunes feed right there on live:

itpc://live.cakephp.org/shows/index.rss

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Gould, Adrian
Enviado el: Martes, 18 de Septiembre de 2007 10:54 p.m.
Para: cake-php@googlegroups.com
Asunto: RE: CakePHP Live Broadcast: Be There Or Be Square

Would be great if the show was recoded for podcasting/vidcasting via
iTunes or such

I would certainly subscribe to it and recommend to my students!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: 1.2 ready for prime time?

2007-09-10 Thread Mariano Iglesias

He's not asking if he should try RoR, he's asking about 1.2 availability.

So if you just wanna fill up your inbox with arguments, go somewhere else. I
know a couple of blogs that would benefit from that.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Ismael S. Kafeltz
Enviado el: Lunes, 10 de Septiembre de 2007 04:47 p.m.
Para: Cake PHP
Asunto: Re: 1.2 ready for prime time?


I abandoned cake few days ago and now I'm using Ruby on Rails because
I think cake takes too much time to evolve and I could wait more one
year to finally use it seriously.
In my opinion you should study RoR before rework/expansion because you
will have immediately results.

On 10 set, 15:50, "Troy Gilbert" <[EMAIL PROTECTED]> wrote:
> I'm wondering how stable 1.2 is currently? I've got a site with a
> minimal feature set currently built with 1.1 and we're about to do a
> significant rework/expansion of the site over the next month. Would it
> make sense to migrate to 1.2? Where can I go to get a good comparison
> of 1.1 vs. 1.2 in regards to features?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: I hate the bakery

2007-08-28 Thread Mariano Iglesias

Yeah I will soon work on a more intuitive way to install a fresh bakery,
want to get the bugs solved first.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de rtconner
Enviado el: Martes, 28 de Agosto de 2007 04:24 p.m.
Para: Cake PHP
Asunto: Re: I hate the bakery

Hey mariano, or _psychic_, is the categories table supposed to be
mostly like static data (like levels and groups). If so you might want
to add the data to the db export bakery.sql.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: I hate the bakery

2007-08-28 Thread Mariano Iglesias

Who's responsable? Err :)

Also it wouldn't hurt that just EVERY NOW AND THEN those tickets get some
sort of patch. But I guess that's way too much to ask.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Martes, 28 de Agosto de 2007 03:11 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: I hate the bakery


On 8/28/07, rtconner <[EMAIL PROTECTED]> wrote:
>
> Seriously, creating an article on there borderlines on torture. About
> 25% of the times I click save, does it actually save anything. It's
> been like this for months.
>

Like I tell my kids, "hate" is a very strong word.  I don't know who
is responsible at this moment for bakery development and maintenance,
so I suggest you enter a ticket at trac.cakephp.org and it will get
looked at.  Honest.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: cake+joomla=jake, but where have the developers gone?

2007-08-15 Thread Mariano Iglesias

I am the Developer :)

Just need to get my head around some overdue work, after which I'll take a
closer look at what's going on.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de j o e l
Enviado el: Miércoles, 15 de Agosto de 2007 06:29 p.m.
Para: Cake PHP
Asunto: Re: cake+joomla=jake, but where have the developers gone?


I can't speak for the developers, but I do know of their Web sites for
this project and for Drake ( CakePHP + Drupal )...

http://dev.sypad.com/projects/drake

http://dev.sypad.com/projects/jake

Those are official sites they have devoted to both Drake and Jake.
You would probably find the most current stuff there.

Hope that helps.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Cake + Drupal

2007-07-26 Thread Mariano Iglesias

http://dev.sypad.com/projects/drake

The magic of Google!

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de enkara
Enviado el: Jueves, 26 de Julio de 2007 04:03 p.m.
Para: Cake PHP
Asunto: Cake + Drupal

Hi, I want to use Cake and Drupal for my site but I can't find any
tutorial that teaches me in how to do this. I just don't know how
start and if I can use cake only in separate way or I can use cake
inside of drupal files like page.tpl.php (inside a theme).

If you could tell me a page where this is explained... It seems very
strange tom e that there isn't this kind of information. I would be
happy if there where an example to follow.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Mambo to use CakePHP for V5

2007-07-24 Thread Mariano Iglesias

Nice way to receive him, by requesting staff ;)

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Langdon Stevenson
Enviado el: Martes, 24 de Julio de 2007 10:29 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Mambo to use CakePHP for V5

I am sure that you will hear plenty of requests like this, but my main 
desire is easy integration of custom CakePHP functionality with Mambo. 
That would make Mambo an easy choice for me and my clients.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Mambo to use CakePHP for V5

2007-07-23 Thread Mariano Iglesias
PhpNut and gwoo are preparing an official announcement.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

  _  

De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Dr. Tarique Sani
Enviado el: Martes, 24 de Julio de 2007 01:49 a.m.
Para: cake-php@googlegroups.com
Asunto: Mambo to use CakePHP for V5

 

Exciting news  - http://www.source.mambo-foundation.org/content/view/126/1/

Will there be a corresponding announcement from CSF?

What does it mean for future of CakePHP? 




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bakery Article : How to use ACL in 1.2.x

2007-07-18 Thread Mariano Iglesias

The author of the article gets an email with the comments we send from the
bakery. Also the process of submission is explained on the bakery
guidelines.

However the issue preventing from publishing most pending articles is a more
basic break of guideline rules. For example, one statement in the bakery
guidelines reads that there should be no external links to foreign sites
unless you are writing a Case Study, or providing a direct download. Yet,
the person who submitted this ACL tutorial included a signature on two of
his pending articles with a link to a classified site.

I asked him to remove such link from both articles, still waiting.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Samuel DeVore
Enviado el: Miércoles, 18 de Julio de 2007 10:03 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Bakery Article : How to use ACL in 1.2.x

Mariano, is is possible that people don't look for the comments?  are
they mailed to the submitter?  maybe they should.  It's possible that
people just don't know the 'process' that submissions go through?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bakery Article : How to use ACL in 1.2.x

2007-07-18 Thread Mariano Iglesias

I constantly go through the pending list, and add comments to the articles
that are not yet published, explaining what needs to be changed.

Very rarely the writer on the other side actually responds or does the
requested changes. And most of those changes are the result of not following
The Bakery Guidelines, which you agree upon submission.

And please DO NOT send us any emails unless you have NOT received a comment
on your article and it's still pending publishing after some time (i.e: NOT
three hours, but a couple of days or so)

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Miércoles, 18 de Julio de 2007 10:13 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Bakery Article : How to use ACL in 1.2.x

Ketan, if you want your article to get published I suggest you send an
email to PhpNut or gwoo asking them why it hasn't shown up.  Of
course, you are free to remove your article from the bakery and host
it somewhere else online if you don't want to wait.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bakery Article : How to use ACL in 1.2.x

2007-07-15 Thread Mariano Iglesias

You have seen that sometimes I get grumpier than you, so...

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Domingo, 15 de Julio de 2007 10:28 p.m.
Para: cake-php@googlegroups.com
Asunto: Re: Bakery Article : How to use ACL in 1.2.x

The school has exclusive membership...because I'm usually too grumpy
to admit anyone!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bakery Article : How to use ACL in 1.2.x

2007-07-15 Thread Mariano Iglesias

Chris has a school? That's a new one ;)

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Geoff Ford
Enviado el: Domingo, 15 de Julio de 2007 08:11 p.m.
Para: Cake PHP
Asunto: Re: Bakery Article : How to use ACL in 1.2.x

I am a fan of Chris Hartjes's Fat Model, Skinny Controller school of
thought.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: New CakePHP Application Launches

2007-07-04 Thread Mariano Iglesias

+1 on how nice the site looks, and seems fast.

A good case study could be the search you have going on there. I've done
some code to incorporate FULLTEXT searching (need to convert it to a
behavior) which works very well, but still need some polishing before I
publish it.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Geoff Ford
Enviado el: Jueves, 05 de Julio de 2007 03:36 a.m.
Para: Cake PHP
Asunto: Re: New CakePHP Application Launches

And maybe consider a Case Study for the Bakery.  We are always looking
for good real-world examples of applications built on Cake.

The site looks very nice as well.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Problem with beforeValidate()

2007-07-01 Thread Mariano Iglesias

If you are using 1.2 then its because of validates() call you are issuing
(sending a parameter to validates() is deprecated). Even though, and whether
you are using 1.1 or 1.2, change:

if ( $this->User->validates($this->data) ) {

to:

if ( $this->User->create($this->data) && $this->User->validates() )

Or better yet change the whole function to:

function register() {
if ( !empty($this->data) ) {
if ( $this->User->create() && $this->User->save($this->data)
) {
$this->Session->setFlash('Your registration was
successful.');
$this->redirect('/');
exit;
} else {
$this->Session->setFlash('Please correct marked
errors');
}
}
}

Making sure you have Session as an available component in your controller's
$components variable.

Changes here:

1. Using direct call to save() since it will take care of validation for
you.

2. Removed $this->render() since it is redundant.

3. Removed $this->validateErrors() since validation errors for the model
will be copied into the used helpers automatically.

4. Using setFlash() of the Session component, and redirecting to action only
when needed (in this case I'm redirecting user to home page after successful
registration) You can still use $this->flash() though, just a matter of
preference.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de [EMAIL PROTECTED]
Enviado el: Lunes, 02 de Julio de 2007 12:08 a.m.
Para: Cake PHP
Asunto: Re: Problem with beforeValidate()

beforeValidate() is being invoked through the normal flow, i.e. I am
not calling it arbitrarily. Here's my Controller code. Thanks.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Update phpGACL when a user signs up

2007-07-01 Thread Mariano Iglesias

phpGACL comes with an extensive API. Look at the functions available in the
PhpGacl component. To save a user, for example, you would do:

$this->PhpGacl->saveUser($userId, $userName);

For example if you just created a User with ID #15, then you can do:

$this->PhpGacl->saveUser(15, 'User #15');

The second parameter is just a descriptive name to use inside phpGACL Plugin
administration.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Andreas
Enviado el: Domingo, 01 de Julio de 2007 07:33 a.m.
Para: Cake PHP
Asunto: Update phpGACL when a user signs up

I'm using CakePHP 1.1 with phpGACL. I've only tried out Cake for the
last days and now I've finally got an sign up form to work as
expected. But how do I update the corresponding phpGACL tables when a
new user signs up?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Cake 12, validation message and L10N

2007-06-27 Thread Mariano Iglesias

This is why I always recommend to do view-side validation messages.

Check the article in the bakery:

http://bakery.cakephp.org/articles/view/multiple-rules-of-validation-per-fie
ld-in-cakephp-1-2

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de francky06l
Enviado el: Miércoles, 27 de Junio de 2007 01:47 p.m.
Para: Cake PHP
Asunto: Cake 12, validation message and L10N

I am working on the validation in cake12, powerfull !
I am using the l10n for multi language, and I set some custom message
into the $validate :

 array('rule' => ,
 'message' => 'erroruser');

Actually I can't use the __('erroruser') in the model definition for
var $validate (unless I missed something somewhere), bug going deeper
I found out that modifying the line (in model.php, method invalidate,
lime 1739 of SVN branch) as follow :


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: paginator->numbers - problem with ajax ...

2007-06-24 Thread Mariano Iglesias

Please ticket this:

https://trac.cakephp.org

Thanks!

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de puatki
Enviado el: Domingo, 24 de Junio de 2007 10:22 a.m.
Para: Cake PHP
Asunto: paginator->numbers - problem with ajax ...

echo $paginator->numbers(array('url'=> array('controller'=>'Projects',
'action'=>'sort'),'update'=>'list'));

I get 1


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: checking if a controller exists

2007-06-18 Thread Mariano Iglesias


function reachable($url) {
$params = Router::parse($url);

if (!empty($params['controller'])) {
$ctrlName = Inflector::camelize($params['controller']);

if (!loadController($ctrlName)) {
$pluginName =
Inflector::camelize($params['action']);
if (loadController($ctrlName . '.' . $pluginName)) {
return true;
}
} else {
return true;
}
}

return false;
}

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de phpjoy
Enviado el: Lunes, 18 de Junio de 2007 11:06 a.m.
Para: Cake PHP
Asunto: Re: checking if a controller exists

you gave an intresting idea.. maybe i'll simply loadcontroller and
then run the action and then call the view render myself from the
function.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: BUG in 1.2.0.5146alpha

2007-06-17 Thread Mariano Iglesias

https://trac.cakephp.org

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de chanh.ong
Enviado el: Domingo, 17 de Junio de 2007 07:13 p.m.
Para: Cake PHP
Asunto: BUG in 1.2.0.5146alpha

I tried to run cake.php bake -app demoapp to generate some demoapp but
get the following error when tried!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: funny problems

2007-06-17 Thread Mariano Iglesias

Then update.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de sushil
Enviado el: Domingo, 17 de Junio de 2007 09:47 a.m.
Para: Cake PHP
Asunto: Re: funny problems

doesn't work.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: funny problems

2007-06-17 Thread Mariano Iglesias

1. Can you make sure to empty your app/tmp/cache/persistent folder, or set
your DEBUG level to 1 at least?

2. Why haven't you updated to the most recent 1.x release? 1.1.11 is pretty
old in Cake terms :)

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de sushil
Enviado el: Domingo, 17 de Junio de 2007 06:28 a.m.
Para: Cake PHP
Asunto: funny problems

I have come across some funny problems in cakePHP. I am using version
1.1.1.11.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: CakePHP 1.2 Paginator Questions...

2007-06-12 Thread Mariano Iglesias

I see you posted an article, so I guess you already know it is not broken.
Also one more thing: check the article you posted for this on the Bakery for
comments, and then address those comments so I can publish it. Thanks.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de rtconner
Enviado el: Martes, 12 de Junio de 2007 03:39 p.m.
Para: Cake PHP
Asunto: Re: CakePHP 1.2 Paginator Questions...

If the bakery wasn't broken, I'd be more than happy to make a nice
article explaining all of this...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: CakePHP 1.2 Paginator Questions...

2007-06-12 Thread Mariano Iglesias

The Bakery isn't broken.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de rtconner
Enviado el: Martes, 12 de Junio de 2007 03:39 p.m.
Para: Cake PHP
Asunto: Re: CakePHP 1.2 Paginator Questions...

If the bakery wasn't broken, I'd be more than happy to make a nice
article explaining all of this...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Your choice of editor for PHP

2007-06-12 Thread Mariano Iglesias

Can we stop answering this thread? It's been covered *several*, and I mean
*SEVERAL* times on this group before. All it does now is add more traffic to
our already overloaded mailboxes.

Thanks!

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Raimon Esteve
Enviado el: Martes, 12 de Junio de 2007 09:31 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Your choice of editor for PHP

quanta, bluefish, nvu, emacs, eclipse, gvim, vi, kedit, gedit. 

I work with gvim and gedit ;)

On 6/12/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:

I am ready to finally move away from gedit.
What are you using for a PHP editor/IDE?.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: hi, is there any way to post data from 1 form to multiple tables?

2007-06-11 Thread Mariano Iglesias

Or no... depends... :)

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Dr. Tarique Sani
Enviado el: Lunes, 11 de Junio de 2007 07:37 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: hi, is there any way to post data from 1 form to multiple
tables?

On 6/11/07, AbhinavZone <[EMAIL PROTECTED]> wrote:
>
> hi, is there any way to post data from 1 form to multiple tables?
>
yes


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Bakery User Registration is Broken

2007-06-07 Thread Mariano Iglesias

That's because it was fixed yesterday :)

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Ketan Patel
Enviado el: Jueves, 07 de Junio de 2007 09:19 a.m.
Para: Cake PHP
Asunto: Re: Bakery User Registration is Broken

It's working fine for me!!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Working with image files

2007-06-07 Thread Mariano Iglesias

I published your article on the bakery just now, so make sure to update that
one too.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Tane Piper
Enviado el: Jueves, 07 de Junio de 2007 04:11 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Working with image files

I have a modified upload behavior I can share, although I don't have
the latest version up - but I can have it up a few hours.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: General gripes and questions

2007-06-06 Thread Mariano Iglesias

Stop giving BS. Just because you say "the thousand other developers" doesn't
mean that there are.

Or I could just say "You know, there are over 6.5 million developers who
think Hanzgroove is full of BS"

See how easy it is to lie?

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Hanzgroove
Enviado el: Miércoles, 06 de Junio de 2007 07:18 p.m.
Para: Cake PHP
Asunto: Re: General gripes and questions

But again, it not just me, multiply that by the thousands of other
developers who are asking the same question. I'm just saying out loud what
everyone else is thinking.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: General gripes and questions

2007-06-06 Thread Mariano Iglesias

Your donations do not equal at all the equivalent in HOURS PER DAY the whole
Cake team is putting in. Are you paying for our time? Are you backing up all
the expenses related to CakePHP, including team's flights to promote Cake?
Are you financing the countless hours that have been put in these years?

I didn't see any donations with an amount of over usd 1 million so I'm
assuming the answer is a BIG FLAT NO.

And even if you did, these are the rules. You are not an investor nor a
customer, just as the cake team is not your service provider. If you don't
like the rules of the open source world, instead of diving into a pointless
discussion, go and spend your money wisely by hiring a commercial team.

I'm not the kind of guy who's gonna say commercial = bad, open source = best
of life. They are just different ways. Choose your own path. But ONCE YOU
HAVE, don't come in complaining because things didn't change to your liking.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Hanzgroove
Enviado el: Miércoles, 06 de Junio de 2007 05:04 p.m.
Para: Cake PHP
Asunto: Re: General gripes and questions

Add on the lack of documentation, and it makes me wonder if my
donations to the Cake project
are just allowing these guys to procrastinate more. If you're willing
to accept my donations, you should
be equally as ready to accept my criticism. Come on guys, as a
"customer", 6 months later is a bit much.
Considering there are several guys on the team, I don't understand
what the delay is for 1.2 or at least decent
documentation for it.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: Added Outloud.TV

2007-06-03 Thread Mariano Iglesias

Do not create another category just for the site you added if there are NOT
enough sites on that category, and if you are NOT willing to categorize.

This list is not for self promotion, but to showcase work performed with
CakePHP.

Also, not for you but for other people, IS IT SO DAMN HARD to follow the
rules? Why are people adding sites not following alphabetical order? This
goes for whoever added: JeuxOnline, Jazeera Daily, Melhores Filmes.

FOLLOW the categories that are currently there. Don't put under Apps your
own sites just because you think you're gonna get better exposure. This goes
for Melhores Filmes (where on earth is this an app? AND I MOVED THIS
THREE TIMES ALREADY)

Another thing, the BLOG section is for Blogs that are almost ONLY ABOUT
CakePHP. Hence RohmanSama blog has been removed.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de robdeman
Enviado el: Domingo, 03 de Junio de 2007 06:10 p.m.
Para: Cake PHP
Asunto: Added Outloud.TV

Folks I just added Outloud.TV - our humble Upload Video To Amsterdam
local TV project never made that $1.6 billion despide we were first,
but hey, we love CakePHP!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: General gripes and questions

2007-06-03 Thread Mariano Iglesias

Hi,

Aren't you the one that wrote to my private email? Anyway I answered that
there are yet no official translation of the cake manual into Spanish,
mainly because we're waiting for the 1.2 manual to be finished before
working on it. However if you'd like to help with the 1.2 english manual I'm
sure John will appreciate all the help he can get.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Bluewake
Enviado el: Domingo, 03 de Junio de 2007 02:59 a.m.
Para: Cake PHP
Asunto: Re: General gripes and questions

Hi, about documentation I notice that there are some tranlations of
the CakePHP manual (I'm interested in spanish translation), but I
can't find it.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



RE: cake 1.1.14.4797 - $html->input displays quotation marks as "

2007-06-01 Thread Mariano Iglesias

Update the CakePHP version. When you hit an issue that is probable a bug
ALWAYS update to latest release before posting. Chances are that it has been
previously solved.

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de flipcode
Enviado el: Viernes, 01 de Junio de 2007 05:07 p.m.
Para: Cake PHP
Asunto: cake 1.1.14.4797 - $html->input displays quotation marks as "

i use $html->input, i input data with quotation marks, in mysql
everything is fine, however once i display the data all quotation
marks are displayed as "


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~--~~~~--~~--~--~---



  1   2   3   4   5   6   7   8   >