Welcome Guest, Not a member yet? Register   Sign In
Model or Library
#4

[eluser]Hyra[/eluser]
Kind of seems the 'correct' approach is to split them up.

If i keep on the example of Browse functionality then i could split it up in a Model for the "getting the image locations from the database depending on the criteria" and a Library for resizing them down on the fly and such.

This is of course not the only way. In fact, it might not be very practical in terms to maintain the code.

I guess ill just stick with how i have it working now (models)

Thanks!


Messages In This Thread
Model or Library - by El Forum - 05-22-2009, 02:11 AM
Model or Library - by El Forum - 05-22-2009, 02:26 AM
Model or Library - by El Forum - 05-22-2009, 03:24 AM
Model or Library - by El Forum - 05-22-2009, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB