• Complain

Ben Lopatin - Django Standalone Apps: Learn to Develop Reusable Django Libraries

Here you can read online Ben Lopatin - Django Standalone Apps: Learn to Develop Reusable Django Libraries full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2020, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Ben Lopatin Django Standalone Apps: Learn to Develop Reusable Django Libraries
  • Book:
    Django Standalone Apps: Learn to Develop Reusable Django Libraries
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2020
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Django Standalone Apps: Learn to Develop Reusable Django Libraries: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Django Standalone Apps: Learn to Develop Reusable Django Libraries" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Develop standalone Django apps to serve as the reusable building blocks for larger Django projects. This book explores best practices for publishing these apps, with special considerations for testing Django apps, and strategies for extracting existing functionality into a separate package.This jumpstart reference is divided into four distinct and sequential sections, all containing short, engaging chapters that can be read in a modular fashion, depending on your level of experience. The first section covers the structure and scope of standalone Django apps. The second section digs into questions about pulling code out of existing projects and into new standalone apps for reuse. The third section details additional, advanced technical best practices toward making standalone apps as broadly useful as possible. The fourth and final section covers strategies for managing a published Django app.Django Standalone Apps is the perfect resource for developers who have at least some prior experience working with Django web applications and want to simplify their deployments and share their knowledge as open source packages.What Youll Learn Scope a standalone Django app project for optimum usefulness Extract code from existing projects to reuse Test a standalone app outside of your Django project Reuse your own code for increased delivery cadence and code quality Review best practices for maintaining a Django app package

Ben Lopatin: author's other books


Who wrote Django Standalone Apps: Learn to Develop Reusable Django Libraries? Find out the surname, the name of the author of the book and a list of all author's works by series.

Django Standalone Apps: Learn to Develop Reusable Django Libraries — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Django Standalone Apps: Learn to Develop Reusable Django Libraries" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Ben Lopatin Django Standalone Apps Learn to Develop Reusable Django Libraries - photo 1
Ben Lopatin
Django Standalone Apps
Learn to Develop Reusable Django Libraries
Ben Lopatin New York NY USA Any source code or other supplementary material - photo 2
Ben Lopatin
New York, NY, USA

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/978-1-4842-5631-2 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-5631-2 e-ISBN 978-1-4842-5632-9
https://doi.org/10.1007/978-1-4842-5632-9
Ben Lopatin 2020
Apress Standard
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.
Introduction

At 15 years old, the Django web framework is arguably the most popular Python web framework today and one of the most successful open source Python projects ever. Many things and people have contributed to this, and one of them is the architecture of the framework. Django sites, or projects, are made up of several to many "apps," packages that may include everything from database models to forms and HTTP views required to support one particular part of the project. Not only do apps help organize larger web projects, they also make it possible to reuse that functionality by reusing apps across other projects as their own installable Python packages: Django standalone apps.

This book is for Django developers who are either new to writing their own standalone apps or who have written them before but are looking for some common guidance. You dont need to be a Django guru-ninja-wizard-whatever to write standalone apps, but you will need at least moderate familiarity with Django to use this book.

This book is for developers in two categories:
  • You have been working with Django for at least a little while and would like to create a standalone app.

  • You have written at least one Django standalone app already but there are aspects of creating another or managing your app, from process to corner cases, that youre unsure of.

The book is roughly grouped into four parts.

The first part is geared toward the developer who has not yet written a standalone app and maybe who finds the idea of putting together, and publishing, a Python package a bit daunting (its not!). What well cover in this part is designed to be enough to get you started with a basic but working and publishable standalone app. In the first eight chapters, youll learn how to structure a standalone app, manage features like templates and migrations, and create a separate installable package.

The second part is a little bit more strategic. Here were concerned with the concepts around pulling standalone apps out from existing projects. In this situation you seemingly have an advantage since you already have working code written; however, if you want to extract for reuse, you have to identify where to draw the line between likely coupled code in your own project. More challenging is the prospect of not just making a reusable app based on your code, but replacing your original code with your new standalone app. This part deals with those questions, decisions, and some strategies for these real-world situations.

The third part carries forward the topics in Part 1 including how to work through further issues. How do you best deal with app-specific configuration? How can you support multiple versions of Django or Python? Some of the topics here overlap with issues youll face in any Django project; however, the details of implementing them, and implementing them well in a standalone app, pose different challenges. This is when youll need to start considering scenarios beyond your own immediate use case, those things you havent yet had to worry about in your own projects. If the goal of creating a reusable app is to streamline and simplify the process of building Django websites, then here we want to streamline and simplify the process of building and maintaining reusable apps themselves.

The fourth part is about managing a Django standalone app in the wild. How do you ensure you have a good release every time? Whats the best way of ensuring a Django versioncompatible pipeline? While there is overlap here with managing any software package, Python or otherwise, well focus especially on issues and solutions to Django apps.

Table of Contents
Part I: Basic Components of a Django App
Part II: Scoping and Extracting a Reusable App
Part III: Beyond the Basics
Part IV: Managing Your Standalone App
About the Author
Ben Lopatin
is cofounder and principal consultant at Wellfire Interactive and has been - photo 3

is cofounder and principal consultant at Wellfire Interactive and has been developing with Django since the pre-version 1.0 days. Over that time he has led a variety of CMS and SaaS projects, using numerous standalone apps and releasing a few himself. He writes a newsletter devoted to working with existing production Django apps called This Old Pony, named after his most recent DjangoCon talk, and he can be reached at https://benlopatin.com .

About the Technical Reviewer
Ahmed Fawzy Gad
is a machine learning engineer who received his BSc and MSc in Information - photo 4
is a machine learning engineer who received his BSc and MSc in Information Technology. Ahmed is interested in machine/deep learning, computer vision, and Python. He has a number of open source projects at GitHub ( github.com/ahmedfgad ). He is a machine learning technical reviewer and consultant helping others do their projects. Ahmed has contributed more than 80 written tutorials and articles to a number of blogs including Paperspace , Real Python , KDnuggets , Heartbeat , and Towards Data Science .

Ahmed has authored three books titled TensorFlow: A Guide to Build Artificial Neural Networks using Python (Labmert 2017)

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Django Standalone Apps: Learn to Develop Reusable Django Libraries»

Look at similar books to Django Standalone Apps: Learn to Develop Reusable Django Libraries. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Django Standalone Apps: Learn to Develop Reusable Django Libraries»

Discussion, reviews of the book Django Standalone Apps: Learn to Develop Reusable Django Libraries and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.