Thursday, March 18, 2010

Re: Problem creating elements with "BAKE"

Maybe you need to install php5-cli

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

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Re: Data Validation not working

Hello all

Thanks for guiding me out of this problem.

@ Dr. Loboto - Yes that was the problem. The model filename was
Inventory.php. As soon as I changed it to inventory.php, it worked
like a charm. Although why it worked on Windows local server and not
on Linux web server is what I don't get. Anyway, as long as the
problem is solved I won't complain.

Thanks a lot.
ShiVik

On Mar 18, 12:08 am, logout <stefano...@gmail.com> wrote:
> I also vote for problems in the path/filename.
>
> Be sure exactly what file you edit (the model) - I had exactly the
> same problem - it turned out that i was editing a wrong file.
> When I opened the correct one, all worked fine.
>
> Your file for the model is inventory.php in the app/models, right?

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

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Re: New to CakePHP

Its really best work through the tuts and ask specific questions so you understand vs just given something.


On Fri, Mar 19, 2010 at 12:01 AM, Tashi Daw <dawtashi8@gmail.com> wrote:
I tried it but i want with the Auth Components, please help me!


On Fri, Mar 19, 2010 at 9:47 AM, Jonathon Musters <luvz2drv@gmail.com> wrote:
why not follow the blog tut and others



On Thu, Mar 18, 2010 at 11:23 PM, Tashi Daw <dawtashi8@gmail.com> wrote:
Please help me to get started with the cakePHP. I found this framework really good for rapid web application development. I have already done projects in ZF but i found it really bulky. I have gone through the cakePHP documentation, but i found it difficult to understand. So, can any body provide me a CRUD application build in cakePHP with authentication. So, that i can know how to use elements in views, models and controllers.

Thanks

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Re: New to CakePHP

I tried it but i want with the Auth Components, please help me!

On Fri, Mar 19, 2010 at 9:47 AM, Jonathon Musters <luvz2drv@gmail.com> wrote:
why not follow the blog tut and others



On Thu, Mar 18, 2010 at 11:23 PM, Tashi Daw <dawtashi8@gmail.com> wrote:
Please help me to get started with the cakePHP. I found this framework really good for rapid web application development. I have already done projects in ZF but i found it really bulky. I have gone through the cakePHP documentation, but i found it difficult to understand. So, can any body provide me a CRUD application build in cakePHP with authentication. So, that i can know how to use elements in views, models and controllers.

Thanks

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Re: Cake rendering a time comment in views

It only shows up if debug is greater than 0.

On Mar 18, 2:53 pm, Gideon <gideon.farr...@gmail.com> wrote:
> Hi all,
>
> Every time a view is rendered I get an HTML-style comment with a time
> in it (presumably the execution time of the page). How do I get rid of
> this?
>
> Thanks.

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

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Re: New to CakePHP

why not follow the blog tut and others



On Thu, Mar 18, 2010 at 11:23 PM, Tashi Daw <dawtashi8@gmail.com> wrote:
Please help me to get started with the cakePHP. I found this framework really good for rapid web application development. I have already done projects in ZF but i found it really bulky. I have gone through the cakePHP documentation, but i found it difficult to understand. So, can any body provide me a CRUD application build in cakePHP with authentication. So, that i can know how to use elements in views, models and controllers.

Thanks

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
 
To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

Re: Model Associations - just feels wrong

This is how I see it:

If your table has a column that is an ID to another table, this table
is the child and the foreign table is the parent. So hence, child
belongs to parent.

And reversed its, parent has many child (or has one).

On Mar 18, 7:02 pm, TheHerk <theh...@gmail.com> wrote:
> Phew. I was really hoping I would here this confirmation you two are
> providing. I was on the fence and worried I'd come to understand it
> wrong. Maybe serendipity, but I feel like I'm in good shape now.
> Thanks a lot.
>
> On Mar 18, 7:14 pm, Miles J <mileswjohn...@gmail.com> wrote:
>
> > The terms "hasOne", "hasMany", "belongsTo" and "HABTM" and just terms
> > to make it easier to understand. It doesn't actually mean that one
> > table belongs to another table 100% of the time, its just the easy way
> > of saying.
>
> > But in your example, it seems like ZipLocation belongsTo State and
> > State hasMany ZipLocation.
>
> > On Mar 18, 12:18 pm, TheHerk <theh...@gmail.com> wrote:
>
> > > What you say makes sense. It makes sense to me that zip belong to
> > > states because they really are the further breakdown. What I don't
> > > understand is relations where child classes have many different
> > > parents. I assume I am just over-thinking it, as per usual. Maybe it
> > > really is as simple as it seems. Thank you for your help.
>
> > > If anybody is willing to look at the entire class diagram and tell me
> > > if I'm headed down the wrong path or possible have it correct, please
> > > do so. I'd be happy to email to you.
>
> > > On Mar 18, 9:00 am, John Andersen <j.andersen...@gmail.com> wrote:
>
> > > > If I understand you correctly, then you consider the ZipLocation to be
> > > > the parent of the State?
>
> > > > My understanding of the situation is the reverse, one State may have
> > > > one or more ZipLocations, so one ZipLocation belongs to one State.
>
> > > > So your diagram looks correct with regard to the relationship between
> > > > ZipLocation and State :)
> > > > Enjoy,
> > > >    John
>
> > > > On Mar 18, 4:41 am, TheHerk <theh...@gmail.com> wrote:
>
> > > > > Here is a link to a screenshot of a class diagram I am working on,
> > > > > with noted model associations. There are several relationships in the
> > > > > diagram that feel wrong to me. The one in the diagram that illustrates
> > > > > this is between ZipLocation and State. In this case, state is
> > > > > enumerated in its own table. For some reason, to me, it seems strange
> > > > > that  ZipLocation, the parent, is belongsTo. I keep thinking in my
> > > > > head, "Each ZipLocation has one associated State," but it doesn't seem
> > > > > to work that way. There are several more instances of this dilemma,
> > > > > but they are just the same.
>
> > > > >http://i8.photobucket.com/albums/a24/atomickeg/public/classes.png
>
> > > > > Does this look remotely correct?

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

To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.