Learning Django Web Development Год: 2015 Автор: Sanjeev Jaiswal, Ratan Kumar Издательство: Packt Publishing ISBN: 978-1-78398-441-1 Язык: Английский Формат: PDF/EPUB/MOBI Качество: Изначально компьютерное (eBook) Интерактивное оглавление: Да Количество страниц: 405 Описание: Django, written in Python, is a web application framework designed to build complex web applications quickly without any hassle. It loosely follows the MVC pattern and adheres to the Don't Repeat Yourself principle, which makes a database-driven application efficient and highly scalable, and is by far the most popular and mature Python web framework. This book is a manual that will help you build a simple yet an effective Django web application. It starts by introducing Django, setting it up, and code simple programs. You will then learn to build your first Twitter-like app. Later on you will be introduced to HashTags, Ajax to enhance the user interface, and tweets. You will then move on to create an administration interface, learn database connectivity, and use third-party libraries. Then you will learn to debug and deploy Django projects, and also get a glimpse of Django with AngularJS and ElasticSearch. By the end of the book you will be able to leverage Django framework to develop a fully functional web application with minimal efforts.
Примеры страниц
Оглавление
Preface Chapter 1: Introduction to Django Why web development in the first place? What has changed in web development The MVC pattern in web development Why Django? Supported databases What you will learn using this book Chapter 2: Getting Started Installing the required software Creating your first project Chapter 3: Code Style in Django Django coding style Using IDE for faster development Setting up your project with the Sublime text editor Setting up the PyCharm IDE The Django project structure Best practices – using version control Setting up the database Launching the development server Faster web development Chapter 4: Building an Application Like Twitter A word about Django terminology Setting up a basic template application Installing Django Setting up the basic Twitter Bootstrap for the application URLs and views – creating the main page Introduction to class-based views Django settings for the mytweets project Putting it all together – generating user pages Models – designing an initial database schema Chapter 5: Introducing Hashtags The hashtag data model Designing the tweet post form Creating a tag page Chapter 6: Enhancing the User Interface with AJAX AJAX and its advantages Using an AJAX framework in Django Using the open source jQuery framework Implementing the searching of tweets Implementing the live searching of tweets Editing a tweet in place without loading a separate page Autocompletion of hashtags while submitting a tweet Chapter 7: Following and Commenting Letting users follow another user Displaying the most followed user Chapter 8: Creating an Administration Interface Customizing the administration interface Customizing listing pages Overriding administration templates Users, groups, and permissions Organizing content into pages – pagination Chapter 9: Extending and Deploying Sending invitation e-mails to friends Internationalization (i18n) – offering the site in multiple languages Caching – improving the performance of your site during high traffic Unit testing – automating the process of testing your application Deploying Django Chapter 10: Extending Django Custom template tags and filters Class-based generic views Contributed sub-frameworks Flatpages The message system The subscription system User scores Chapter 11: Database Connectivity SQL versus NoSQL Setting up a database system The single-page application project – URL shortener Chapter 12: Using Third-party Packages Diving into the world of open source Using SocialAuth in Django projects Building REST APIs in Django Chapter 13: The Art of Debugging Logging Debugging IPDB – interactive way of busting bugs Chapter 14: Deploying Django Projects The production web server The production database Turning off the debug mode Changing configuration variables Setting error pages Django on cloud Chapter 15: What's Next? AngularJS meets Django Django search with Elasticsearch Index
Торрент перезалит. Причина: замена PDF, EPUB, MOBI на True-версии
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum