Re: What editor do you use for CakePHP?

2007-02-16 Thread c1sc0

+1 for Textmate + Interarchy

On Feb 16, 8:41 am, "D.Pape" <[EMAIL PROTECTED]> wrote:
> zend is very great, of course. but it's too expensive for me!!
> i'm web-developing in my free time and non-professional!!
>
> Felix St. Bernard schrieb:
>
> > How come more of you don't use zend? I find it pretty stable with
> > everything that you guys even mention that you're waiting on in other
> > software. I liked Komodo but found it pretty slow. I never found the
> > time to put my hands around eclipse though it looks very interesting as
> > an open source alternative.


--~--~-~--~~~---~--~~
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: kcaptcha session problem

2007-02-14 Thread c1sc0

Ok, turned out I was running into session race conditions. I
temporarily solved the problem by switching the session handler to
php.

But, I still have a couple of questions, anyone care to explain?

I'm writing directly into $_SESSION now. Q: Does this mean I can mix &
match sessions? E.g. have 2 session stores, one accessed by $_SESSION,
another by $this->Session? Or does CAKE_SESSION_SAVE override
$_SESSION?

Did anyone else run into race conditions using the Database session
handler?

Finally, is there some session locking mechanism provided in the
Database handler? If not, could this be a new feature?

Cheers - Francis

On Feb 14, 10:57 am, "c1sc0" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm having a strange problem related tokcaptchaand sessions.
> Basically I want to use multiple captchas per page, one for each form.
> Obviously as each captcha loads separately, I'll overwrite my
> 'captcha' session value. No problem there, I create different session
> vars for each form, e.g. 'captcha_login', 'captcha_register', etc ...
> On pages with one form/captcha : no problem, all values are written
> correctly to session ...
>
> BUT:
>
> whenever I load multiple captchas on one page, sometimes not *all*
> sessions are written, e.g. I expect 'captcha_login' and
> 'captcha_register' to contain a value, yet only one of them does.
>
> Q: What could be a reason for $this->Session->write() *sometimes* not
> working correctly?
>
> I hope this is clear, maybe later I can post some code.
>
> Cheers - Francis


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



kcaptcha session problem

2007-02-14 Thread c1sc0

Hi all,

I'm having a strange problem related to kcaptcha and sessions.
Basically I want to use multiple captchas per page, one for each form.
Obviously as each captcha loads separately, I'll overwrite my
'captcha' session value. No problem there, I create different session
vars for each form, e.g. 'captcha_login', 'captcha_register', etc ...
On pages with one form/captcha : no problem, all values are written
correctly to session ...

BUT:

whenever I load multiple captchas on one page, sometimes not *all*
sessions are written, e.g. I expect 'captcha_login' and
'captcha_register' to contain a value, yet only one of them does.

Q: What could be a reason for $this->Session->write() *sometimes* not
working correctly?

I hope this is clear, maybe later I can post some code.

Cheers - Francis


--~--~-~--~~~---~--~~
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: automatically building documentation

2007-02-14 Thread c1sc0

Thanks, that's the way I also imagined it, jsut like we do for our
perl stuff.

On Feb 9, 3:03 pm, "the_woodsman" <[EMAIL PROTECTED]> wrote:
> Our setup:
>
> We use PHPDoc for generating our documentation, which is automated and
> refreshes the output nightly, and we link to these in the project's
> wiki.
>
> Generally, we keep the PHPDoc for low level stuff (classes, methods,
> members, etc) use the WIki for high level documentation (how classes
> work together, sequence of method calls, etc).
>
> Hope that helps.
>
> Wood
>
> On Feb 9, 1:07 pm, "c1sc0" <[EMAIL PROTECTED]> wrote:
>
> > Hi bakers,
>
> > As good agile developers we're trying to automate testing, building &
> > documenting our cake applications. I'm stumbling into a couple of
> > questions:
>
> > * Developer Documentation
> > ** What is cakephp using to build the 'API' documentation? phpdoc?
> > ** Anyone care to comment on how they maintain (developer)
> > documentation in their projects?
>
> > * End User Documentation
> > ** Currently our approach is to build a wiki page for each project, is
> > this a valid approach?
> > ** What about integrating e.g. dokuwiki (www.splitbrain.org/projects/
> > dokuwiki ) in cakephp?
>
> > Cheers - Francis Dierick


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



automatically building documentation

2007-02-09 Thread c1sc0

Hi bakers,

As good agile developers we're trying to automate testing, building &
documenting our cake applications. I'm stumbling into a couple of
questions:

* Developer Documentation
** What is cakephp using to build the 'API' documentation? phpdoc?
** Anyone care to comment on how they maintain (developer)
documentation in their projects?

* End User Documentation
** Currently our approach is to build a wiki page for each project, is
this a valid approach?
** What about integrating e.g. dokuwiki ( www.splitbrain.org/projects/
dokuwiki ) in cakephp?

Cheers - Francis Dierick


--~--~-~--~~~---~--~~
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: Choosing from a large data set

2007-01-30 Thread c1sc0

In medical products, are you talking about e.g. drugs? I guess this is 
obvious, but what about autocomplete on the active molecule name?

Cheers

On 30 Jan., 13:21, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 1/30/07, Devraj Mukherjee <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I am developing an application where my users will be expected to
> > choose from over 1500 different medical products (so the names are
> > quite complicated and cryptic). What do you suggest is the best
> > component to use to let the user choose the name of the product.Use either 
> > a javascript autocomplete or related selects where in
> choosing a category populates the next select with products from that
> category. Medical Products usually have a good hierarchical
> relationships
>
> Cheers
> Tarique
>
> --
> =
> PHP for E-Biz:http://sanisoft.com
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> =


--~--~-~--~~~---~--~~
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: Fatal error: Failed opening required 'cake\bootstrap.php'

2007-01-30 Thread c1sc0

I'm not very familiar with windows, but yout include_path looks very 
weird:

PATH_SEPARATOR is a constants that should be substituted with ':' but 
for some reason this is not happening? Anyone correct me if I'm 
wrong ...

maybe you can use ini_set()?

ini_set("include_path", ".:../:./include:../include");

More info:
http://www.modwest.com/help/kb5-98.html

On 30 Jan., 09:24, "lynda" <[EMAIL PROTECTED]> wrote:
> I installed phpdev4 in my computer, mysql and phpmyadmin and apache
> works fine, when I install cakephp , it gives me errors message:Fatal
> error: Failed opening required 'cake
> \bootstrap.php' (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/
> classPATH_SEPARATORc:\phpdev\www\cakePATH_SEPARATORc:\phpdev\www\cake
> \app\') in c:\phpdev\www\cake\app\webroot\index.php on line 79
> I read the process installation of cakephp fromwww.cakephp.org, I
> just want to make things simle, so I use the development setup. Here
> is the path:
> C:\phpdev\www\cake\
> What change I need to do make it right? I have been searching for all
> the site, I still cannot make it run.
> Thank you for your help.
> Best Rgeards
> Lynda


--~--~-~--~~~---~--~~
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: Filtering HABTM associations using columns in both models

2006-12-19 Thread c1sc0

Anyone has suggestions for this on? I'm having similar problems.

On Nov 24, 2:46 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I've seen topics that describe how to do something like find all posts
> with a given tag:
>
> $this->Post->Tag->findAll("Tag.id = $id");
>
> I'm running into a problem now where I need to find all posts with a
> given tag and the posts must also have certain values of a certain
> field.  So the models look like:
>
> Post
>  - id
>  - title
>  - body
>  - published (DATETIME field)
>
> Tag
>  - id
>  - name
>
> PostHABTMTag
> TagHABTMPost
>
> So what I'd like to do is find all the posts that match two conditions:
>  1) Tag.id = $id
>  2) Post.published <= NOW()
> 
> Any idea how to get both conditions into a single call to findAll?


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