> -----Original Message----- > From: Gargi Bodke [mailto:[EMAIL PROTECTED]] > > hi > i have been asked to suggest an architecture to seperate > the business > logic from the html. > how is this done in modperl? i guess by using functions for > the business > logic. > is there any other way?
There's loads of ways. Off the top of my head: - EmbPerl with EmbPerlObject - OpenInteract - Apache::PageKit - Apache::ASP using XML-Subs - AxKit - Mason (aka HTML::Mason) All allow some form of separation of content/logic from presentation (but AxKit is the BEST of them all! :-) > also does modperl support object oriented programming? Yes. mod_perl isn't like PHP or Cold Fusion or ASP or Java Servlets. It's more of a framework for building things like the above using Perl. As you can see, the community has built quite a number of different ways of doing things over the years! Matt. PS: AxKit at the moment is at http://217.158.50.178/ - the email lists are down, but I'm happy to answer questions on the mod_perl list for now. _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service.