Lightweight Django: [using REST, WebSockets & Backbone]
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing ; Köln [u.a.]
O'Reilly
2015
|
Ausgabe: | 1. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltstext Inhaltsverzeichnis |
Beschreibung: | XV, 226 S. Ill. |
ISBN: | 9781491945940 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV042233699 | ||
003 | DE-604 | ||
005 | 20150923 | ||
007 | t | ||
008 | 141210s2015 a||| |||| 00||| eng d | ||
016 | 7 | |a 1058024736 |2 DE-101 | |
020 | |a 9781491945940 |9 978-1-491-94594-0 | ||
035 | |a (OCoLC)915533137 | ||
035 | |a (DE-599)DNB1058024736 | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-11 | ||
084 | |a ST 252 |0 (DE-625)143627: |2 rvk | ||
084 | |a ST 253 |0 (DE-625)143628: |2 rvk | ||
100 | 1 | |a Elman, Julie M. |e Verfasser |0 (DE-588)1026495784 |4 aut | |
245 | 1 | 0 | |a Lightweight Django |b [using REST, WebSockets & Backbone] |c Julia Elman ; Mark Lavin |
250 | |a 1. ed. | ||
264 | 1 | |a Beijing ; Köln [u.a.] |b O'Reilly |c 2015 | |
300 | |a XV, 226 S. |b Ill. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Django |g Informatik |0 (DE-588)7858725-6 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Django |g Informatik |0 (DE-588)7858725-6 |D s |
689 | 0 | |5 DE-604 | |
700 | 1 | |a Lavin, Mark |e Verfasser |4 aut | |
856 | 4 | 2 | |m X:MVB |q text/html |u http://deposit.dnb.de/cgi-bin/dokserv?id=4768237&prov=M&dok%5Fvar=1&dok%5Fext=htm |3 Inhaltstext |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=027671953&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-027671953 |
Datensatz im Suchindex
_version_ | 1806329913856229376 |
---|---|
adam_text |
Titel: Lightweight Django
Autor: Elman, Julia
Jahr: 2015
Table of Contents Preface.vii Prerequisites. xiii 1. The World's Smallest Django Project.1 Hello Django 1 Creating the View 2 The URL Patterns 2 The Settings 3 Running the Example 4 Improvements 5 WSGI Application 6 Additional Configuration 7 Reusable Template 10 2. Stateless Web Application. 13 Why Stateless? 13 Reusable Apps Versus Composable Services 14 Placeholder Image Server 14 Views 16 URL Patterns 16 Placeholder View 17 Image Manipulation 18 Adding Caching 20 Creating the Home Page View 23 Adding Static and Template Settings 23 Home Page Template and CSS 24 Completed Project 26 iii
Building a Static Site Generator. .31 Creating Static Sites with Django 31 What Is Rapid Prototyping? 32 Initial Project Layout 32 File/Folder Scaffolding 32 Basic Settings 33 Page Rendering 35 Creating Our Base Templates 35 Static Page Generator 36 Basic Styling 39 Prototype Layouts and Navigation 41 Generating Static Content 46 Settings Configuration 46 Custom Management Command 47 Building a Single Page 49 Serving and Compressing Static Files 50 Hashing Our CSS and JavaScript Files 50 Compressing Our Static Files 51 Generating Dynamic Content • 54 Updating Our Templates 54 Adding Metadata 56 Building a REST API. . 61 Django and REST 61 Scrum Board Data Map 62 Initial Project Layout 63 Project Settings 64 No Django Admin? 66 Models 66 Designing the API 69 Sprint Endpoints 69 Task and User Endpoints 71 Connecting to the Router 74 Linking Resources 74 Testing Out the API 77 Using the Browsable API 77 Adding Filtering 81 Adding Validations 86 Using a Python Client 89 Next Steps 91 iv I Table of Contents
Client-Side Django with Backbone.js. . 93 Brief Overview of Backbone 94 Setting Up Your Project Files 95 JavaScript Dependencies 96 Organization of Your Backbone Application Files 98 Connecting Backbone to Django 100 Client-Side Backbone Routing 102 Creating a Basic Home Page View 102 Setting Up a Minimal Router 103 Using _.template from Underscore.js 104 Building User Authentication 107 Creating a Session Model 107 Creating a Login View 111 Generic Form View 117 Authenticating Routes 120 Creating a Header View 121 Single-Page Web Application. . 131 What Are Single-Page Web Applications? 131 Discovering the API 132 Fetching the API 132 Model Customizations 133 Collection Customizations 134 Building Our Home Page 135 Displaying the Current Sprints 135 Creating New Sprints 138 Sprint Detail Page 141 Rendering the Sprint 141 Routing the Sprint Detail 143 Using the Client State 144 Rendering the Tasks 146 AddTaskView 153 CRUD Tasks 156 Rendering Tasks Within a Sprint 156 Updating Tasks 160 Inline Edit Features 163 Real-Time Django. . 167 HTML5 Real-Time APIs 167 Websockets 168 Server-Sent Events 168 WebRTC 169 Table of Contents | v
Websockets with Tornado 169 Introduction to Tornado 170 Message Subscriptions 175 Client Communication 178 Minimal Example 179 Socket Wrapper 182 Client Connection 185 Sending Events from the Client 187 Handling Events from the Client 193 Updating Task State 195 Communication Between Django and Tornado. .199 199 201 203 204 204 208 212 214 217 223 Receiving Updates in Tornado Sending Updates from Django Handling Updates on the Client Server Improvements Robust Subscriptions Websocket Authentication Better Updates Secure Updates Final Websocket Server vi | Table of Contents |
any_adam_object | 1 |
author | Elman, Julie M. Lavin, Mark |
author_GND | (DE-588)1026495784 |
author_facet | Elman, Julie M. Lavin, Mark |
author_role | aut aut |
author_sort | Elman, Julie M. |
author_variant | j m e jm jme m l ml |
building | Verbundindex |
bvnumber | BV042233699 |
classification_rvk | ST 252 ST 253 |
ctrlnum | (OCoLC)915533137 (DE-599)DNB1058024736 |
discipline | Informatik |
edition | 1. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV042233699</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20150923</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">141210s2015 a||| |||| 00||| eng d</controlfield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">1058024736</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781491945940</subfield><subfield code="9">978-1-491-94594-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)915533137</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB1058024736</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-11</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 252</subfield><subfield code="0">(DE-625)143627:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 253</subfield><subfield code="0">(DE-625)143628:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Elman, Julie M.</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1026495784</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Lightweight Django</subfield><subfield code="b">[using REST, WebSockets & Backbone]</subfield><subfield code="c">Julia Elman ; Mark Lavin</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">1. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing ; Köln [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2015</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XV, 226 S.</subfield><subfield code="b">Ill.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Django</subfield><subfield code="g">Informatik</subfield><subfield code="0">(DE-588)7858725-6</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Django</subfield><subfield code="g">Informatik</subfield><subfield code="0">(DE-588)7858725-6</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="700" ind1="1" ind2=" "><subfield code="a">Lavin, Mark</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">X:MVB</subfield><subfield code="q">text/html</subfield><subfield code="u">http://deposit.dnb.de/cgi-bin/dokserv?id=4768237&prov=M&dok%5Fvar=1&dok%5Fext=htm</subfield><subfield code="3">Inhaltstext</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=027671953&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-027671953</subfield></datafield></record></collection> |
id | DE-604.BV042233699 |
illustrated | Illustrated |
indexdate | 2024-08-03T02:00:45Z |
institution | BVB |
isbn | 9781491945940 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-027671953 |
oclc_num | 915533137 |
open_access_boolean | |
owner | DE-11 |
owner_facet | DE-11 |
physical | XV, 226 S. Ill. |
publishDate | 2015 |
publishDateSearch | 2015 |
publishDateSort | 2015 |
publisher | O'Reilly |
record_format | marc |
spelling | Elman, Julie M. Verfasser (DE-588)1026495784 aut Lightweight Django [using REST, WebSockets & Backbone] Julia Elman ; Mark Lavin 1. ed. Beijing ; Köln [u.a.] O'Reilly 2015 XV, 226 S. Ill. txt rdacontent n rdamedia nc rdacarrier Django Informatik (DE-588)7858725-6 gnd rswk-swf Django Informatik (DE-588)7858725-6 s DE-604 Lavin, Mark Verfasser aut X:MVB text/html http://deposit.dnb.de/cgi-bin/dokserv?id=4768237&prov=M&dok%5Fvar=1&dok%5Fext=htm Inhaltstext HBZ Datenaustausch application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=027671953&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis |
spellingShingle | Elman, Julie M. Lavin, Mark Lightweight Django [using REST, WebSockets & Backbone] Django Informatik (DE-588)7858725-6 gnd |
subject_GND | (DE-588)7858725-6 |
title | Lightweight Django [using REST, WebSockets & Backbone] |
title_auth | Lightweight Django [using REST, WebSockets & Backbone] |
title_exact_search | Lightweight Django [using REST, WebSockets & Backbone] |
title_full | Lightweight Django [using REST, WebSockets & Backbone] Julia Elman ; Mark Lavin |
title_fullStr | Lightweight Django [using REST, WebSockets & Backbone] Julia Elman ; Mark Lavin |
title_full_unstemmed | Lightweight Django [using REST, WebSockets & Backbone] Julia Elman ; Mark Lavin |
title_short | Lightweight Django |
title_sort | lightweight django using rest websockets backbone |
title_sub | [using REST, WebSockets & Backbone] |
topic | Django Informatik (DE-588)7858725-6 gnd |
topic_facet | Django Informatik |
url | http://deposit.dnb.de/cgi-bin/dokserv?id=4768237&prov=M&dok%5Fvar=1&dok%5Fext=htm http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=027671953&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT elmanjuliem lightweightdjangousingrestwebsocketsbackbone AT lavinmark lightweightdjangousingrestwebsocketsbackbone |