چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

مبانی پرل ۶: مقدمه‌ای با مثال‌ها، پروژه‌ها و مطالعات موردی

Perl 6 Fundamentals : A Primer with Examples, Projects, and Case Studies

Moritz Lenz (auth.)

قیمت نهایی

۴۴٬۰۰۰ تومان۴۹٬۰۰۰ تومان۱۰٪ تخفیف
  • تخفیف زمان‌دار−۵٬۰۰۰ تومان

۵٬۰۰۰ تومان صرفه‌جویی نسبت به قیمت اصلی

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

نویسنده
Moritz Lenz (auth.)
سال انتشار
۲۰۱۷
فرمت
PDF
زبان
انگلیسی
حجم فایل
۲٫۷ مگابایت

دربارهٔ کتاب

Gain the skills to begin developing Perl 6 applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of Perl. You’ll learn enough to get started building with Perl 6, using Perl 6’s gradual typing, handy object orientation features, powerful parsing capabilities, and human-usable concurrency. After a short introduction, each chapter develops a small example project, explaining the Perl 6 features used. When the example is done, you’ll explore another aspect, such as optimizing further for readability or testing the code. Along the way you’ll see Perl 6 basics, such as variables and scoping; subroutines; classes and objects; regexes; and code testing. When you’ve mastered the basics, __Perl 6 Fundamentals__ moves onto more advanced topics to give you a deeper understanding of the language. You’ll learn, amongst other things, how to work with persistent storage, how to generate good error messages, and how to write tricky applications such as a file and directory usage graph and a Unicode search tool.**What You'll Learn** * Get coding with Perl 6 * Work on several hands-on examples and projects * Integrate Python libraries into your Perl 6 programs * Parse INI files using regexes and grammars * Build a date time converter * Carry out refactoring and other automated tests **Who This Book Is For**If you already know one or more programming languages, and want to learn about Perl 6, this book is for you. Contents at a Glance 4 Contents 5 About the Author 10 About the Technical Reviewer 11 Acknowledgments 12 Foreword 13 Chapter 1: What Is Perl 6? 16 1.1 Perl 5, the Older Sister 16 1.2 Library Availability 17 1.3 Why Should I Use Perl 6? 17 1.4 Summary 18 Chapter 2: Running Rakudo Perl 6 19 2.1 Installers 19 2.2 Docker 20 2.3 Building from Source 21 2.4 Testing Your Rakudo Star Installation 22 2.5 Documentation 22 2.6 Summary 22 Chapter 3: Formatting a Sudoku Puzzle 23 3.1 Making the Sudoku Playable 26 3.2 Shortcuts, Constants, and More Shortcuts 30 3.3 I/O and Other Tragedies 32 3.4 Get Creative! 34 3.5 Summary 35 Chapter 4: Datetime Conversion for the Command Line 36 4.1 Libraries to the Rescue 36 4.2 DateTime Formatting 39 4.3 Looking the Other Way 41 4.4 Dealing with Time 43 4.5 Tighten Your Seat Belt 44 4.6 MAIN Magic 46 4.7 Automated Tests 47 4.8 Summary 51 Chapter 5: Testing say() 52 5.1 Summary 55 Chapter 6: Silent-Cron, a Cron Wrapper 56 6.1 Running Commands Asynchronously 56 6.2 Implementing Timeouts 59 6.3 More on Promises 61 6.4 Possible Extensions 64 6.5 Refactoring and Automated Tests 64 6.5.1 Refactoring 64 6.5.2 Mocking and Testing 66 6.5.3 Improving Reliability and Timing 71 6.5.4 Installing a Module 71 6.6 Summary 72 Chapter 7: Stateful Silent-Cron 73 7.1 Persistent Storage 73 7.2 Developing the Storage Back End 74 7.3 Using the Storage Back End 77 7.4 Room for Expansion 78 7.5 Summary 78 Chapter 8: Review of the Perl 6 Basics 79 8.1 Variables and Scoping 79 8.2 Subroutines 79 8.3 Classes and Objects 81 8.4 Concurrency 83 8.5 Outlook 83 Chapter 9: Parsing INI Files Using Regexes and Grammars 84 9.1 Regex Basics 85 9.1.1 Character Classes 86 9.1.2 Quantifiers 86 9.1.3 Alternatives 87 9.2 Parsing the INI Primitives 87 9.3 Putting Things Together 90 9.4 Backtracking 91 9.5 Grammars 93 9.6 Extracting Data from the Match 94 9.7 Generating Good Error Messages 99 9.7.1 Failure Is Normal 99 9.7.2 Detecting Harmful Failure 100 9.7.3 Providing Context 101 9.7.4 Shortcuts for Parsing Matching Pairs 103 9.8 Write Your Own Grammars 104 9.9 Summary 104 Chapter 10: A File and Directory Usage Graph 105 10.1 Reading File Sizes 105 10.2 Generating a Tree Map 107 10.3 Flame Graphs 111 10.4 Functional Refactorings 113 10.5 More Language Support for Functional Programming 119 10.6 More Improvements 120 10.7 Explore! 121 10.8 Summary 122 Chapter 11: A Unicode Search Tool 123 11.1 Code Points, Grapheme Clusters, and Bytes 125 11.2 Numbers 126 11.3 Other Unicode Properties 127 11.4 Collation 127 11.5 Summary 128 Chapter 12: Plotting Using Inline::Python and Matplotlib 129 12.1 Extracting the Stats 129 12.2 Plotting with Python 130 12.3 Bridging the Gap 132 12.4 Using the Bridge to Plot 133 12.5 Stacked Plots 135 12.6 Idiomatic Use of Inline::Python 139 12.6.1 Types of Python APIs 139 12.6.2 Mapping the Function API 140 12.6.3 An Object-Oriented Interface 142 12.7 Summary 144 Chapter 13: What’s Next? 145 13.1 Scaling Your Code Base 145 13.2 Packaging Your Application 146 13.2.1 Packaging as a Traditional Perl 6 Module 146 13.2.2 Deploying with Docker 147 13.2.3 Windows Installers 147 13.3 Closing Thoughts 147 Index 148 Gain the skills to begin developing Perl 6 applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of Perl. You’ll learn enough to get started building with Perl 6, using Perl 6’s gradual typing, handy object orientation features, powerful parsing capabilities, and human-usable concurrency. After a short introduction, each chapter develops a small example project, explaining the Perl 6 features used. When the example is done, you’ll explore another aspect, such as optimizing further for readability or testing the code. Along the way you’ll see Perl 6 basics, such as variables and scoping; subroutines; classes and objects; regexes; and code testing. When you’ve mastered the basics, Perl 6 Fundamentals moves onto more advanced topics to give you a deeper understanding of the language. You’ll learn, amongst other things, how to work with persistent storage, how to generate good error messages, and how to write tricky applications such as a file and directory usage graph and a Unicode search tool. What You'll Learn Get coding with Perl 6 Work on several hands-on examples and projects Integrate Python libraries into your Perl 6 programs Parse INI files using regexes and grammars Build a date time converter Carry out refactoring and other automated tests Who This Book Is For If you already know one or more programming languages, and want to learn about Perl 6, this book is for you. Gain the skills to begin developing Perl 6 applications from the ground up in this hands-on compact book. You'll learn enough to get started building with Perl 6, using Perl 6's gradual typing, handy object orientation features, powerful parsing capabilities, and human-usable concurrency. After a short introduction, each chapter develops a small example project, explaining the Perl 6 features used. When the example is done, you'll explore another aspect, such as optimizing further for readability or testing the code. Along the way you'll see Perl 6 basics, such as variables and scoping; subroutines; classes and objects; regexes; and code testing. When you've mastered the basics, Perl 6 Fundamentals moves onto more advanced topics to give you a deeper understanding of the language. You'll learn, amongst other things, how to work with persistent storage, how to generate good error messages, and how to write tricky applications such as a file and directory usage graph and a Unicode search tool. You will: Get coding with Perl 6 Work on several hands-on examples and projects Integrate Python libraries into your Perl 6 programs Parse INI files using regexes and grammars Build a date time converter Carry out refactoring and other automated tests Front Matter....Pages i-xix What Is Perl 6?....Pages 1-3 Running Rakudo Perl 6....Pages 5-8 Formatting a Sudoku Puzzle....Pages 9-21 Datetime Conversion for the Command Line....Pages 23-38 Testing say()....Pages 39-42 Silent-Cron, a Cron Wrapper....Pages 43-59 Stateful Silent-Cron....Pages 61-66 Review of the Perl 6 Basics....Pages 67-71 Parsing INI Files Using Regexes and Grammars....Pages 73-93 A File and Directory Usage Graph....Pages 95-112 A Unicode Search Tool....Pages 113-118 Plotting Using Inline::Python and Matplotlib....Pages 119-134 What’s Next?....Pages 135-137 Back Matter....Pages 139-142

کتاب‌های مشابه

آر و داده‌کاوی: مثال‌ها و مطالعات موردی

آر و داده‌کاوی: مثال‌ها و مطالعات موردی

۴۹٬۰۰۰ تومان

مثال‌های پرل، ۳۰ برنامهٔ پرل: کارنامهٔ برنامه‌نویسی پرل (مثال‌ها و آزمون‌ها ۱۰)

مثال‌های پرل، ۳۰ برنامهٔ پرل: کارنامهٔ برنامه‌نویسی پرل (مثال‌ها و آزمون‌ها ۱۰)

۴۹٬۰۰۰ تومان

استثناها در جاوا: مبانی، مفاهیم پیشرفته و مثال‌های واقعی API

استثناها در جاوا: مبانی، مفاهیم پیشرفته و مثال‌های واقعی API

۴۹٬۰۰۰ تومان

مبانی اندروید و مثال‌های کدنویسی پایتون: برنامه‌نویسی برای مبتدیان

مبانی اندروید و مثال‌های کدنویسی پایتون: برنامه‌نویسی برای مبتدیان

۴۹٬۰۰۰ تومان

جایگزین‌های فریم‌ورک CSS: بررسی پنج جایگزین سبک برای بوت‌استرپ و فاندیشن با مثال‌های پروژه

جایگزین‌های فریم‌ورک CSS: بررسی پنج جایگزین سبک برای بوت‌استرپ و فاندیشن با مثال‌های پروژه

۴۹٬۰۰۰ تومان

دینامیک گاز: مقدمه‌ای با مثال‌هایی از اخترفیزیک و ژئوفیزیک

دینامیک گاز: مقدمه‌ای با مثال‌هایی از اخترفیزیک و ژئوفیزیک

۴۹٬۰۰۰ تومان

مقدمه‌ای بر حل مسئله ۸D: شامل کاربردها و مثال‌های عملی

مقدمه‌ای بر حل مسئله ۸D: شامل کاربردها و مثال‌های عملی

۴۹٬۰۰۰ تومان

برنامه‌نویسی روبی برای مبتدیان: مقدمه‌ای بر یادگیری برنامه‌نویسی روبی با آموزش‌ها و مثال‌های عملی

برنامه‌نویسی روبی برای مبتدیان: مقدمه‌ای بر یادگیری برنامه‌نویسی روبی با آموزش‌ها و مثال‌های عملی

۴۹٬۰۰۰ تومان

برنامه‌نویسی پایتون به‌وسیلهٔ مثال‌ها

برنامه‌نویسی پایتون به‌وسیلهٔ مثال‌ها

۴۹٬۰۰۰ تومان

رابط‌های کاربردی در جاوا: اصول و مثال‌ها

رابط‌های کاربردی در جاوا: اصول و مثال‌ها

۴۹٬۰۰۰ تومان

ماتماتیکا به‌وسیلهٔ مثال‌ها

ماتماتیکا به‌وسیلهٔ مثال‌ها

۴۹٬۰۰۰ تومان

ASP.NET ضروری با مثال‌هایی در C#

ASP.NET ضروری با مثال‌هایی در C#

۴۹٬۰۰۰ تومان

قیمت نهایی

۴۴٬۰۰۰ تومان