在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Tango With Django pdf 0分

Tango With Django pdf 0分

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:3.34M
  • 下载次数:1
  • 浏览次数:80
  • 发布时间:2020-08-15
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
Tango With Django 英文pdf
Table of contents Overview 1.1 Why Work with this Book? 1.2 What you will Learn 1.3 Technologies and Services 1.4 Rango: Initial Design and Specification 1.5 Summary 2. Getting ready to Tango 2.1 Python 2.2 The Python Package Manager 2. 3 Virtual environments 2. 4 Integrated Development Environment 2.5 Code repository 3. Django basics 3.1 Testing Your Setup 3.2 Creating Your Diango Project 3.3 Creating a Django Application 3.4 Creating a view 3.5 Mapping urls 3.6 Basic Workflows 4. Templates and Media file 4.1 Using Templates 4.2 Serving Static Media Files 4.3 Serving media 4.4 Basic Workflow 5. Models and databases 5.1 Rango's requirements 5.2 Telling Django about Your Database 5.3 Creating Models 5.4 Creating and migrating the database 5.5 Django Models and the Shell 5.6 Configuring the Admin Interface 5.7 Creating a Population Script 5.8 Workflow: Model Setup 6. Models, Templates and views 6.1 Workflow: Data Driven Pagc 6.2 Showing Categories on Rango's Homepage 6.3 Creating a Details page 7. Forms 7.1 Basic Work flow 7.2 Page and Category Forms 8. Working with Templates 8.1 Using Relative URLs in Templates 8.2 Dealing with Repetition 8. 3 Template Inheritance 8.4 Thc render( Mcthod and thc request Contcxt 8.5 Custom Template Tags 8.6 Summary 9. User authentication 9.1 Setting up Authentication 9.2 Password hashing 9.3 Password validators 9. 4 The User model 9.5 Additional User attributes 9.6 Creating a User Registration View and Template 9.7 Implementing Login Functionality 9.8 Restricting Access 9.9 Logging Out 9.10 Taking it Further 10. Cookies and Sessions 10. 1 Cookies, Cookies Everywhere! 10.2 Sessions and the stateless protocol 10.3 Setting up Sessions in Django 10.4 A Cookie Tasting Session 10.5 Client Side Cookies: A Site Counter Example 10. 6 Session data 10.7 Browser-Length and Persistent Sessions 10. 8 Clearing the Sessions database 10.9 Basic Considerations and Workflow 11. User Authentication with Diango-Registration-Redux 11.1 Setting up Diango Registration Redux 11. 2 Functionality and url mapping 1.3 Setting up the templates 12. Bootstrapping Rango 12. 1 The New Base template 12.2 Quick Style Change 12.3 USing Diango-Bootstrap-Toolkit 13. Bing Search 13.1 The Bing Search API 13. 2 Adding Search Functional 13.3 Putting Search into Rango 14. Making Rango Tango! Exercises 14.1 Track Page Clickthroughs 14.2 Searching Within a Category Page 14.3 Create and view Profile 15. Making Rango Tango! Hints 15.1 Track Page Clickthroughs 5.2 Searching Within a Category pa 15.3 Creating a UserProfile Instance 15.4 Viewing your Profile 15.5 Listing all Users 16. JQuery and diango 16.2 DOM Manipulation Exame go Project App 16.1 Including JQuery in Your Djar 17. AJAX in Diango with JQuery 17.1 AJAX based Functionality 17. 2 Add a Like Button 17.3 Adding Inline Category Suggestions 18. Automated Testing 18.1 Running Tests 18.2 Coverage Testing 19. Deploying Your Project 19.1 Creating a PythonAnywhere Account 19.2 The PythonAnywhere Web Interface 19.3 Creating a Virtual Environment 19.4 Setting up Your Web Application 19.5 Log Files 20. Final thoughts 20. 1 Acknowledgements Appendices Setting up your System Installing python Setting Up the PYTHONPATH Using setupoo I s and pip Virtual environments Ⅴ ersion control A Crash Course in unix-based command Using the Terminal Core Commands A Git Crash Course Why Use Version Control? How Git Works Setting up git Basic commands and workflow Recovering from Mistakes A CSS Crash course Including stylesheets Basic css selectors Element selectors Fonts Colours and backgrounds Containers block-Level and inline elements Basic positioning The Box Model Styling lists Styling Links The Cascade Additional Reading otes 1. Overview The aim of this book is to provide you with a practical guide to web development using Django and Python The book is designed primarily for students, providing a walkthrough of the steps involved in getting a wcb application up and running with django This book seeks to complement the official Diango Tutorials and many of the other excellent tutorials available online. By putting everything together in one place this book fills in many of the gaps in the official django documentation providing an example-based design driven approach to learning the Diango framework. Furthermore this book provides an introduction to many of the aspects required to master web application development(e.g. HTML, CSS, JavaScript, etc. 1.1 Why Work with this Book? This book will save you time. On many occasions weve seen clever students get stuck, spending hours trying to fight with django and other aspects of web devclopment more often than not the problem was usually because a key piece of information was not provided or something was not made clear. while the occasional blip might set you back 10-15 minutes, sometimes they can take hours to resolve. We've tried to remove as many of these hurdles as possible. This will mean you can get on with developing your application instead of stumbling along This book will lower the learning curve. Web application frameworks can save you a lot of hassle and lot of time. Well, that is if you know how to use them in the first place! Often the learning curve is steep This book tries to get you going -and going fast by explaining how all the pieces fit together This book will improve your workflow. Using web application frameworks requires you to pick up and run with a particular design pattcrn- so you only havc to fill in ccrtain picccs in ccrtain places. After working with many students, we heard lots of complaints about using web application frameworks specifically about how they take control away from them (i.e. inversion of control). To help you, weve created a number of workflows to focus your development process so that you can regain that sense of control and build your web application in a disciplined manner This book is not designed to be read. Whatever you do, do not read this book! It is a hands-on guide to building web applications in Django. Reading is not doing. To increase the value you gain from this experience, go through and develop the application When you code up the application, do not just cut and paste the code. Type it in, think about what it does, then read the explanations we have provided to describe what is going on. If you still do not understand, then check out the django documentation, go to Stack Overflow or other helpful websites and fill in this gap in your knowledge. If you are really stuck, get in touch with us, so that wc can improvc this resourcc-wc'vc alrcady had contributions from numerous other readers 1.2 What you will Learn In this book, we will be taking an exampled-based approach. The book will show you how to design a web application called Rango(see the Design Brief below). Along the way, we'l show you how to perform the following key tasks How to setup your development environment-including how to use the terminal, your virtual environment, the pip installer, how to work with Git, and more Setup a Django project and create a basic Django application Configure the Django project to serve static media and other media files Work with Django's Model-View-Template design pattern Create database models and use the obiect relational mapping ORM functionality provided by django Create forms that can utilise your database models to create dynamically generated webpages Use the user authentication services provided by django Incorporate external services into your Django application Include Cascading Styling Sheets(CSS)and Javascript within a web application Apply css to give your application a professional look and feel Work with cookies and sessions with Django Include more advanced functionality like AJAX into your application Deploy your application to a web server using PythonAnywhere At the end of cach chaptcr, wc havc included a number of cxcrciscs designed to push you harder and to see if you can apply what you have learned. The later chapters of the book provide a number of open development exercises along with coded solutions and explanations Exercises will be clearly delineated like this! In each chapter we have added a number of exercises to test your know ledge and skill You will need to complete these exercises as the subsequent chapters are dependent on them Don't worry if you get stuck, though, as you can always check out our solutions to all the exercises on our Gitllub repository 1.3 Technologies and Services Through the course of this book, we will used various technologies and external services including Python Pip package manager Diango Git · Github HTML Javascript JOur Twitter Bootstrap Bing search api via Azure Datamarket Python Anywhere We've selected these technologies and services as they are either fundamental to web development, and/ or enable us to provide examples on how to integrate your web application with css toolkits like Twitter Bootstrap, external services like those provided by Microsoft Azure and deploy your application quickly and easily with PythonAnywhere 【实例截图】
【核心代码】

标签:

实例下载地址

Tango With Django pdf 0分

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警