Welcome Guest, Not a member yet? Register   Sign In
Making things DRY. Some feedback please.
#10

[eluser]wiredesignz[/eluser]
To backup what nmweb is saying.

An image is data, wether it comes as BLOB from a table or from a file or created dynamically, it is merely a binary (or hex) representation of something physical. It's not until we add appropriate headers to it that it becomes a view.

That being the case a model would be the logical MVC choice to manage image data.

The controller should not be given this job ever.

Using a library is merely shifting the job to an object that does the job of a model. (differemt name same job).


Messages In This Thread
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 01:00 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 01:00 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 02:13 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 04:39 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 05:00 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 07:20 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 11:51 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 11:58 AM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 12:08 PM
Making things DRY. Some feedback please. - by El Forum - 08-08-2008, 12:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB