Wiley 978-0-470-13809-0 Datasheet

Browse online or download Datasheet for Software manuals Wiley 978-0-470-13809-0. Wiley Professional Python Frameworks: Web 2.0 Programming with Django and Turbogears User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 16
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Web 2.0, Python, and
Frameworks
You had me at “Hello.”
Renée Zellweger in Jerry Maguire
The authors know you. Or at least they know a few things about you. If you’ve grabbed this book
from your favorite online (or even brick-and-mortar) bookseller, chances are that you’re an accom-
plished Python developer, or you’re on your way to becoming one. You may well have created
web content using your Python skills, or perhaps you’ve written your share of web services
backed by Python code as a Common Gateway Interface (CGI) script. You may have just heard the
term “Web 2.0” or “AJAX,” or you may already be an accomplished user of one or many Web 2.0
sites and are wondering how to plug into the action as a developer. You may be aware of web
frameworks in other languages, such as Ruby on Rails (also referred to simply as Rails) or Google
Widget Toolkit (GWT), and you may even have experimented with one or more them. If you’ve
been unable to embrace any of these other frameworks, it may be because they have one annoying
aspect — they’re not Python. Actually, if you’ve worked with other frameworks, the fact that they
don’t follow the Python philosophy (they’re not Pythonic ) may be the least of your negative
impressions.
The good news is that now you don’t have to abandon the language that you love to get the
(admittedly significant) benefits of a comprehensive framework. The Python-based frameworks
covered in the chapters that follow are every bit as capable and fun to use as any other, and it
might be argued, perhaps even better in some ways. The Rails language, for example, demands a
certain adherence to convention that sometimes gets in the way of a coder’s freedom of expression.
GWT is essentially a Java-based page-element composer that enables you to bypass writing
ECMAScript directly, but lacks the design center for dynamic partial page replacement for which
the Python Turbogears framework is becoming renowned.
Page view 0
1 2 3 4 5 6 ... 15 16

Summary of Contents

Page 1 - Frameworks

Web 2.0, Python, and Frameworks You had me at “Hello.” — Renée Zellweger in Jerry Maguire The authors know you. Or at least the

Page 2 - The Starting Line

Part I: Introduction to Python Frameworks12 TurboGears accomplishes the few important goals that matter:❑ It enables separation of concerns, whic

Page 3

Chapter 1: Web 2.0, Python, and Frameworks13 Thus, a language that writes compact, dynamically typed code at a high level of abstraction is a big plus

Page 4

Part I: Introduction to Python Frameworks14that enables content-based applications to be constructed quickly. The TurboGears team has focused on the R

Page 5

Chapter 1: Web 2.0, Python, and Frameworks15 Design Patterns for Web 2.0 In the book Rich Internet Applications: AJAX and Beyond (Wil

Page 6

Part I: Introduction to Python Frameworks16bargain is that ultimately you, as a developer, will wind up expending more cycles when, after getting some

Page 7

Chapter 1: Web 2.0, Python, and Frameworks17 Consider the elder statesman of content-sharing applications, the blog, and its close rel-ative, the wiki

Page 9

Part I: Introduction to Python Frameworks4 The Starting Line The goal of this book is to help you discover a new methodology for designing, coding,

Page 10

Chapter 1: Web 2.0, Python, and Frameworks5the user’s experience of the application are tightly bound to the desktop, operating in general ignorance o

Page 11 - Comparing the Frameworks

Part I: Introduction to Python Frameworks6 Listing 1-1: Simple Python HTML page generator print(“Content-type: text/html”)page = “””<html> &l

Page 12 - Controller Invocation

Chapter 1: Web 2.0, Python, and Frameworks7 What changed the landscape forever was embedding a capability in the browser that enabled it to make an as

Page 13

Part I: Introduction to Python Frameworks8 Suddenly, word processors, spreadsheets, and calendar management are woven directly into the fabric of the

Page 14

Chapter 1: Web 2.0, Python, and Frameworks9Web 2.0 Capability DescriptionPlasticity and flexible recombinationWeb 2.0 applications (RIAs) can be remi

Page 15 - Summary

Part I: Introduction to Python Frameworks10Web 2.0 Capability DescriptionLeveraging industry-wide display standards (HTML, Flex, and JavaScript)This

Page 16

Chapter 1: Web 2.0, Python, and Frameworks11 This is often called metaprogramming , which refers to programming structures that operate on other pro-

Comments to this Manuals

No comments