What could you do with your code in 20 Lines or Less? That's the question I
ask (almost) every week for the devcentral community, and every week I go
looking to find cool new examples that show just how flexible and powerful
iRules can be without getting in over your head.
Here are a few more cool iRules from the forums. This week I’ve included
one of the simplest, shortest iRules to ever make the 20LoL. It just struck
me as something quite useful that I’m willing to bet several people will
look at and say “oh, that’s handy” despite the fact that it’s not
complex or long.
Keep the code coming.
Multiple Matches with Switch
Joe answered a plea for help from the forums that showed how to modify an
existing iRule that mad use of switch dropping through to multiple match
cases. This is a ... (more)
Wow! What a whirlwind it's been the past few weeks. Between holidays and
vacation and people traveling out of town, it's been an absolute zoo around
here. Though I've been out the past week or so there has been an avalanche of
content. I've hemmed and hawed and finally managed to slim my picks down to
just five, though there are at least a dozen awesome things worth checking
out on DevCentral in the past week or so. So don't be shy, get out there and
poke around for yourself. For now, though, here are my top 5 picks for the
v10.1 - The table Command - The Basics
Last week I wrote about the iRules challenge issued to the FSEs again, and
showed my intended solution. Go take a look at that post for a point of
reference if you like, or just dive in.
Today I want to give props where props are due, and show off the winner and
two runners up of the FSE iRules Challenge. Big congrats to Harry
Kleinbourg, Sudarshan Sivaperumal, and the winner, Karl Vogel. Excellent
work, guys! There were many solid entries so the judging was surprisingly
close, but these three engineers came the closest to the complete solution
while keeping an eye towards e... (more)
F5 uses TCL as the interpreter for iRules. Many people often ask why that is.
This questions is usually followed up by an immediate, "Why not Perl?" or
"Why not Java" or "Why not ?". I
understand the question, and frankly I'm a Perl guy from way back myself, so
when I first landed at F5 and started devouring all things iRules, I was
curious about the same thing. Since then I've discussed this topic with some
of F5's best, in my opinion, and have come to understand that there are many
solid reasons for choosing the runtime that we use.
The concept of a friendly URL is a pretty simple one. Basically you want to
make things in your application, on your website, etc. easier to access. This
stems from the fact that most applications these days make use of
increasingly complex paths for a multitude of reasons. Whether it’s user
specific content, auto generated pages or otherwise, typing in a URL that
isn’t something that’s easy or frankly even realistic for a user. I’m
not going to remember that URL, and if I’m a... (more)