Posted: Tue May 05, 2009 6:57 am Post subject: [asterisk-biz] Preferred language for Asterisk AGIs developm
In article <58fcf7400905042352g116a15eaib6adc36f9e168cc5@mail.gmail.com>,
Kashif Naeem <kashif@haditelecom.com> wrote:
Quote:
We are going to start development for a product based over Asterisk.
According to you, which is the preferred language for AGIs / IVRs
development in Asterisk. I got opinions that Perl is going to be replaced by
PHP for all future developments.
Asterisk doesn't care what language AGIs are written in, as they are just
normal programs. You can write them in Perl, PHP, shell, C, Python, Java,
or any other language you fancy. I do most of mine in C.
Posted: Tue May 05, 2009 7:05 am Post subject: [asterisk-biz] Preferred language for Asterisk AGIs developm
Kasheef, I am not an active programmer, but most people I know use PHP for their Asterisk projects
Tony -- you are right, but it is always better to use a language that your potential future employees are familiar with.
When I was at school we learned to program with Fortan and Cobol, would I use them today? Not really....
We are going to start development for a product based over Asterisk.
According to you, which is the preferred language for AGIs / IVRs
development in Asterisk. I got opinions that Perl is going to be replaced by
PHP for all future developments.
Asterisk doesn't care what language AGIs are written in, as they are just
normal programs. You can write them in Perl, PHP, shell, C, Python, Java,
or any other language you fancy. I do most of mine in C.
Posted: Tue May 05, 2009 8:25 am Post subject: [asterisk-biz] Preferred language for Asterisk AGIs developm
Hi Kashif,
As most people know, and so does my Asterisk AGI development book states, my preferred AGI development language is PHP. True, I've done some JAVA and C++ work for AGI in the psat, however, PHP still remains my preferred choice.
I'll be participating in an Adhearsion class tonight, in the hopes that Jason from Adhearsion can convince me to migrate to Adhearsion - I've given him a big challenge. If you want to read moer about AGI frameworks, you are welcome to visit my blog at http://www.simionovich.com
Cheers,
Nir
On Tue, May 5, 2009 at 11:02 AM, Moshe Maeir <moshe@flatplanetphone.com (moshe@flatplanetphone.com)> wrote:
Quote:
Kasheef, I am not an active programmer, but most people I know use PHP for their Asterisk projects
Tony -- you are right, but it is always better to use a language that your potential future employees are familiar with.
When I was at school we learned to program with Fortan and Cobol, would I use them today? Not really....
We are going to start development for a product based over Asterisk.
According to you, which is the preferred language for AGIs / IVRs
development in Asterisk. I got opinions that Perl is going to be replaced by
PHP for all future developments.
Asterisk doesn't care what language AGIs are written in, as they are just
normal programs. You can write them in Perl, PHP, shell, C, Python, Java,
or any other language you fancy. I do most of mine in C.
Posted: Tue May 05, 2009 3:06 pm Post subject: [asterisk-biz] Preferred language for Asterisk AGIs developm
Nir,
Why would you go with PHP in light of
the scalability issues associated with
individual invocation vs. FastAGI?
Seems like something easily daemonisable
like Perl or Java would be a much better
runtime environment for doing AGI as a service.
--
Sent from mobile device
On May 5, 2009, at 5:22 AM, Nir Simionovich <nir.simionovich@gmail.com (nir.simionovich@gmail.com)> wrote:
Quote:
Hi Kashif,
As most people know, and so does my Asterisk AGI development book states, my preferred AGI development language is PHP. True, I've done some JAVA and C++ work for AGI in the psat, however, PHP still remains my preferred choice.
I'll be participating in an Adhearsion class tonight, in the hopes that Jason from Adhearsion can convince me to migrate to Adhearsion - I've given him a big challenge. If you want to read moer about AGI frameworks, you are welcome to visit my blog at http://www.simionovich.com
Cheers,
Nir
On Tue, May 5, 2009 at 11:02 AM, Moshe Maeir <[url=mailto:moshe@flatplanetphone.com]moshe@flatplanetphone.com (moshe@flatplanetphone.com)[/url]> wrote:
Quote:
Kasheef, I am not an active programmer, but most people I know use PHP for their Asterisk projects
Tony -- you are right, but it is always better to use a language that your potential future employees are familiar with.
When I was at school we learned to program with Fortan and Cobol, would I use them today? Not really....
Moshe
Tony Mountifield wrote:
Quote:
Quote:
In article <[url=mailto:58fcf7400905042352g116a15eaib6adc36f9e168cc5@mail.gmail.com]58fcf7400905042352g116a15eaib6adc36f9e168cc5@mail.gmail.com (58fcf7400905042352g116a15eaib6adc36f9e168cc5@mail.gmail.com)>[/url],
Kashif Naeem <[url=mailto:kashif@haditelecom.com]kashif@haditelecom.com (kashif@haditelecom.com)>[/url] wrote:
Quote:
We are going to start development for a product based over Asterisk.
According to you, which is the preferred language for AGIs / IVRs
development in Asterisk. I got opinions that Perl is going to be replaced by
PHP for all future developments.
Asterisk doesn't care what language AGIs are written in, as they are just
normal programs. You can write them in Perl, PHP, shell, C, Python, Java,
or any other language you fancy. I do most of mine in C.
Posted: Tue May 05, 2009 6:22 pm Post subject: [asterisk-biz] Preferred language for Asterisk AGIs developm
I would have to say anything would be bloated and unruly when not in the hands of a master :)
Lane
Sent from my BlackBerry® wireless handheld
-----Original Message-----
From: Peter Beckman <beckman@angryox.com>
Date: Tue, 5 May 2009 14:48:36
To: Commercial and Business-Oriented Asterisk Discussion<asterisk-biz@lists.digium.com>
Subject: Re: [asterisk-biz] Preferred language for Asterisk AGIs development
?
Kashif Naeem <kashif@haditelecom.com> wrote:
Quote:
We are going to start development for a product based over Asterisk.
According to you, which is the preferred language for AGIs / IVRs
development in Asterisk. I got opinions that Perl is going to be replaced
by PHP for all future developments.
*laugh* Perl replaced by PHP? Don't say that too loud in the wrong room
of people. I highly doubt PHP will ever replace Perl. Perl, as with any
language, has its strengths and weaknesses, as does PHP. PHP is great for
web applications and accomodates novice programmers well. Perl is very
powerful, though can be bloated and unruly when not in the hands of a
master.
On Tue, 5 May 2009, Alex Balashov wrote:
Quote:
Why would you go with PHP in light of the scalability issues associated
with individual invocation vs. FastAGI?
Seems like something easily daemonisable like Perl or Java would be a
much better runtime environment for doing AGI as a service.
I have to agree with Alex.
I use a combination of the two. I've written a PHP API that my Perl
FastAGI calls. This allows me to have the AGIs running on a dedicated
cluster of servers, my web farm elsewhere, and Asterisk even somewhere
else. I can implement all of the business and billing logic in PHP, while
the AGI implements all call handling functionality.
FastAGI is FAR superior to spawning a new AGI handled call, and though you
can build PHP as a long-running socket-answering AGI handler, Perl seems
to handle it better. I haven't written a PHP FastAGI handler, maybe I'll
build one just to test.
What I use:
Perl
Net::Server::Fork
Asterisk::AGI
It's pretty fast.
Beckman
---------------------------------------------------------------------------
Peter Beckman Internet Guy
beckman@angryox.comhttp://www.angryox.com/
---------------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Tue May 05, 2009 6:22 pm Post subject: [asterisk-biz] Preferred language for Asterisk AGIs developm
Kashif Naeem <kashif@haditelecom.com> wrote:
Quote:
We are going to start development for a product based over Asterisk.
According to you, which is the preferred language for AGIs / IVRs
development in Asterisk. I got opinions that Perl is going to be replaced
by PHP for all future developments.
*laugh* Perl replaced by PHP? Don't say that too loud in the wrong room
of people. I highly doubt PHP will ever replace Perl. Perl, as with any
language, has its strengths and weaknesses, as does PHP. PHP is great for
web applications and accomodates novice programmers well. Perl is very
powerful, though can be bloated and unruly when not in the hands of a
master.
On Tue, 5 May 2009, Alex Balashov wrote:
Quote:
Why would you go with PHP in light of the scalability issues associated
with individual invocation vs. FastAGI?
Seems like something easily daemonisable like Perl or Java would be a
much better runtime environment for doing AGI as a service.
I have to agree with Alex.
I use a combination of the two. I've written a PHP API that my Perl
FastAGI calls. This allows me to have the AGIs running on a dedicated
cluster of servers, my web farm elsewhere, and Asterisk even somewhere
else. I can implement all of the business and billing logic in PHP, while
the AGI implements all call handling functionality.
FastAGI is FAR superior to spawning a new AGI handled call, and though you
can build PHP as a long-running socket-answering AGI handler, Perl seems
to handle it better. I haven't written a PHP FastAGI handler, maybe I'll
build one just to test.
What I use:
Perl
Net::Server::Fork
Asterisk::AGI
It's pretty fast.
Beckman
---------------------------------------------------------------------------
Peter Beckman Internet Guy
beckman@angryox.comhttp://www.angryox.com/
---------------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum