Skip to content
You are not logged in |Login  
     
Limit search to available items
Record:   Prev Next
Resources
More Information
Bestseller
BestsellerE-book
Author Guardia, Carlos de la.

Title Grok 1.0 web development : create flexible, agile web applications by using the power of Grok--a Python web framework / Carlos de la Guardia.

Publication Info. Birmingham, U.K. : Packt Pub., [2010]
©2010

Item Status

Description 1 online resource (viii, 288 pages) : illustrations.
text file
Series From technologies to solutions
From technologies to solutions.
Note Includes index.
Summary "This book offers Python developers a comprehensive understanding of Grok and a look at its main features by way of developing and evolving a sample application from concept to deployment. You will learn how to use Grok to create web applications and how Grok offers you an agile and enjoyable development experience. By the end of the book, you will be able to design and develop a complete web application using Grok"--Resource description page.
Contents Cover; Copyright; Credits; Foreword; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Getting to Know Grok; Why Grok?; Distinguishing Grok concepts; The Zope Component Architecture; Object database; Object publishing and traversal; Other Grok features; Integrated security model; Easy use of existing Python libraries and modules; Static resources; Relational database access; Python Web Server Gateway Interface compatibility; How Grok compares to other web frameworks; PHP; Java frameworks; Ruby on Rails; Django; Pylons; Summary; Chapter 2: Getting Started with Grok.
Getting a C compilerInstalling Python; Installing Python on Unix/Linux; Installing Python on Mac OS X; Installing Python on Windows; EasyInstall and the Python Package Index (PyPI); Grok and the Python environment; Virtualenv; Installing Grok using grokproject; Creating our first project; Running the default application; What's inside a Grok project?; Overview of the application structure; Creating our first template; The Grok admin UI; Applications; Server control; Documentation; Summary; Chapter 3: Views; Grok views; Zope Page Templates (ZPT); The Template Attribute Language (TAL).
Expression typesInserting text; Repeating tags; Conditional elements; Variables; Special variables; Modifying HTML tag attributes; Inserting structure; Multiple statements in one tag; Macros and slots; Going beyond ZPT basics; The to-do list application; Handling form data; Adding static resources; Putting in some JavaScript flourish; Summary; Chapter 4: Models; Models and applications; Storing model data; The ZODB; Changing the title dynamically; The rules of persistence; Display logic and application logic; Separating display and application logic; Using containers and multiple models.
Adding containers to our applicationAdding behavior to the models; The TodoList model; Reorganizing the views; Introducing class annotations; Setting view names explicitly; Redirecting views; The Grok introspector; Summary; Chapter 5: Forms; A quick demonstration of automatic forms; Interfaces; Example of an interface; Interfaces in Grok; Schemas; Available schema attributes and field types; Form fields and widgets; Form components; Adding a project container at the root of the site; Form actions; Trying out the application; Filtering fields; Using grok. EditForm.
Modifying individual form fieldsForm validation; Customizing the form template; Summary; Chapter 6: The Catalog: An Object- Oriented Search Engine; Catalogs and indexes; Adding a simple search function to the application; Defining a simple index; Creating the search view; Creating a template to display the search results; A brief diversion: Structuring our application for search; Back to search: Using multiple indexes; Indexing different kinds of objects; The catalog admin UI; Types of indexes; Summary; Chapter 7: Security; Authentication and authorization; Principals, permissions, and roles.
Local Note eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - North America
Subject Zope (Computer file)
Zope (Computer file)
Zope (Computer file)
Zope (Computer file)
Zope (Computer file)
Python (Computer program language)
Python (Computer program language)
Object-oriented programming (Computer science)
Object-oriented programming (Computer science)
Web site development.
Web site development.
Genre/Form Electronic books.
Electronic books.
Other Form: Print version: Guardia, Carlos de la. Grok 1.0 web development. Birmingham, UK : Packt Pub., 2010 9781847197481 (OCoLC)619286522
ISBN 9781847197498 (electronic book)
1847197493 (electronic book)
1847197485
9781847197481
9781847197481