Laravel 6.0 中文文档中,该业务逻辑可以被提取到任务中间件中,从而 将你的任务 handle 方法从频率限制中解放出来: Support\Facades\Redis; 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 6 class RateLimited 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 8 use App\LogEntry; use Illuminate\Support\LazyCollection; LazyCollection::make(function () { $handle = fopen('log.txt', 'r'); while (($line table($table, $as = null, $conn ection = null) cursor 方法 影响级别:低 cursor 方法现在返回的 是 Illuminate\Support\LazyCollection 实例而不 是 Generator,LazyCollection 可以像生成器一样迭代: $users = App\User::cursor(); foreach0 码力 | 1442 页 | 14.66 MB | 1 年前3
《Slides Dev Web》 06. HTTP & AJAX
obligatoire • HTTP 2.01 (2015) – Binaire, multiplexage connexions, compression entêtes, push, … – Supporté par presque tous2 les navigateurs, une majorité de serveurs • HTTP 3.03 (2019) – UDP, correction Requête GET / HTTP/1.1[CRLF] Host: www.cff.ch[CRLF] Connection: close[CRLF] User-Agent: Opera/9.20 (Windows NT 6.0; U; en)[CRLF] Accept-Encoding: gzip[CRLF] Accept-Charset: ISO-8859-1,UTF-8;q=0.7,*;q=0.7[CRLF] com/Content/Development/JavaScript/Articl es/GIFAsPipe/Index.cfm 10https://www.w3.org/TR/XMLHttpRequest/ 4 • Supporté par la majorité des navigateurs • Alternative souhaitable si JS désactivé XHR en JS var xhr; function0 码力 | 11 页 | 91.09 KB | 1 年前3
The Definitive Guide to Yii 1.0
or [ji:]) s t an d s f or ea s y , effi ci en t an d ex t en s i bl e. 1 . 3 . 1 R e q ui r e m e nt s T o r u n an Yi i - p ow e r e d W e b ap p l i c at i on , y ou n e e d a W e b s e r v e r s u c e s s s i n c e t h e y m ay b e e x p l oi t e d f or h ac k i n g. 1 . 4 . 1 R e q ui r e m e nt s Af t e r i n s t al l i n g Yi i , y ou m ay w an t t o v e r i f y t h at y ou r s e r v e r s e t t i n g S t a r t e d F i gu r e 1. 5: Logi n p age yiic.bat yiic command line script for Windows commands/ containing customized ’yiic’ commands shell/ containing customized ’yiic shell’ commands0 码力 | 164 页 | 1002.30 KB | 1 年前3
The Definitive Guide to Yii 1.1
y , effi ci en t an d ex t en s i bl e. 1. 5 I n s t a l l a t i on 5 1 . 4 . 1 R e q ui r e m e nt s T o r u n an Yi i - p ow e r e d W e b ap p l i c at i on , y ou n e e d a W e b s e r v e r s u e x p l oi t e d f or h ac k i n g. 6 1 . G e t t i n g S t a r t e d 1 . 5 . 1 R e q ui r e m e nt s Af t e r i n s t al l i n g Yi i , y ou m ay w an t t o v e r i f y t h at y ou r s e r v e r s protected application files yiic yiic command line script yiic.bat yiic command line script for Windows commands/ containing customized ’yiic’ commands shell/ containing customized ’yiic shell’ commands0 码力 | 184 页 | 1.05 MB | 1 年前3
Falcon v1.2.0 Documentationprefer it to documentation. It basically can’t be wrong.” “What other framework has integrated support for ‘786 TRY IT NOW’ ?” Features Falcon tries to do as little as possible while remaining highly of URIs to resources Global, resource, and method hooks Idiomatic HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal attack fact, Falcon only has two dependencies: six [http://pythonhosted.org/six/], to make it easier to support both Python 2 and 3, and mimeparse [https://code.google.com/p/mimeparse/] for handling complex Accept0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v1.2.0 Documentationprefer it to documentation. It basically can’t be wrong.” “What other framework has integrated support for ‘786 TRY IT NOW’ ?” 3 Falcon Documentation, Release 1.2.0 4 Chapter 1. What People are Saying to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent • serialization, data access, etc. In fact, Falcon only has two dependencies: six, to make it easier to support both Python 2 and 3, and mimeparse for handling complex Accept headers. Neither of these packages0 码力 | 134 页 | 498.46 KB | 1 年前3
Falcon v1.3.0 Documentationprefer it to documentation. It basically can’t be wrong.” “What other framework has integrated support for ‘786 TRY IT NOW’ ?” 3 Falcon Documentation, Release 1.3.0 4 Chapter 1. What People are Saying to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent • great under CPython 2.7, PyPy, and CPython 3.3+. How is Falcon different? We designed Falcon to support the demanding needs of large-scale microservices and responsive app backends. Falcon complements0 码力 | 146 页 | 535.22 KB | 1 年前3
Falcon v1.3.0 Documentationprefer it to documentation. It basically can’t be wrong.” “What other framework has integrated support for ‘786 TRY IT NOW’ ?” Features Falcon tries to do as little as possible while remaining highly of URIs to resources Global, resource, and method hooks Idiomatic HTTP error responses Full Unicode support Intuitive request and response objects Works great with async libraries like gevent Minimal attack great under CPython 2.7, PyPy, and CPython 3.3+. How is Falcon different? We designed Falcon to support the demanding needs of large-scale microservices and responsive app backends. Falcon complements0 码力 | 194 页 | 266.90 KB | 1 年前3
Falcon v1.4.1 Documentationprefer it to documentation. It basically can’t be wrong.” “What other framework has integrated support for 786 TRY IT NOW ?” 3 Falcon Documentation, Release 1.4.1.post-1 4 Chapter 1. What People are to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent • great under CPython 2.7, PyPy, and CPython 3.3+. How is Falcon different? We designed Falcon to support the demanding needs of large-scale microservices and responsive app backends. Falcon complements0 码力 | 158 页 | 587.88 KB | 1 年前3
Falcon v1.4.0 Documentationprefer it to documentation. It basically can’t be wrong.” “What other framework has integrated support for 786 TRY IT NOW ?” 3 Falcon Documentation, Release 1.4.0 4 Chapter 1. What People are Saying to resources • Global, resource, and method hooks • Idiomatic HTTP error responses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent • great under CPython 2.7, PyPy, and CPython 3.3+. How is Falcon different? We designed Falcon to support the demanding needs of large-scale microservices and responsive app backends. Falcon complements0 码力 | 156 页 | 573.94 KB | 1 年前3
共 82 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













