Welcome Guest, Not a member yet? Register   Sign In
Tell me your Ideas (notification system)
#1

[eluser]Maiden13[/eluser]
Hey all, Im wondering what would be the best way for accessing notifications. What im wanting is on the main page there is a box with a summery of the 5 latest notifications, then when you click on "view more" it takes you to a page with all the current notifications.

How would I go about this? Have a controller that accesses the model to retrieve all notifications then sends all to the view, then on the main page have the controller access the latest 5 from the view that has all notifications?

Or Have two models, one dealing with getting the latest 5 while the other retrieves all notifications?

Let me know what you would do. I would be really interested in any ideas you have also Smile

Thanks.


Messages In This Thread
Tell me your Ideas (notification system) - by El Forum - 12-10-2010, 01:27 AM
Tell me your Ideas (notification system) - by El Forum - 12-10-2010, 02:47 AM
Tell me your Ideas (notification system) - by El Forum - 12-10-2010, 11:08 AM
Tell me your Ideas (notification system) - by El Forum - 12-10-2010, 03:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB