I was just reading about front controller pattern for software Solution. The basic what it says is that it keeps all the things centralized. Does it mean to create a class and create the common methods into it and whenever required create an object of that
class and use the method. Similarly for the database also. Use data retrival methods in a class and then use the methods whenever required.
In my previous application I was not aware of front controller pattern. But there I have created a data layer i.e. I have created a class consosts of all the methods related to database and also an another class having all the common functions.
Does this means that in my previous project unknowingly I was using front controlller pattern. If it is not please clear me what the front controller pattern is in very brief.
Thanks & Regards
Girish Nehte
Thanks & Regards
Girish Nehte
If This post helps you to solve your problem please mark this as an answer.
girishnehte
Member
76 Points
433 Posts
Front controller Pattern
Jun 17, 2008 10:03 AM|LINK
Hello friends,
I was just reading about front controller pattern for software Solution. The basic what it says is that it keeps all the things centralized. Does it mean to create a class and create the common methods into it and whenever required create an object of that class and use the method. Similarly for the database also. Use data retrival methods in a class and then use the methods whenever required.
In my previous application I was not aware of front controller pattern. But there I have created a data layer i.e. I have created a class consosts of all the methods related to database and also an another class having all the common functions.
Does this means that in my previous project unknowingly I was using front controlller pattern. If it is not please clear me what the front controller pattern is in very brief.
Thanks & Regards
Girish Nehte
Girish Nehte
If This post helps you to solve your problem please mark this as an answer.