On Saturday 25 July 2009 10:53:48 Scott Gifford wrote:
> Philipp Kempgen <[email protected]> writes:
> > Miguel Molina schrieb:
> >> Philipp Kempgen escribió:
> >>> Use macros in AEL so you don't have to care about the underlying
> >>> implementation. :-) scnr
> >>
> >> Right now for every implementation I made, I didn't have the need to
> >> program in AEL, only plain extensions, some AMI and AGI. But well, it
> >> seems to have a lot of advantages. Please tell me some, I may take a
> >> look to it too see if it's worth spending the time to learn and get the
> >> best out of it.
> >
> > I'd say control structures (and proper indentation) are one of the
> > most important reasons to use AEL (conditionals: if .. else, switch
> > .. case, ..., loops: for, while) because they look so familiar.
> > Imagine nested "control structures" in extensions.conf with Goto(),
> > GotoIf(), While(), EndWhile(), ExitWhile(), ContinueWhile() and
> > priorities - such code is not what I call maintainable.
>
> Can you recommend a good tutorial or book that covers AEL?  I tend to
> use extensions.conf because most of the examples I come across use it,
> and it's covered by my first edition of the O'Reilly Asterisk book.
> Do later editions of the O'Reilly book cover AEL thoroughly?

Not as of this date.  We're looking at covering AEL in the 3rd edition,
though.

-- 
Tilghman & Teryl
with Peter, Cottontail, Midnight, Thumper, & Johnny (bunnies)
and Harry, BB, & George (dogs)

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to