Chủ Nhật, 29 tháng 5, 2016
Thứ Hai, 23 tháng 5, 2016
RateLimiter control TPS for PHP & Java
Class yii\filters\RateLimiter
Inheritance | yii\filters\RateLimiter » yii\base\ActionFilter » yii\base\Behavior » yii\base\Object | ||||
---|---|---|---|---|---|
Implements | yii\base\Configurable | ||||
Available since version | 2.0 | ||||
Source Code | https://github.com/yiisoft/yii2/blob/master/framework/filters/RateLimiter.php |
You may use RateLimiter by attaching it as a behavior to a controller or module, like the following,
public function behaviors()
{
return [
'rateLimiter' => [
'class' => \yii\filters\RateLimiter::className(),
],
];
}
When the user has exceeded his rate limit, RateLimiter will throw a yii\web\TooManyRequestsHttpException exception.Note that RateLimiter requires $user to implement the yii\filters\RateLimitInterface. RateLimiter will do nothing if $user is not set or does not implement yii\filters\RateLimitInterface.
Thứ Sáu, 20 tháng 5, 2016
Test on the right mobile devices
https://www.browserstack.com
The mobile and tablet landscape today is highly fragmented, spanning many devices across manufacturers and models. Supporting and testing on the maximum number of mobile devices is crucial to any website, but it can be a huge investment of time, effort, and money. Therefore, it is critical to choose the ideal list of devices to test your mobile websites.
The mobile and tablet landscape today is highly fragmented, spanning many devices across manufacturers and models. Supporting and testing on the maximum number of mobile devices is crucial to any website, but it can be a huge investment of time, effort, and money. Therefore, it is critical to choose the ideal list of devices to test your mobile websites.
The devices have been carefully selected to provide maximum coverage, considering such parameters as:
- Market share and popularity
- OS and OS versions
- Screen sizes
- Viewports and resolutions
- Upcoming devices
- Launch year
- Manufacturers
Thứ Tư, 11 tháng 5, 2016
vis.js
A dynamic, browser based visualization library.
The library is designed to be easy to use, to handle large amounts
of dynamic data, and to enable manipulation of and interaction with the data.
The library consists of the components DataSet, Timeline, Network, Graph2d and Graph3d. Get it over here!
Đăng ký:
Bài đăng (Atom)