Custom Views for the Rest of UsCustom Views for the Rest of Us ## JACOB RICE 20 21 October 24-29 ## Custom Views for the Rest of Us Jacob Rice jacob.rice.cpp@gmail.com KEYSIGHT TECHNOLOGIES 1 using namespace std::views; 2 for y> ## → ## → ## → ## What is a view? ## Easy to access: namespace std { 3 } namespace views = ranges::views; ## Range • Semantically: a collection of "things". • Has begin and end functions iterated. Pipelines are cheap to create; “real” work is done during iteration. 1 using namespace std::views; 2 for (int i : iota(2) | filter(even) | transform(square)) 3 std::cout << i <<0 码力 | 187 页 | 13.25 MB | 1 年前3
Distributed Ranges: A Model for Building Distributed Data Structures, Algorithms, and Views## +23 ## Distributed Ranges: A Model for Building Distributed Data Structures, Algorithms, and Views ## BENJAMIN BROCK ## Notices and Disclaimers For notices, disclaimers, and details about performance Other names and brands may be claimed as the property of others. ## Human Readable Disclaimer - The views in this talk are mine, not necessarily those of my employer. - This is a speculative, academic-style dot_product(vector& x, vector & y) { auto z = views::zip(x, y) | views::transform([](auto element) { auto [a, b] = element; return a * b; 0 码力 | 127 页 | 2.06 MB | 1 年前3
Django 3.0.x DocumentationHandling HTTP requests ..... 189 3.4 Working with forms ..... 231 3.5 Templates ..... 279 3.6 Class-based views ..... 291 3.7 Migrations ..... 316 3.8 Managing files ..... 328 3.9 Testing in Django ... 647 6.1 Applications ..... 647 6.2 System check framework ..... 653 6.3 Built-in class-based views API ..... 666 6.4 Clickjacking Protection 716 6.5 contrib packages 718 6.6 Cross Site Request functions for use in URLconf 1453 6.27 Django Utils 1454 6.28 Validators 1468 6.29 Built-in Views 1473 7 Meta-documentation and miscellany 1477 7.1 API stability 1477 7.2 Design philosophies0 码力 | 2002 页 | 6.73 MB | 2 年前3
Django 3.1.x Documentationadmin interface: it’s not just scaffolding – it’s the whole house ■ Design your URLs ■ Write your views ■ Design your templates ■ This is just the surface • Quick install guide ■ Install Python Introducing the Django Admin • Writing your first Django app, part 3 Overview Writing more views Write views that actually do something ■ Raising a 404 error ■ Use the template system ■ Removing hardcoded Namespacing URL names • Writing your first Django app, part 4 Write a minimal form ■ Use generic views: Less code is better • Writing your first Django app, part 5 ■ Introducing automated testing ■0 码力 | 3094 页 | 3.03 MB | 2 年前3
Что нужно знать об архитектуре ClickHouse, чтобы его эффективно использовать0 码力 | 28 页 | 506.94 KB | 2 年前3
Taming the C++ Filter View[Image](/uploads/documents/9/3/9/8/9398714df43beb793f9dce171fbfd241/p1_6.jpg) 3 C++20 Views C++ ©2024 by josuttis.com C++20: Views templatevoid print(const T& coll) { for (const auto& @2024 by josuttis.com 4 Output: 0 8 15 47 11 42 1 0 1 8 11 15 42 47 C++20: Views void print(const auto& coll) { for (const auto& elem : coll) { std::cout << elem << 11 42 1 0 1 8 11 15 42 47 C++ @2024 by josuttis.com 5 josuttis|eckstein IT communication C++20: Views void print(const std::ranges::input_range auto& coll) { for (const auto& elem : coll)0 码力 | 43 页 | 2.77 MB | 1 年前3
Django 5.1 Documentationinterface: it's not just scaffolding - it's the whole house - Design your URLs - Write your views - Design your templates - This is just the surface ## Quick install guide - Install Python - Introducing the Django Admin ## Writing.your first Django app, part 3 - Overview - Writing more views - Write views that actually do something - Raising a 404 error - Use the template system - Removing hardcoded Namespaceing URL names o Writing.your first Django app, part 4 - Write a minimal form - Use generic views: Less code is better o Writing.your first Django app, part 5 - Introducing automated testing - Basic0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationinterface: it's not just scaffolding - it's the whole house - Design your URLs - Write your views - Design your templates - This is just the surface ## Quick install guide - Install Python - Introducing the Django Admin ## Writing.your first Django app, part 3 - Overview - Writing more views - Write views that actually do something - Raising a 404 error - Use the template system - Removing hardcoded Namespaceing URL names o Writing.your first Django app, part 4 - Write a minimal form - Use generic views: Less code is better o Writing.your first Django app, part 5 - Introducing automated testing - Basic0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 4.1.x Documentationinterface: it's not just scaffolding - it's the whole house - Design your URLs - Write your views - Design your templates - This is just the surface ## Quick install guide - Install Python - Introducing the Django Admin ## o Writing.your first Django app, part 3 - Overview - Writing more views - Write views that actually do something - Raising a 404 error - Use the template system - Removing hardcoded Namespaceing URL names - Writing.your first Django app, part 4 - Write a minimal form - Use generic views: Less code is better - Writing.your first Django app, part 5 - Introducing automated testing -0 码力 | 3240 页 | 3.13 MB | 2 年前3
Django 4.0.x Documentationinterface: it's not just scaffolding - it's the whole house - Design your URLs - Write your views - Design your templates - This is just the surface ## Quick install guide - Install Python - Introducing the Django Admin ## o Writing.your first Django app, part 3 - Overview - Writing more views - Write views that actually do something - Raising a 404 error - Use the template system - Removing hardcoded Namespaceing URL names - Writing.your first Django app, part 4 - Write a minimal form - Use generic views: Less code is better - Writing.your first Django app, part 5 - Introducing automated testing -0 码力 | 3184 页 | 3.14 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
custom viewsproxy iteratorsviewable_rangerange-v3customization points分布式范围分布式数据结构分段处理分布式算法并行计算DjangoORMclass-based viewsstatic filesloggingasynchronous viewsJSONFielddeprecationPython compatibilitycaching middlewareClickHouseDistributed tablesreplicated merge treeshardingmaterialized viewsFilter Viewscall-by-valuecall-by-referenceLazy EvaluationPipelinesDjango框架Web开发视图模板模型安装指南开发服务器模板系统URL模型层视图层数据库迁移













