LibCoder

Deep Dive Python: Techniques and Best Practices for Developers

1C Agda Python
Deep Dive Python: Techniques and Best Practices for Developers
Автор: Divakaran Adarsh
Дата выхода: 2025
Издательство: Apress Media, LLC.
Количество страниц: 769
Размер файла: 2,7 МБ
Тип файла: PDF
Добавил: LibCoder
Оглавление
ContentsIntroductionSection 1: AuditingWhat's Covered?Planning Your Auditing StrategyGetting Into the Right MindsetRecording Your FindingsAutomated ToolingPHP InsightsEnlightnLarastanStyle CICode CoverageManual AuditingInvestigating "raw" Database QueriesFinding Incorrect AuthorisationChecking ValidationFinding "Fake Facades"Finding Business Logic in HelpersFinding N+1 QueriesFinding Controllers That Use Other ControllersFinding Logic and Queries in Blade ViewsFinding Hard-Coded CredentialsCheck Open Package RoutesReviewing Project DocumentationSection 2: TestingWhat's Covered?Planning Your Testing StrategyThe Benefits of Writing TestsSpotting Bugs EarlyMaking Future Work and Refactoring EasierChanging the Way You Approach Writing CodeTests-As-DocumentationProve That Bugs ExistStructuring Your TestsDirectory StructureChoosing What To TestTest StructureData ProvidersWriting the TestsPrioritising Mission-Critical Tests FirstWriting the Rest of the TestsBenefits of Writing the Easy Tests FirstPreventing Test FatigueTesting Your UI with Laravel DuskInstallationTesting a Simple FormDusk Pages and SelectorsRunning Failed Tests and GroupsCreating a CI Workflow Using GitHub ActionsUsing an .env.ci FileRunning the Test SuiteLarastanLaravel DuskOutputSection 3: FixingWhat's Covered?Planning Your Fixing StrategyUsing an Error Reporting SystemTypes of ErrorsThe Benefits of an Automated Error Reporting SystemError Reporting Using FlareUptime Checking, Queue Monitoring, and Scheduler MonitoringUptime Monitoring with Oh DearScheduler Monitoring with Oh DearQueue Monitoring with Oh DearUpdating PHP, Laravel, and PackagesUpgrading in Small IncrementsAutomating the Upgrade Using Laravel ShiftPlanning Upgrades EarlyUsing a Suitable Local Development EnvironmentUsing Tests to Fix BugsWhat is Test-Driven Development?The Advantages of Test-Driven DevelopmentThe Disadvantages of Test-Driven DevelopmentFixing a Real Bug Using Test-Driven DevelopmentSafely Removing Dead CodeChecking the Version Control HistoryScream TestLogging or Reporting the UsageRemoving the Code with an Atomic CommitSection 4: ImprovingWhat's Covered?Planning Your Improvement StrategyMaking the Most of PHP's Type SystemUsing Type Hints and Return TypesUnion TypesType Hints and Return Types in ClosuresDRYing Up Your CodeAdvantages of DRYing Up Your CodeWhen to DRY Up Your CodeRefactoring ConditionsReducing Indented CodeReplacing if and elseif with matchUsing the Nullsafe OperatorUsing Database TransactionsAdding the Database TransactionsManually Using Database TransactionsTips for Interacting with Third-Party ServicesUsing Automatic or Manual TransactionsDispatching Queued Jobs inside Database TransactionsImproving the Testability of Your CodeUsing Objects Over ArraysFinal WordsDiscount CodesFlareOh DearStyleCILaravel Security In Depth

Описание

Коротко и по делу о том, что важно знать про python.

Take your programming skills to the next level by expanding real-world Python applications in open-source code. This book is an essential guide for experienced developers looking to enhance their Python proficiency.

By understanding code from established projects, you’ll develop a deeper appreciation for Python’s capabilities and learn best practices that have been battle-tested in the real world. Using code examples from popular open-source projects you’ll master Python concepts and see how they are applied in production-level code. You’ll gain the confidence to tackle complex projects, optimize your code, and implement advanced Python features effectively.

This will equip you to build production-ready Python programs and libraries. You’ll also examine typing, generators, iterators, the itertools module, multithreading, multiprocessing, and asyncio. Whether you’re building large-scale applications, contributing to open-source projects, or solving intricate programming challenges, Deep Dive Python will provide you with the knowledge and practical experience to excel in your Python development journey.

What You Will LearnMaster Python's core data structures and how to use them effectively.

Implement decorators, descriptors, metaclasses, and abstract base classes in your code

Enhance your code with functional programming techniques using the functools module

Improve iteration with generators, iterators, and the itertools module

Select the best Python concurrent programming models to use for optimal performance

Apply best practices for code organization, packaging, and creating maintainable Python projects

Who This Book Is ForExperienced Python developers who want to expand their programming skils

Файл доступен для загрузки ниже.

python code your programming best projects practices developers

Частые вопросы

Можно ли скачать «Deep Dive Python: Techniques and Best Practices for Developers» бесплатно?

Да, «Deep Dive Python: Techniques and Best Practices for Developers» доступна для бесплатного скачивания на нашем сайте в формате PDF. Ссылка на файл находится на этой странице.

В каком формате и какого размера файл?

Книга предоставляется в формате PDF, размер файла 2,7 МБ.

Кто автор и когда вышла книга?

автор — Divakaran Adarsh, издательство Apress Media, LLC., год выпуска 2025, 769 страниц.

О чём книга «Deep Dive Python: Techniques and Best Practices for Developers»?

Take your programming skills to the next level by expanding real-world Python applications in open-source code.

Похожие материалы