[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: UU: Model-View-Controller
- To: uu@total-knowledge.com
- Subject: Re: UU: Model-View-Controller
- From: "Alexey Parshin" <alexeyp@gmail.com>
- Date: Fri, 19 Dec 2008 11:38:40 +1100
- Delivered-to: mailing list uu@total-knowledge.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=+Ka+wPLlIzA8oGJI8E3r7cXYFzURAxzJmv6bkJ8OUzo=; b=Dl10F1YHdWINKQr6YLn+EhpuMB4Jxel89NsR8REmbsEve/O+6c1nAGsIaYFhqjwTs7 +IrGAPT24LkZATaEX5KN+s0o1PgDK1C0RZT1bgniPEmt9s6tnzFVchL/jlTO7WVFSNZx EpvFsAyqp87Gt7jxZi44bsmZQaTaAilF6d2gg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=VyIp51WgeYshJ+qLwlh/OWPUXhM3RzHLvWHwedl6XAuX/4zbtUPxSaoP0z0rPFeO+X bq7Yzy+8m8/zditQzgIDJg7d7C9i9T3Umi80KhDM8J3th+xkezd14BLjAzdcfypOAiz9 1+v4GdA7exlf/brRtPIEa+sb9tP0anO/rbbmY=
- In-reply-to: <494AE191.20501@total-knowledge.com>
- Mailing-list: contact uu-help@total-knowledge.com; run by ezmlm
- References: <494AE191.20501@total-knowledge.com>
I told you - this isn't my kind of project.
I also told you before - this is the optimal way to do it, from many points of view. For instance, the templates for the recordset that generate HTML on the page and simplify the code would be impossible. And it makes little sence to read data from db in the controller, place it to the memory, and next moment print it to the page and deallocate. Unless, of course, you want to implement the classic MVC schema, in academic purpose.
2008/12/19 Ilya A. Volynets-Evenbakh
<ilya@total-knowledge.com>
I reviewed latest CSPs... It's no-go.
All the logic ended up in there, which pretty much
defies the theme idea. I think I'll have to insist
on CSPs _never_ having to access database directly.
Ilya.
--
Alexey Parshin,
http://www.sptk.net