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 1.10.x Documentationdatabases 3.3 Handling HTTP requests 3.4 Working with forms 221 3.5 Templates 267 3.6 Class-based views 279 3.7 Migrations 304 3.8 Managing files 315 3.9 Testing in Django 318 3.10 User authentication API Reference 629 6.1 Applications 629 6.2 System check framework 635 6.3 Built-in class-based views API 646 6.4 Clickjacking Protection 694 6.5 contrib packages 696 6.6 Cross Site Request Forgery conf.urls utility functions 1363 6.25 Django Utilis 1366 6.26 Validators 1380 6.27 Built-in Views 1384 7 Meta-documentation and miscellany 1387 7.1 API stability 1387 7.2 Design philosophies0 码力 | 1817 页 | 6.19 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
PostgreSQL 9.0 Documentation14 2.9. Deletions ..... 14 3. Advanced Features ..... 16 3.1. Introduction ..... 16 3.2. Views ..... 16 3.3. Foreign Keys ..... 16 3.4. Transactions ..... 17 3.5. Window Functions ..... 19 view_column_usage ..... 777 34.52. view_routine_usage ..... 778 34.53. view_table_usage ..... 779 34.54. views ..... 779 rver Programming ..... 781 35. Extending SQL ..... 783 35.1. How Extensibility Tree .....860 37.2. Views and the Rule System .....862 37.2.1. How SELECT Rules Work .....862 37.2.2. View Rules in Non-SELECT Statements .....867 37.2.3. The Power of Views in PostgreSQL .....8680 码力 | 2561 页 | 5.55 MB | 2 年前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
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
custom viewsproxy iteratorsviewable_rangerange-v3customization points分布式范围分布式数据结构分段处理分布式算法并行计算Djangomodelsviewstemplatesformsadminasynchronous viewsJSONFielddeprecationPython compatibilitycaching middlewareClickHouseDistributed tablesreplicated merge treeshardingmaterialized viewsFilter Viewscall-by-valuecall-by-referenceLazy EvaluationPipelinesPostgreSQLSQL事务完整性(Transaction Integrity)视图(Views)触发器(Triggers)Django框架Web开发视图模板模型安装指南开发服务器模板系统URL













