Cookbook

所属分类:文章/文档
开发工具:HTML
文件大小:32114KB
下载次数:0
上传日期:2023-05-03 22:53:45
上 传 者sh-1993
说明:  各种编程语言和库的代码段
(Code snippets for various programming languages and libraries)

文件列表:
HTML-CSS-JS (0, 2022-03-30)
HTML-CSS-JS\ajax (0, 2022-03-30)
HTML-CSS-JS\ajax\ajax_jquery.html (735, 2022-03-30)
HTML-CSS-JS\ajax\ajax_request.html (616, 2022-03-30)
HTML-CSS-JS\bootstrap4_example (0, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap (0, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap\4.5.0 (0, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap\4.5.0\bootstrap.min.css (160403, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap\4.5.0\bootstrap.min.js (60174, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap\4.5.0\jquery-3.5.1.min.js (89476, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap\4.5.0\jquery-ui.min.css (30747, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap\4.5.0\jquery-ui.min.js (253669, 2022-03-30)
HTML-CSS-JS\bootstrap4_example\bootstrap_cdn_template.php (5482, 2022-03-30)
HTML-CSS-JS\fade-in-animation.html (266, 2022-03-30)
HTML-CSS-JS\fontawesome-icons (0, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web (0, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\LICENSE.txt (1548, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\attribution.js (187, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css (0, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\all.css (73577, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\all.min.css (59305, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\brands.css (732, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\brands.min.css (675, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\fontawesome.css (71942, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\fontawesome.min.css (57873, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\regular.css (734, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\regular.min.css (677, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\solid.css (727, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\solid.min.css (669, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\svg-with-js.css (8077, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\svg-with-js.min.css (6359, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\v4-shims.css (41312, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\css\v4-shims.min.css (26702, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\js (0, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\js\all.js (1262826, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\js\all.min.js (1196706, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\js\brands.js (456484, 2022-03-30)
HTML-CSS-JS\fontawesome-icons\fontawesome-free-5.15.4-web\js\brands.min.js (449188, 2022-03-30)
... ...

## The Cookbook Method A cookbook in the programming context is collection of tiny programs that each demonstrate a particular programming concept. The Cookbook Method is the process of learning a programming language by building up a repository of small programs that implement specific programming concepts. Starting with a Hello World program and building the knowledge piece by piece on top of that. If you are a beginner, you will probably want to start out with one language like Python and start building up your repetoire of snippets for reference and confidence. If you are a seasoned developer, you may want to start building a cookbook from scratch for a new language you have never used, or keep a cookbook for more advanced topics in a language you are already familiar with. Here is an example of when my Cookbook comes in handy. Recently I was faced with a situation where I needed to make an HTTP request to an API, parse the JSON response, generate a CSV spreadsheet, and email the spreadsheet. Because I already had my own cookbook snippets for doing each of those three actions, it was really easy to put together a program that did what I needed it to. ## Watch the video [![The Cookbook Method](https://img.youtube.com/vi/8vmUTz6it5A/0.jpg)](https://www.youtube.com/watch?v=8vmUTz6it5A "The Cookbook Method") ### Benefits of Building Your Own Cookbook * You can share it with others * Learn topics that are interesting to you * You build up your knowledge in small increments * You can see your progress over time * You have a library of reference material in your own style. * It is quicker than looking up documentation or looking for a Stack Overflow answer. * Explore new topics * Learn new programming languages. * Tips for Building a Cookbook * Store your cookbook in a version control system like Git. * Keep a to do list of topics or programming languages you want to explore and learn * It does not have to be just code. I have a lot of plain text .txt files with notes on things like how to create a Python pip package, creating Ruby Gems, or how to create a runnable JAR in Java. Sometimes tips on installing prerequisites if something was difficult or just notes on how to compile and run programs. * It can also be template programs. For example I have a base chrome browser extension that doesn't really do anything itself, but it is a fully functional extension with all the boilerplate done and ready for me to start developing. * Programs should be fully runnable and not just chunks of code without context that do not compile and execute * Keep the snippets small, simple and to one topic ### Example Cookbook Topics Everyone has different goals with programming so identify topics relevant to your interests. Here are some ideas if you do not know where to get started. * Hello, world * Getting user input from stdin * Taking command line arguments * Reading and writing files * Using TCP sockets * Making HTTP requests * Parsing JSON * Creating a CSV file * Making database connections * Playing an audio file * Multithreading * Drawing 2D graphics to screen * Drawing 3D graphics to screen * GUI programming ## The DevDungeon Cookbook * http://www.devdungeon.com/cookbook * https://github.com/DevDungeon/Cookbook ## Contact John "NanoDano" Leon https://www.devdungeon.com

近期下载者

相关文件


收藏者