Welcome Guest, Not a member yet? Register   Sign In
Extended Views
#3

(This post was last modified: 09-16-2015, 06:58 AM by ad11.)

Paul,

Thanks for the feedback.

Making use of a single view that contains all the html seems very reasonable. All the data could be gathered in the controller and then sent to the main view. HTML changes made to the main view wouldn't break other views.

My thought was to use individual views to generate portions of html code (somewhat like a widget). The widgets could then be assembled in the main view. The main reason I decided to use the controller for the heavy lifting is because views can't make use of library code. By doing most of the processing in the controller, I can build code segments in libraries that produce the widgets.

How about other folks? Please comment! Thanks.

Andy
Reply


Messages In This Thread
Extended Views - by ad11 - 09-13-2015, 04:23 PM
RE: Extended Views - by PaulD - 09-15-2015, 04:09 PM
RE: Extended Views - by ad11 - 09-15-2015, 07:04 PM
RE: Extended Views - by mwhitney - 09-16-2015, 08:09 AM
RE: Extended Views - by ad11 - 09-16-2015, 11:32 AM
RE: Extended Views - by mwhitney - 09-16-2015, 01:06 PM
RE: Extended Views - by ad11 - 09-22-2015, 02:25 PM
RE: Extended Views - by mwhitney - 09-23-2015, 07:19 AM
RE: Extended Views - by cartalot - 09-23-2015, 03:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB