Portal Home > Knowledgebase > Articles Database > Perl or PHP for customer portal


Perl or PHP for customer portal




Posted by arbet, 12-11-2007, 07:25 AM
Hello, I need to design a customer portal system. The system will have to interact with OTRS helpdesk and Freeside Billing App The customer portal will have to integrate both apps, freeside backend for billing and OTRS backend for support, while the user will not have to interact with those applications directly. Both applications are written in perl. I have a good experience in PHP but I don't know much perl. My question is: Would it be better if I write my portal using Perl, rather than using PHP with the PERL extension? Thanks

Posted by jayantk, 12-11-2007, 10:42 AM
You can do it with just PHP as well with the perl pear package as long as you ensure that the data goes properly to proper places.. but this may mean that you have to write some logic.. i will suggest you understand quickly how these applications work and how they manage the data.. coding in perl should be easy enough as well.. just that some form handling might not be as easy as in php

Posted by arbet, 12-11-2007, 10:52 AM
Thank you for answering, I have a couple of questions: Logically, isn't programming my app in perl much better than php since I will be interacting with two perl applications? Is it possible that I write a few perl modules for OTRS and freeside that I would call from my php code? This would be much easier for me.

Posted by jstanden, 12-11-2007, 05:57 PM
Hey there! If you want to directly use any API provided by those apps you'd be better off using Perl. If you're just going to be reading from their databases, then you could write your code in whatever you're more comfortable (and fastest) with. You could also just write some Perl-level code to make those applications more web-service friendly (RSS/REST/etc). Then you could interact with those services through PHP (or anything).



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Website on Centos VPS (Views: 741)


Language: