Lightweight Django

Author: Julia Elman,Mark Lavin

Publisher: "O'Reilly Media, Inc."

ISBN: 149194630X

Category: Computers

Page: 246

View: 9190

How can you take advantage of the Django framework to integrate complex client-side interactions and real-time features into your web applications? Through a series of rapid application development projects, this hands-on book shows experienced Django developers how to include REST APIs, WebSockets, and client-side MVC frameworks such as Backbone.js into new or existing projects. Learn how to make the most of Django’s decoupled design by choosing the components you need to build the lightweight applications you want. Once you finish this book, you’ll know how to build single-page applications that respond to interactions in real time. If you’re familiar with Python and JavaScript, you’re good to go. Learn a lightweight approach for starting a new Django project Break reusable applications into smaller services that communicate with one another Create a static, rapid prototyping site as a scaffold for websites and applications Build a REST API with django-rest-framework Learn how to use Django with the Backbone.js MVC framework Create a single-page web application on top of your REST API Integrate real-time features with WebSockets and the Tornado networking library Use the book’s code-driven examples in your own projects

Practical Django Projects

Author: James Bennett

Publisher: Apress

ISBN: 1430219394

Category: Computers

Page: 272

View: 9454

Build a Django content management system, blog, and social networking site with James Bennett as he introduces version 1.1 of the popular Django framework. You'll work through the development of each project, implementing and running the applications while learning new features along the way. Web frameworks are playing a major role in the creation of today's most compelling web applications, because they automate many of the tedious tasks, allowing developers to instead focus on providing users with creative and powerful features. Python developers have been particularly fortunate in this area, having been able to take advantage of Django, a very popular open-source web framework whose stated goal is to "make it easier to build better web applications more quickly with less code." Practical Django Projects introduces this popular framework by way of a series of real–world projects. Readers follow along with the development of each project, implementing and running each application while learning new features along the way. This edition is updated for Django 1.1 and includes an all-new chapter covering practical development tools and techniques you'll be able to apply to your own development workflow.

Django Design Patterns and Best Practices

Industry-standard web development techniques and solutions using Python, 2nd Edition

Author: Arun Ravindran

Publisher: Packt Publishing Ltd

ISBN: 1788834976

Category: Computers

Page: 282

View: 4942

Build maintainable websites with elegant Django design patterns and modern best practices Key Features Explore aspects of Django from Models and Views to testing and deployment Understand the nuances of web development such as browser attack and data design Walk through various asynchronous tools such as Celery and Channels Book Description Building secure and maintainable web applications requires comprehensive knowledge. The second edition of this book not only sheds light on Django, but also encapsulates years of experience in the form of design patterns and best practices. Rather than sticking to GoF design patterns, the book looks at higher-level patterns. Using the latest version of Django and Python, you’ll learn about Channels and asyncio while building a solid conceptual background. The book compares design choices to help you make everyday decisions faster in a rapidly changing environment. You’ll first learn about various architectural patterns, many of which are used to build Django. You’ll start with building a fun superhero project by gathering the requirements, creating mockups, and setting up the project. Through project-guided examples, you’ll explore the Model, View, templates, workflows, and code reusability techniques. In addition to this, you’ll learn practical Python coding techniques in Django that’ll enable you to tackle problems related to complex topics such as legacy coding, data modeling, and code reusability. You’ll discover API design principles and best practices, and understand the need for asynchronous workflows. During this journey, you’ll study popular Python code testing techniques in Django, various web security threats and their countermeasures, and the monitoring and performance of your application. What you will learn Make use of common design patterns to help you write better code Implement best practices and idioms in this rapidly evolving framework Deal with legacy code and debugging Use asynchronous tools such as Celery, Channels, and asyncio Use patterns while designing API interfaces with the Django REST Framework Reduce the maintenance burden with well-tested, cleaner code Host, deploy, and secure your Django projects Who this book is for This book is for you whether you’re new to Django or just want to learn its best practices. You do not have to be an expert in Django or Python. No prior knowledge of patterns is expected for reading this book but it would be helpful.

Hands-On Django

Going Beyond the Polls

Author: Brandon Lorenz

Publisher: O'Reilly Media

ISBN: 9781449367817

Category: Computers

Page: 300

View: 6846

Ready to jump into web application development? This practical guide shows you how to build high-performing, elegant applications quickly—with less code—using the Django open source framework. If you know the basics of Python, HTML, CSS, and JavaScript, you’ll work through a series of projects hands-on, from simple websites to more complex applications, including deployment to a server. Companies around the world, such as Instagram and Pinterest, use Django for powerful web applications that they can quickly modify through rapid development, pluggable components, and clean, pragmatic design. This book covers class-based views, basic and advanced forms, application modularity, API architecture, user authentication and authorization, best development practices, and code version control.

Pro Django

Author: Marty Alchin

Publisher: Apress

ISBN: 1430258101

Category: Computers

Page: 300

View: 1866

Learn how to leverage Django, the leading Python web application development framework, to its full potential in this advanced tutorial and reference. Updated for Django 1.5 and Python 3, Pro Django, Second Edition examines in great detail the complex problems that Python web application developers can face and how to solve them. It provides in–depth information about advanced tools and techniques available in every Django installation, running the gamut from the theory of Django’s internal operations to actual code that solves real–world problems for high–volume environments. Pro Django, Second Edition goes above and beyond other books, leaving the basics far behind and showing how Django can do things even its core developers never expected. By drawing on the dynamic nature of Python, you can write Django applications that stretch the limits of what you thought possible!

Django Unleashed

Author: Andrew Pinkham

Publisher: Sams Publishing

ISBN: 0133812391

Category: Computers

Page: 840

View: 2882

Django is an amazingly powerful system for creating modern, dynamic websites. But programming Django hasn’t always been easy—until now. Django Unleashed is your step-by-step, beginner-friendly guide to leveraging Django’s core capabilities and its powerful contributed library. You’ll learn in the most effective way possible: hands on, by building a fully functional Django website from scratch. You’ll even deploy the website to the cloud. As you build your website, expert Django consultant and trainer Andrew Pinkham reveals how websites operate; how Django makes building websites easy; how to write Python code that leverages its immense capabilities; and how to build solutions that are robust, reliable, and secure. You’ll start simply and learn to solve increasingly challenging problems: mastering new features and understanding how Django’s architecture shapes their behavior, and gaining essential knowledge for working with any web framework, not just Django.

Two Scoops of Django 1.11

Best Practices for the Django Web Framework

Author: Daniel Roy Greenfeld

Publisher: N.A

ISBN: 9780692915721

Category: Computer programming

Page: 519

View: 559

"Django is a high-level Python web framework that encourages the rapid development of maintainable applications. Two scoops of Django introduces you to various tips, tricks, patterns, code snippets, and techniques . . ."--Page 4 of cover.

Beautiful Data

The Stories Behind Elegant Data Solutions

Author: Toby Segaran,Jeff Hammerbacher

Publisher: "O'Reilly Media, Inc."

ISBN: 144937929X

Category: Computers

Page: 386

View: 7854

In this insightful book, you'll learn from the best data practitioners in the field just how wide-ranging -- and beautiful -- working with data can be. Join 39 contributors as they explain how they developed simple and elegant solutions on projects ranging from the Mars lander to a Radiohead video. With Beautiful Data, you will: Explore the opportunities and challenges involved in working with the vast number of datasets made available by the Web Learn how to visualize trends in urban crime, using maps and data mashups Discover the challenges of designing a data processing system that works within the constraints of space travel Learn how crowdsourcing and transparency have combined to advance the state of drug research Understand how new data can automatically trigger alerts when it matches or overlaps pre-existing data Learn about the massive infrastructure required to create, capture, and process DNA data That's only small sample of what you'll find in Beautiful Data. For anyone who handles data, this is a truly fascinating book. Contributors include: Nathan Yau Jonathan Follett and Matt Holm J.M. Hughes Raghu Ramakrishnan, Brian Cooper, and Utkarsh Srivastava Jeff Hammerbacher Jason Dykes and Jo Wood Jeff Jonas and Lisa Sokol Jud Valeski Alon Halevy and Jayant Madhavan Aaron Koblin with Valdean Klump Michal Migurski Jeff Heer Coco Krumme Peter Norvig Matt Wood and Ben Blackburne Jean-Claude Bradley, Rajarshi Guha, Andrew Lang, Pierre Lindenbaum, Cameron Neylon, Antony Williams, and Egon Willighagen Lukas Biewald and Brendan O'Connor Hadley Wickham, Deborah Swayne, and David Poole Andrew Gelman, Jonathan P. Kastellec, and Yair Ghitza Toby Segaran

JavaScript: Novice to Ninja

Author: Darren Jones

Publisher: SitePoint

ISBN: 1492064238

Category: Computers

Page: 666

View: 2995

JavaScript is a must-have skill for all web developers. JavaScript: Novice to Ninja is a fun, practical, and comprehensive guide to the modern usage of this deceptively powerful language. Comprehensively updated to cover ECMAScript 6 and modern JavaScript development, the second edition of this step-by-step introduction to coding in JavaScript will show you how to to solve real-world problems, design eye-catching animations, build smarter forms, and develop richer applications. Learn the basics of JavaScript programming: functions, methods, properties, loops and logic Use events to track user interactions Build smarter web forms that improve the user experience Work with the document object model (DOM) and Ajax to dynamicall update your pages Add functionality to your apps using HTML5's powerful APIs Use Test Driven Development methodology to write more robust code Build a complete, working JavaScript quiz app from scratch

The Definitive Guide to Django

Web Development Done Right

Author: Adrian Holovaty,Jacob Kaplan-Moss

Publisher: Apress

ISBN: 9781430219361

Category: Computers

Page: 536

View: 9137

This latest edition of The Definitive Guide to Django is updated for Django 1.1, and, with the forward–compatibility guarantee that Django now provides, should serve as the ultimate tutorial and reference for this popular framework for years to come. Django, the Python–based equivalent to Ruby’s Rails web development framework, is one of the hottest topics in web development today. Lead developer Jacob Kaplan–Moss and Django creator Adrian Holovaty show you how they use this framework to create award–winning web sites by guiding you through the creation of a web application reminiscent of ChicagoCrime.org. The Definitive Guide to Django is broken into three parts, with the first introducing Django fundamentals such as installation and configuration, and creating the components that together power a Django–driven web site. The second part delves into the more sophisticated features of Django, including outputting non–HTML content such as RSS feeds and PDFs, caching, and user management. The appendixes serve as a detailed reference to Django’s many configuration options and commands. What you’ll learn The first half of this book explains in depth how to build web applications using Django including the basics of dynamic web pages, the Django templating system interacting with databases, and web forms. The second half of this book discusses higher-level concepts such as caching, security, and how to deploy Django. The appendixes form a reference for the commands and configurations available in Django. Who this book is for Anyone who wants to use the powerful Django framework to build dynamic web sites quickly and easily. Table of Contents Introduction to Django Getting Started Views and URLconfs Templates Models The Django Admin Site Forms Advanced Views and URLconfs Advanced Templates Advanced Models Generic Views Deploying Django Generating Non-HTML Content Sessions, Users, and Registration Caching django.contrib Middleware Integrating with Legacy Databases and Applications Internationalization Security

Getting Started with p5.js

Making Interactive Graphics in JavaScript and Processing

Author: Lauren McCarthy,Casey Reas,Ben Fry

Publisher: Maker Media, Inc.

ISBN: 145718673X

Category: Computers

Page: 246

View: 1253

With p5.js, you can think of your entire Web browser as your canvas for sketching with code! Learn programming the fun way--by sketching with interactive computer graphics! Getting Started with p5.js contains techniques that can be applied to creating games, animations, and interfaces. p5.js is a new interpretation of Processing written in JavaScript that makes it easy to interact with HTML5 objects, including text, input, video, webcam, and sound. Like its older sibling Processing, p5.js makes coding accessible for artists, designers, educators, and beginners. Written by the lead p5.js developer and the founders of Processing, this book provides an introduction to the creative possibilities of today's Web, using JavaScript and HTML. With Getting Started with p5.js, you'll: Quickly learn programming basics, from variables to objects Understand the fundamentals of computer graphics Create interactive graphics with easy-to-follow projects Learn to apply data visualization techniques Capture and manipulate webcam audio and video feeds in the browser

Web Development with Django Cookbook

Author: Aidas Bendoraitis

Publisher: Packt Publishing Ltd

ISBN: 1783286903

Category: Computers

Page: 294

View: 573

If you have created websites with Django, but you want to sharpen your knowledge and learn some good approaches for how to treat different aspects of web development, you should definitely read this book. It is intended for intermediate and professional Django users who need to build projects which must be multilingual, functional on devices of different screen sizes, and which scale over time.

Professional NoSQL

Author: Shashank Tiwari

Publisher: John Wiley & Sons

ISBN: 1118167805

Category: Computers

Page: 408

View: 683

A hands-on guide to leveraging NoSQL databases NoSQL databases are an efficient and powerful tool for storing and manipulating vast quantities of data. Most NoSQL databases scale well as data grows. In addition, they are often malleable and flexible enough to accommodate semi-structured and sparse data sets. This comprehensive hands-on guide presents fundamental concepts and practical solutions for getting you ready to use NoSQL databases. Expert author Shashank Tiwari begins with a helpful introduction on the subject of NoSQL, explains its characteristics and typical uses, and looks at where it fits in the application stack. Unique insights help you choose which NoSQL solutions are best for solving your specific data storage needs. Professional NoSQL: Demystifies the concepts that relate to NoSQL databases, including column-family oriented stores, key/value databases, and document databases. Delves into installing and configuring a number of NoSQL products and the Hadoop family of products. Explains ways of storing, accessing, and querying data in NoSQL databases through examples that use MongoDB, HBase, Cassandra, Redis, CouchDB, Google App Engine Datastore and more. Looks at architecture and internals. Provides guidelines for optimal usage, performance tuning, and scalable configurations. Presents a number of tools and utilities relating to NoSQL, distributed platforms, and scalable processing, including Hive, Pig, RRDtool, Nagios, and more.

Web Operations

Keeping the Data On Time

Author: John Allspaw,Jesse Robbins

Publisher: "O'Reilly Media, Inc."

ISBN: 1449394159

Category: Computers

Page: 338

View: 7130

A web application involves many specialists, but it takes people in web ops to ensure that everything works together throughout an application's lifetime. It's the expertise you need when your start-up gets an unexpected spike in web traffic, or when a new feature causes your mature application to fail. In this collection of essays and interviews, web veterans such as Theo Schlossnagle, Baron Schwartz, and Alistair Croll offer insights into this evolving field. You'll learn stories from the trenches--from builders of some of the biggest sites on the Web--on what's necessary to help a site thrive. Learn the skills needed in web operations, and why they're gained through experience rather than schooling Understand why it's important to gather metrics from both your application and infrastructure Consider common approaches to database architectures and the pitfalls that come with increasing scale Learn how to handle the human side of outages and degradations Find out how one company avoided disaster after a huge traffic deluge Discover what went wrong after a problem occurs, and how to prevent it from happening again Contributors include: John Allspaw Heather Champ Michael Christian Richard Cook Alistair Croll Patrick Debois Eric Florenzano Paul Hammond Justin Huff Adam Jacob Jacob Loomis Matt Massie Brian Moon Anoop Nagwani Sean Power Eric Ries Theo Schlossnagle Baron Schwartz Andrew Shafer

Advanced Content Delivery, Streaming, and Cloud Services

Author: Mukaddim Pathan,Ramesh K. Sitaraman,Dom Robinson

Publisher: John Wiley & Sons

ISBN: 111890964X

Category: Technology & Engineering

Page: 504

View: 8808

While other books on the market provide limited coverage of advanced CDNs and streaming technologies, concentrating solely on the fundamentals, this book provides an up-to-date comprehensive coverage of the state-of-the-art advancements in CDNs, with a special focus on Cloud-based CDNs. The book includes CDN and media streaming basics, performance models, practical applications, and business analysis. It features industry case studies, CDN applications, and open research issues to aid practitioners and researchers, and a market analysis to provide a reference point for commercial entities. The book covers Adaptive Bitrate Streaming (ABR), Content Delivery Cloud (CDC), Web Acceleration, Front End Optimization (FEO), Transparent Caching, Next Generation CDNs, CDN Business Intelligence and more. • Provides an in-depth look at Cloud-based CDNs • Includes CDN and streaming media basics and tutorials • Aimed to instruct systems architects, practitioners, product developers, and researchers • Material is divided into introductory subjects, advanced content, and specialist areas

Building Web Applications with Erlang

Working with REST and Web Sockets on Yaws

Author: Zachary Kessin

Publisher: "O'Reilly Media, Inc."

ISBN: 1449309968

Category: Computers

Page: 133

View: 5296

"Working with REST and Web-Sockets on Yaws"--Cover.

JavaScript: The Good Parts

The Good Parts

Author: Douglas Crockford

Publisher: "O'Reilly Media, Inc."

ISBN: 0596554877

Category: Computers

Page: 172

View: 3937

Most programming languages contain good and bad parts, but JavaScript has more than its share of the bad, having been developed and released in a hurry before it could be refined. This authoritative book scrapes away these bad features to reveal a subset of JavaScript that's more reliable, readable, and maintainable than the language as a whole—a subset you can use to create truly extensible and efficient code. Considered the JavaScript expert by many people in the development community, author Douglas Crockford identifies the abundance of good ideas that make JavaScript an outstanding object-oriented programming language-ideas such as functions, loose typing, dynamic objects, and an expressive object literal notation. Unfortunately, these good ideas are mixed in with bad and downright awful ideas, like a programming model based on global variables. When Java applets failed, JavaScript became the language of the Web by default, making its popularity almost completely independent of its qualities as a programming language. In JavaScript: The Good Parts, Crockford finally digs through the steaming pile of good intentions and blunders to give you a detailed look at all the genuinely elegant parts of JavaScript, including: Syntax Objects Functions Inheritance Arrays Regular expressions Methods Style Beautiful features The real beauty? As you move ahead with the subset of JavaScript that this book presents, you'll also sidestep the need to unlearn all the bad parts. Of course, if you want to find out more about the bad parts and how to use them badly, simply consult any other JavaScript book. With JavaScript: The Good Parts, you'll discover a beautiful, elegant, lightweight and highly expressive language that lets you create effective code, whether you're managing object libraries or just trying to get Ajax to run fast. If you develop sites or applications for the Web, this book is an absolute must.

Building Web Apps with Ember.js

Author: Jesse Cravens,Thomas Q Brady

Publisher: "O'Reilly Media, Inc."

ISBN: 144937090X

Category: Computers

Page: 188

View: 1434

If you’re a web developer interested in building scalable single-page applications—full-stack, browser-based apps that connect to a backend—this practical guide shows you how to use Ember.js, the popular JavaScript framework based on the model-view-controller (MVC) architectural pattern. Through the course of the book, you’ll learn how to build a prototype Ember application (a musician index called Rock’n’Roll Call), using routers, templates, models, controllers, and views. You’ll also understand how Ember’s convention over configuration approach helps you persist data, build backend technologies, and create widgets for developing production-capable applications that behave like desktop software. Set up workflow management and boilerplate code creation Learn how Ember’s “developer ergonomics” help you use less code Write templates for the book’s prototype with Handlebars.js Use routers to manage application states without reloading the page Connect controllers and views with events, and sync data with data-binding Build an Ember backend with a RESTful API or Ruby on Rails Use the Ember-Data library to persist data and talk to the backend Write reusable encapsulated widgets to extend your applications

Foundations of Python Network Programming

Author: Brandon Rhodes,John Goerzen

Publisher: Apress

ISBN: 1430258551

Category: Computers

Page: 388

View: 8975

Foundations of Python Network Programming, Third Edition, covers all of the classic topics found in the second edition of this book, including network protocols, network data and errors, email, server architecture, and HTTP and web applications, plus updates for Python 3. Some of the new topics in this edition include: • Extensive coverage of the updated SSL support in Python 3 • How to write your own asynchronous I/O loop. • An overview of the "asyncio" framework that comes with Python 3.4. • How the Flask web framework connects URLs to your Python code. • How cross-site scripting and cross-site request forgery can be used to attack your web site, and how to protect against them. • How a full-stack web framework like Django can automate the round trip from your database to the screen and back. If you're a Python programmer who needs a deep understanding of how to use Python for network-related tasks and applications, this is the book for you. From web application developers, to systems integrators, to system administrators—this book has everything that you need to know.

Introduction to Tornado

Author: Michael Dory,Adam Parrish,Brendan Berg

Publisher: "O'Reilly Media, Inc."

ISBN: 1449309070

Category: Computers

Page: 121

View: 4210

Discusses how to use the Tornado server to create powerful web applications, covering how to modify templates, use persistent storage, secure applications from vulnerabilities, and authenticate applications with external services.