Welcome Guest, Not a member yet? Register   Sign In
Where to put certain code
#6

[eluser]jaswinder_rana[/eluser]
Thanks Mossab.

Yes, I have installed DX_Auth and have started using it as it has everything I need. Only thing I'll need to change will be User Profile. So, I thank for suggesting this.

Yes, I did mean exactly what you said about views. I was wondering about multiple items on sidebars. So, as I understand it, I'll have to pass it data for each item on the sidebar in each controller.

I have read on views and have seen how multiple views can be loaded.

I was hoping that there is a global class where I can initialize global data that will be available throughout the application. Like it will set all the data for header, sidebars and footers as that will be common (for specific data i'll do it in specific controller). But, I think that won't be good application design or will it?

I can always change Main Controller constructor and do it there but is that good idea?

Thanks


Messages In This Thread
Where to put certain code - by El Forum - 12-13-2008, 11:05 AM
Where to put certain code - by El Forum - 12-13-2008, 06:05 PM
Where to put certain code - by El Forum - 12-13-2008, 11:03 PM
Where to put certain code - by El Forum - 12-13-2008, 11:22 PM
Where to put certain code - by El Forum - 12-14-2008, 08:20 AM
Where to put certain code - by El Forum - 12-14-2008, 12:22 PM
Where to put certain code - by El Forum - 12-14-2008, 01:03 PM
Where to put certain code - by El Forum - 12-14-2008, 01:46 PM
Where to put certain code - by El Forum - 12-14-2008, 02:05 PM
Where to put certain code - by El Forum - 12-14-2008, 02:39 PM
Where to put certain code - by El Forum - 01-06-2009, 02:34 PM
Where to put certain code - by El Forum - 01-06-2009, 02:42 PM
Where to put certain code - by El Forum - 01-07-2009, 09:47 AM
Where to put certain code - by El Forum - 01-07-2009, 09:50 AM
Where to put certain code - by El Forum - 01-07-2009, 11:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB