Re: INSERT into databases

2007-03-04 Thread Dr. Tarique Sani

On 3/5/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
> Hey Adrian, thanks for the feedback.  Was I harsh?  Absolutely.  My
> point is to make people understand that this help is a two-way street.

I mostly agree with Chris's approach and his playing the martyr(!?) to
the cause - It is needed to keep the focus on a busy list.

At times the line is too thin... the decision *when* to step on
someone is crucial... and was missed in this case. This was probably
Mani's first post and was slammed harder than most others.

Was this a case of mistaken identity?

Of late I have been seeing too many Indian/Indian sounding names who
come up with these or similar queries My fellow countrymen you
need to change this!! (For the record several Indian FOSS mailing
lists and blogs are having long discussions on the topic since ages)

So before I get completely off topic here - I would say to Chris - keep at it!

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: INSERT into databases

2007-03-04 Thread Chris Hartjes

On 3/4/07, Adrian Maier <[EMAIL PROTECTED]> wrote:
>
>
> It is true that Mani's question was probably a frequent one, and that the
> answer can be found in the "Models" chapter of the CakePHP manual.
>
> But, sorry Chrys , your initial reaction was too harsh. I read this
> thread again
> and I am not convinced at all that Mani really meant that others should
> "write code for him , for free" .
>

Hey Adrian, thanks for the feedback.  Was I harsh?  Absolutely.  My
point is to make people understand that this help is a two-way street.
 Why should I give away my time for nothing to people who seem to
expect something for nothing?  That is not what open source is
*supposed* to be like, but that is how it often ends up.  I don't mind
helping people.  I  wouldn't do any of the stuff I do in terms of
giving talks at conferences or harassing Nate via IM about stuff for
the interactive console project if I wasn't into helping.

Is my approach the best?  Not if you're easily offended, that's for
sure.  I want people to be able to help THEMSELVES by using the tools
available to them.  I don't expect to be spoon fed my answers, so I
don't believe in just handing people a whack of code and saying
"here's your solution, yay for me!"

So, Mani, if you haven't run in the opposite direction from the list,
let's talk about breaking down your problem into more manageable
chunks so we can find out exactly what it is you need.

I see two questions;

1) how to get CakePHP models to work with non-standard tables
2) how to do the form stuff Mani is asking about, which I don't
understand exactly what is being asked.  Maybe it's due to my overall
denseness or it's a language thing.

Either way, Mani, you will find the help you need here, you just need
to ask the right questions so the rude assholes like me can give you
the proper answers.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

rallyhat.com - digital photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
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: INSERT into databases

2007-03-04 Thread Adrian Maier

On 3/2/07, Chris Hartjes <[EMAIL PROTECTED]> wrote:
>
> On 2/27/07, Felix St. Bernard <[EMAIL PROTECTED]> wrote:
> > That was enough said Don't you think? I understand how queries like
> > his may "upset" you but keep your frustrations to yourself. You could
> > have also just made reference to the recent post "CakePHP IRC and
> > GoogleGroup Etiquette Suggestions" which may help this newby not repeat
> > what he just did. And that would be a whole lot less rude on your part.
> > If you can't do that then save yourself some typing time and just not
> > reply. Everyone has to start somewhere. Have a nice day.
> >
> > FSB
>
> I guess you could've saved yourself some typing time as well and not
> replied to me either, eh Felix? The younger version of me would've
> taken great offense at you've said, telling me I don't have a right to
> be frustrated and to not express myself.  After all, you're expressing
> your frustrations and opinions.  I'd like to think I'm allowed to do
> the same.
>
> Anyway, here's my point:  rude dickheads like myself are needed on a
> mailing list such as this one to remind people that there are certain
> rules to be followed, and one of those are to not expect people giving
> up their own free time (unless there are some very lucky people on
> this list who get paid to work on CakePHP) to provide with all the
> answers so you can just cut-and-paste without learning anything.  I'm
> 100% positive I'm not the only one on this mailing list who feels this
> way, I'm just one of the few who actually says it out loud...er on the
> mailing list.
>
> I'm all for helping people who are at least TRYING to learn something.
> Asking such a broad-based question as the one that started this
> thread means the person hasn't even bothered to do a shred of
> research.
>
> So, Mani, I highly suggest you search through the manual, look at the
> blog tutorial, and search the google groups archive for this mailing
> list.  If the answer isn't in there, then I'm sure someone (hey, it
> might even be me) will be more than happy to answer your question.
> I'm not such a bad guy, honest.
>
> Give someone code, they learn nothing.  Teach them why their code
> isn't working and they'll learn something.

It is true that Mani's question was probably a frequent one, and that the
answer can be found in the "Models" chapter of the CakePHP manual.

But, sorry Chrys , your initial reaction was too harsh. I read this
thread again
and I am not convinced at all that Mani really meant that others should
"write code for him , for free" .


-- 
Adrian Maier

--~--~-~--~~~---~--~~
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: INSERT into databases

2007-03-02 Thread Chris Hartjes

On 2/27/07, Felix St. Bernard <[EMAIL PROTECTED]> wrote:
> That was enough said Don't you think? I understand how queries like
> his may "upset" you but keep your frustrations to yourself. You could
> have also just made reference to the recent post "CakePHP IRC and
> GoogleGroup Etiquette Suggestions" which may help this newby not repeat
> what he just did. And that would be a whole lot less rude on your part.
> If you can't do that then save yourself some typing time and just not
> reply. Everyone has to start somewhere. Have a nice day.
>
> FSB

I guess you could've saved yourself some typing time as well and not
replied to me either, eh Felix? The younger version of me would've
taken great offense at you've said, telling me I don't have a right to
be frustrated and to not express myself.  After all, you're expressing
your frustrations and opinions.  I'd like to think I'm allowed to do
the same.

Anyway, here's my point:  rude dickheads like myself are needed on a
mailing list such as this one to remind people that there are certain
rules to be followed, and one of those are to not expect people giving
up their own free time (unless there are some very lucky people on
this list who get paid to work on CakePHP) to provide with all the
answers so you can just cut-and-paste without learning anything.  I'm
100% positive I'm not the only one on this mailing list who feels this
way, I'm just one of the few who actually says it out loud...er on the
mailing list.

I'm all for helping people who are at least TRYING to learn something.
 Asking such a broad-based question as the one that started this
thread means the person hasn't even bothered to do a shred of
research.

So, Mani, I highly suggest you search through the manual, look at the
blog tutorial, and search the google groups archive for this mailing
list.  If the answer isn't in there, then I'm sure someone (hey, it
might even be me) will be more than happy to answer your question.
I'm not such a bad guy, honest.

Give someone code, they learn nothing.  Teach them why their code
isn't working and they'll learn something.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

rallyhat.com - digital photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
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: INSERT into databases

2007-02-27 Thread Felix St. Bernard

Chris Hartjes wrote:
> Go read the manual over at http://manual.cakephp.org and read up on
> models.  It's all there.  And the search the google groups archive for
> this list.  Even more goodness there as well.
>   
That was enough said Don't you think? I understand how queries like 
his may "upset" you but keep your frustrations to yourself. You could 
have also just made reference to the recent post "CakePHP IRC and 
GoogleGroup Etiquette Suggestions" which may help this newby not repeat 
what he just did. And that would be a whole lot less rude on your part. 
If you can't do that then save yourself some typing time and just not 
reply. Everyone has to start somewhere. Have a nice day.

FSB

--~--~-~--~~~---~--~~
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: INSERT into databases

2007-02-27 Thread Chris Hartjes

On 2/27/07, Mani <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
> I have a problem with the tables, the name of my tables is not
> Conventional (Cake Conventions) and I want to add the new fields from
> input form into the different tables and display them simultaneously
> on my screen . Do you know how can I do it?
> Thanks a lot
>

Go read the manual over at http://manual.cakephp.org and read up on
models.  It's all there.  And the search the google groups archive for
this list.  Even more goodness there as well.

If you're looking people to write your code for you, I think you're in
the wrong place.  Honestly, you expect people to give you working code
for free?  If you're having problems getting your models to work with
non-conventional database configurations, that's one thing.  If you're
looking for someone to write code for you because you don't want to do
it, that's another.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

rallyhat.com - digital photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

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



INSERT into databases

2007-02-27 Thread Mani

Hi everybody,
I have a problem with the tables, the name of my tables is not
Conventional (Cake Conventions) and I want to add the new fields from
input form into the different tables and display them simultaneously
on my screen . Do you know how can I do it?
Thanks a lot


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