Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 17, 2008 10:03 AM by girishnehte
Jun 17, 2008 10:03 AM|LINK
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