RE: [PHP] Entry point of an MVC framework

2012-07-13 Thread Adam Nicholls
> -Original Message- > From: Simon Dániel [mailto:simondan...@gmail.com] > Sent: 12 July 2012 21:21 > To: php-general@lists.php.net > Subject: [PHP] Entry point of an MVC framework > > Hi, > > I have started to develop a simple MVC framework. > > I have a base controller class which is

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Matijn Woudt
On Fri, Jul 13, 2012 at 12:41 AM, Paul M Foster wrote: > On Fri, Jul 13, 2012 at 12:26:33AM +0200, Timmy Sjöstedt wrote: > > > [snip] > >> >> The Controllers also doesn't care if the data is stored in MySQL, >> Postgres, in RAM or on butterflies or anything else, as long as data >> is returned in

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Paul M Foster
On Fri, Jul 13, 2012 at 12:26:33AM +0200, Timmy Sjöstedt wrote: [snip] > > The Controllers also doesn't care if the data is stored in MySQL, > Postgres, in RAM or on butterflies or anything else, as long as data > is returned in an expected format. I can attest that attempting to store data on

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Paul M Foster
On Thu, Jul 12, 2012 at 02:44:12PM -0700, Daevid Vincent wrote: > > -Original Message- > > From: Simon Dániel [mailto:simondan...@gmail.com] > > Sent: Thursday, July 12, 2012 1:21 PM > > Subject: [PHP] Entry point of an MVC framework > > > > I have started to develop a simple MVC framewor

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Timmy Sjöstedt
On 07/12/2012 10:21 PM, Simon Dániel wrote: Hi, I have started to develop a simple MVC framework. I have a base controller class which is abstract and all of the controllers are inherited from that. Every controller contains actions represented by methods. (E. g. there is a controller for manag

RE: [PHP] Entry point of an MVC framework

2012-07-12 Thread admin
-Original Message- From: Timmy Sjöstedt [mailto:m...@iostream.se] Sent: Thursday, July 12, 2012 6:01 PM To: php-general@lists.php.net Subject: Re: [PHP] Entry point of an MVC framework On 07/12/2012 11:44 PM, Daevid Vincent wrote: >> -Original Message- >> From:

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Timmy Sjöstedt
On 07/12/2012 11:44 PM, Daevid Vincent wrote: -Original Message- From: Simon Dániel [mailto:simondan...@gmail.com] Sent: Thursday, July 12, 2012 1:21 PM Subject: [PHP] Entry point of an MVC framework I have started to develop a simple MVC framework. Yeah! Just what PHP needs, another

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Paul M Foster
On Thu, Jul 12, 2012 at 10:21:21PM +0200, Simon Dániel wrote: > Hi, > > I have started to develop a simple MVC framework. > > I have a base controller class which is abstract and all of the > controllers are inherited from that. Every controller contains actions > represented by methods. (E. g.

RE: [PHP] Entry point of an MVC framework

2012-07-12 Thread Simon Griffiths
. -Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: 12 July 2012 22:44 To: php-general@lists.php.net Subject: RE: [PHP] Entry point of an MVC framework > -Original Message- > From: Simon Dániel [mailto:simondan...@gmail.com] > Sent: Thursday, July 12, 201

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Robert Williams
On 7/12/12 14:44, "Daevid Vincent" wrote: >Personally I *hate* frameworks with a passion, but if you're going to use >one, then why not just build with one that is already out there and well >supported. http://www.phpframeworks.com/ to start with. I wouldn't suggest most people try to build one

RE: [PHP] Entry point of an MVC framework

2012-07-12 Thread Ashley Sheridan
On Thu, 2012-07-12 at 14:44 -0700, Daevid Vincent wrote: > > -Original Message- > > From: Simon Dániel [mailto:simondan...@gmail.com] > > Sent: Thursday, July 12, 2012 1:21 PM > > Subject: [PHP] Entry point of an MVC framework > > > > I have started to develop a simple MVC framework. > >

RE: [PHP] Entry point of an MVC framework

2012-07-12 Thread Daevid Vincent
> -Original Message- > From: Simon Dániel [mailto:simondan...@gmail.com] > Sent: Thursday, July 12, 2012 1:21 PM > Subject: [PHP] Entry point of an MVC framework > > I have started to develop a simple MVC framework. Yeah! Just what PHP needs, another MVC framework NOT. Why are you r

Re: [PHP] Entry point of an MVC framework

2012-07-12 Thread Robert Williams
On 7/12/12 13:21, "Simon Dániel" wrote: >And I can't do it with the constructor of the inherited >class, becouse this way I would overwrite the parent constructor. Just call to the parent constructor from the child: public function __construct() { parent::__construct(); //do whatever }