On 8/10/2009 5:18 PM, Mert Oztekin wrote:
Hi Paul,
As I agree some of your thoughts, I want to add my opinion also.
Yes the code should work. That is why we earn Money. If it doesnt work, then we are on
fire. But things like OOP or MVC weren't invented for a better running code. They are
inven
Params or other PDO related techniques to avoid
input problems.
About the rest I kinda agree with the proper model controller, rather than just
a reader.
Regards
To: php-general@lists.php.net
Date: Wed, 7 Oct 2009 17:34:35 +1100
From: baum...@livejournal.dk
Subject: [PHP] Insult my code!
Hi the
Mert
(sorry for my english)
-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com]
Sent: Wednesday, October 07, 2009 7:54 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Insult my code!
On Wed, Oct 07, 2009 at 05:34:35PM +1100, Eric Bauman wrote:
> Hi there,
On Wed, Oct 07, 2009 at 11:31:58PM +0100, David Otton wrote:
> 2009/10/7 Paul M Foster :
>
> > I think this is a bit extreme. It really depends on what's in your
> > parent model class. It could be something really simple, but something
> > you don't want to have to rewrite in every model you cod
2009/10/7 Paul M Foster :
> I think this is a bit extreme. It really depends on what's in your
> parent model class. It could be something really simple, but something
> you don't want to have to rewrite in every model you code. Thinking that
Have you got an example of something that is needed by
On Wed, Oct 07, 2009 at 09:09:29PM +0100, David Otton wrote:
> 2009/10/7 Eric Bauman :
> >
> > On 7/10/2009 7:25 PM, David Otton wrote:
> >>
> >> 2009/10/7 Eric Bauman:
> >>
> >>> Any thoughts would be much appreciated!
> >>
> >> One observation. "Model" isn't a synonym for "Database Table" - mode
2009/10/7 Eric Bauman :
>
> On 7/10/2009 7:25 PM, David Otton wrote:
>>
>> 2009/10/7 Eric Bauman:
>>
>>> Any thoughts would be much appreciated!
>>
>> One observation. "Model" isn't a synonym for "Database Table" - models
>> can be anything that encapsulates business logic. Requiring all your
>> mo
On Wed, Oct 07, 2009 at 05:34:35PM +1100, Eric Bauman wrote:
> Hi there,
>
> I'm in the process of trying to wrap my head around MVC, and as part of
> that, I'm attempting to implement a super-tiny MVC framework.
>
> I've created some mockups of how the framework might be used based
> around a ver
input problems.
About the rest I kinda agree with the proper model controller, rather than just
a reader.
Regards
> To: php-general@lists.php.net
> Date: Wed, 7 Oct 2009 17:34:35 +1100
> From: baum...@livejournal.dk
> Subject: [PHP] Insult my code!
>
> Hi there,
>
> I
On Wed, Oct 7, 2009 at 8:06 AM, Eric Bauman wrote:
> On 7/10/2009 7:25 PM, David Otton wrote:
>
>> 2009/10/7 Eric Bauman:
>>
>> Any thoughts would be much appreciated!
>>>
>>
>> One observation. "Model" isn't a synonym for "Database Table" - models
>> can be anything that encapsulates business l
On 7/10/2009 7:25 PM, David Otton wrote:
2009/10/7 Eric Bauman:
Any thoughts would be much appreciated!
One observation. "Model" isn't a synonym for "Database Table" - models
can be anything that encapsulates business logic. Requiring all your
models to inherit from Model is probably a bad id
: Eric Bauman [mailto:baum...@livejournal.dk]
Sent: Wednesday, October 07, 2009 9:35 AM
To: php-general@lists.php.net
Subject: [PHP] Insult my code!
Hi there,
I'm in the process of trying to wrap my head around MVC, and as part of
that, I'm attempting to implement a super-tiny MVC framew
2009/10/7 Eric Bauman :
> Any thoughts would be much appreciated!
One observation. "Model" isn't a synonym for "Database Table" - models
can be anything that encapsulates business logic. Requiring all your
models to inherit from Model is probably a bad idea.
--
PHP General Mailing List (http://
: Wednesday, October 07, 2009 9:35 AM
To: php-general@lists.php.net
Subject: [PHP] Insult my code!
Hi there,
I'm in the process of trying to wrap my head around MVC, and as part of
that, I'm attempting to implement a super-tiny MVC framework.
I've created some mockups of how the
Hi there,
I'm in the process of trying to wrap my head around MVC, and as part of
that, I'm attempting to implement a super-tiny MVC framework.
I've created some mockups of how the framework might be used based
around a very simple 'bank', but I'm trying to get some feedback before
I go and
15 matches
Mail list logo