Re: question about sha1 usage?

2008-09-23 Thread rocket
Are these valid for 1.2? Is auth in 1.1? Ill look into it further but just posting this incase someone can answer me qucikly. thanks On Sep 23, 7:53 pm, Joel Perras [EMAIL PROTECTED] wrote: Oh, and I forgot to mention that you can actually integrate the Auth component into a pre-existing

Re: Models: Why not more Object Oriented??

2008-09-23 Thread Rafael Bandeira aka rafaelbandeira3
I don't really get it... you can easily handle your data in Model side, even more now since [7640] - wich actually encourages you to do so. Ok, but lets focus on the iterating more than once problem. After all isn't it what you actually do in every MVC based app? i.e: db (iteration over table

CakePHP developer contract

2008-09-23 Thread M4ngoB00M
We are a small start-up in Vancouver, BC that has decided on CakePHP. Development is underway but still in the early stages. We have currently contracted with an Indian company for development assistance, and things are going OK - but could be better. Skill level of our developer could be

Re: question about sha1 usage?

2008-09-23 Thread Joel Perras
All the things I mentioned were for Cake 1.2. Auth is not present in Cake 1.1. Forgive me for not being clear. -J. On Sep 23, 11:04 pm, rocket [EMAIL PROTECTED] wrote: Are these valid for 1.2? Is auth in 1.1? Ill look into it further but just posting this incase someone can answer me

Re: question about sha1 usage?

2008-09-23 Thread rocket
Gotcha. I ended up using beforeSave() thanks On Sep 24, 12:05 am, Joel Perras [EMAIL PROTECTED] wrote: All the things I mentioned were for Cake 1.2. Auth is not present in Cake 1.1. Forgive me for not being clear. -J. On Sep 23, 11:04 pm, rocket [EMAIL PROTECTED] wrote: Are these

Re: Models Association - Paginator - Conditional View.

2008-09-23 Thread Okto Silaban
Maybe you can use this : $this-Message-User-find('all', 'conditions' = array('User.id' = $this-Auth-user('id') ) ); Assuming you're using Auth component.. Okto.Silaban.Net On Tue, Sep 23, 2008 at 9:26 PM, iGloo [EMAIL PROTECTED] wrote: Hi folks, I've looked around a lot but could'nt find

Automatic Login after Signup using Auth Component

2008-09-23 Thread mario
Hello everyone, Do anyone of you have an idea on how to automatically login after signing-up using Auth Component? I have tried like: $this-User-create(); if ($this-User-save($this-data)) { $this-Auth-Session-write($this-Auth-sessionKey, $this-User- getLastInsertID());

Re: Automatic Login after Signup using Auth Component

2008-09-23 Thread Amit Badkas
2008/9/24 mario [EMAIL PROTECTED] Hello everyone, Do anyone of you have an idea on how to automatically login after signing-up using Auth Component? I have tried like: $this-User-create(); if ($this-User-save($this-data)) { $this-Auth-Session-write($this-Auth-sessionKey,

Re: bulk load data into CakePHP?

2008-09-23 Thread Rafael Bandeira aka rafaelbandeira3
Hey Mike, it's totally not a matter of performance here. First of all, there's no reason on use this approach for a that huge amout of data, you should probably import it to your db. But if you want to do this in the app layer, maybe it's a feature - I don't know, you should definetly build

<    1   2