Yii 1.1: eraptor

Because everybody needs a Raptor!
10 followers

WE'VE ALL BEEN HERE BEFORE ...

You're sitting at your desk, coding up a 500 page site, knee-deep in Extreme Cheddar Doritos sipping on a liter of Code Red Mountain Dew when you realize...this page would be:

SO MUCH MORE AWESOME WITH A VELOCIRAPTOR!

ERaptor

... and now with this cool extension you can easily add a Raptor to your Yii powered site. The extension implements the Raptorize jQuery plugin, but not a 100% compatible! Please, see the usage below:

Requirements

It should work with the 1.1 branch, but only tested on 1.1.7

Usage

// unzip it under your extensions folder and call the Raptor in your layout- or any other view file
//
// the easiest way, which calls the Raptor on every single page load
$this->widget( 'ext.eraptor.eraptor' );
//
// OR 
// you can specify a date range, 
// ie: if you wanna call the Raptor on April 1st between 8AM and 10AM
$this->widget( 
  'ext.eraptor.eraptor', 
  array( 
    'start' => 'XXXX-04-01 08:00', 
    'end'   => 'XXXX-04-01 10:00'
  ) 
);

DEMO

Click if you wanna see the Raptor LIVE!

Total 5 comments

#3871 report it
ejac at 2011/05/16 01:29pm
wahaha

What a extension... :) You make me refresh my browser multiple times.. :)

#3747 report it
imehesz at 2011/05/04 01:40pm
re: Raoul

thanks Raoul,

I wish I could take credit for the idea, but it's not mine :) I just wrote the wrapper class for it (and added a "scheduling" feature).

I like to do (try) different things. this time it was a Raptor :)

--iM

#3745 report it
Raoul at 2011/05/04 12:29pm
a must have

With this extension Yii enters in a new dimension ... I'm not sure which one though ;)

I can't wait to hear your next podcast and learn what inspired you to make such a ... humm ... a 'surprising' Extension.

Thanks imehesz :)

#3743 report it
imehesz at 2011/05/04 09:02am
ty

thank you ... ? :)

#3737 report it
at 2011/05/03 11:45pm
Extreme

I was surprised to see this. so Extreme.

Leave a comment

Please to leave your comment.

Create extension
  • Yii Version: 1.1
  • License: New BSD License
  • Developed by: imehesz
  • Category: Others
  • Votes: +10 / -1
  • Downloaded: 342 times
  • Created on: May 3, 2011
  • Last updated: Jun 11, 2011