So far I stopped at the first line, the constructor, where I can spot with what 
I can read SQL injections "everywhere"

I hope here is a proper validation there, 'cause as is, sounds truly dangerous, 
since you are not using bindParams 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.


> To:
> Date: Wed, 7 Oct 2009 17:34:35 +1100
> From:
> 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 framework might be used based 
> around a very simple 'bank', but I'm trying to get some feedback before 
> I go and implement it, to make sure I'm actually on the right track.
> Any thoughts would be much appreciated!
> Model -
> Controller -
> View -
> Template -
> -- 
> PHP General Mailing List (
> To unsubscribe, visit:
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 

Reply via email to