

Plone 3 Products Development Cookbook. 70 simple but incredibly effective recipes for creating your own feature rich, modern Plone add-on products by



Plone 3 Products Development Cookbook. 70 simple but incredibly effective recipes for creating your own feature rich, modern Plone add-on products by - Najlepsze oferty
Plone 3 Products Development Cookbook. 70 simple but incredibly effective recipes for creating your own feature rich, modern Plone add-on products by - Opis
The Plone Content Management System is one of the best open source CMS, because by using Plone's development framework you can extend its functionality according to the specific requirements of your website. The Plone framework has lots of components that can be used to create add-ons or extensions called Plone Products. You can optimize your site for improved usability, accessibility, and security by creating custom Plone products.This book covers recipes that will help you create custom Plone Products and implement them on your website. Every topic covered in this book is accompanied by essential fundamentals and step-by-step explanation that will help you understand it better. With the help of this book you will be able to create custom Plone products that are well suited for your website.You can read the whole book or just pick recipes relevant for you; cross references help you understand the recipes even if you do not read them in order.If you work through the book in order, you will start by setting up an example project of a news website that will be developed throughout the book. You will learn about all of the necessary tools a Plone developer must have before starting any project. You will develop the website further by detecting problems and debugging them. You will be able to modify code on-the-fly or get help on how to do some tasks by installing and using special tools such as IPython, ipdb, and PDBDebugMode. You will then create a new content type, based on an existing one, and wrap the final product into a Python egg.You will set up automated testing to (...) więcej prevent errors in code that have evolved in the development stage. You will use paster to automatically create a new custom content type from scratch. You will improve the performance of your application by creating lightweight content types and following other recipes covered in this book. Key features such as usability, internationalization, accessibility and security are covered to make sure that your development and customizations will be at the level of Plone core and its most remarkable add-on products.You will improve your user interface by creating simple client-side visual changes and server-side manipulation of objects. You will learn to create and manage portlets by using Portlet manager and customize your website by modifying third-party products. Finally you will learn to communicate with an external non-Python-based system and make your products available for future use. Spis treści:Plone 3 Products Development Cookbook
Table of Contents
Plone 3 Products Development Cookbook
Credits
About the Authors
About the Reviewers
Preface
What this book covers
Our Plone development project
A short note about the course of the book
Customer requirements
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Getting Started
Introduction
Installing Python on Linux
Getting ready
How to do it...
How it works
See also
Installing Plone on Linux
Getting ready
How to do it
How it works
See also
Installing Plone on Windows
How to do it
See also
Checking out code from a version controlsystem
How to do it
How it works
Theres more
Creating a Plone site
How to do it
How it works
Theres more
See also
2. Using Development Tools
Introduction
Changing debug mode parameter in configuration file
Running Zope instance in foreground mode
Accessing an IPython powered shell
How to do it
How it works
Theres more
See also
Taking advantage of an enhanced interactive Python debugger with ipdb
How to do it
How it works
Discovering Zope/Plone APIs and docstrings with DocFinderTab
How to do it
How it works
There's more
Opening an online Python shell on Plone using Clouseau
How to do it
There's more
Debugging Zope exceptions with PDBDebug Mode
How to do it
See also
Applying code changes on-the-fly using plone.reload
How to do it
How it works
There's more
3. Creating Content Types with ArchGenXML
Introduction
Installing ArchGenXML
Getting ready
How to do it
How it works
See also
Configuring ArgoUML
Getting ready
How to do it
How it works
There's more
Creating a model
Getting ready
How to do it
How it works
There's more
See also
Generating code
How to do it
There's more
See also
Customizing generated code
Getting ready
How to do it
How it works
See also
Installing the product
How to do it
How it works
Automatically installing products in your Zope instance
How to do it
How it works
There's more
See also
4. Prevent Bugs through Testing
Introduction
Glossary
Working with paster-generated test suites
Getting ready
How to do it...
How it works...
Unit test DocFileSuite
Running tests
Unit test DocTestSuite
Integration test ZopeDocFileSuite using PloneTestCase
Functional test
See also
Creating a test suite with ArchGenXML
Getting ready
How to do it...
How it works...
See also
Creating doctests with iPython
Getting ready
How to do it...
Zope functional testing
Getting ready
How to do it...
How it works...
Using Selenium functional tests
Getting ready
How to do it...
There's more...
Further reading
Installing Selenium RC and IDE
Organizing packages
Debugging tests
See also
5. Creating a Custom Content Type with Paster
Introduction
Creating an Archetypes product with paster
Getting ready
How to do it
How it works
There's more
See also
Adding a content type into a product
Getting ready
How to do it
How it works
There's more
See also
Changing the base class in paster content types
How to do it
How it works
There's more
See also
Adding fields to a content type
Getting started
How to do it
How it works
There's more
See also
Adding a custom validator to a content type
How to do it
How it works
There's more
See also
Modifying the view of a content type with jQuery
Getting ready
How to do it
How it works
There's more
See also
6. Creating Lightweight Content Types
Introduction
Creating a product package structure
Getting ready
How to do it...
How it works...
See also
Creating a folderish content type
Getting ready
How to do it...
How it works
See also
Creating the user interface for Zope 3 content types
Getting ready
How to do it
How it works
There's more...
See also
Creating content types with Dexterity
How to do it
How it works
See also
7. Improving Product Performance
Introduction
Installing CacheFu with a policy product
Getting ready
How to do it
How it works
There's more
See also
Improving performance by tweaking expensive code
Getting ready
How to do it
How it works
There's more
See also
Testing server load and benchmarking our code
Getting ready
How to do it
How it works
There's more
Bench configuration file
Running the bench
Further reading
See also
8. Internationalization
Introduction
Adding i18ndude support to ArchGenXML
How to do it
How it works
See also
Installing i18ndude standalone
How to do it
See also
Using i18ndude
Getting started
How to do it...
There's more
See also
Using Placeless Translation Services for i18n support
How to do it
See also
Using zope.i18n approach
How to do it...
How it works
There's more
See also
Overriding others' translations
How to do it
Using i18n with ArchGenXML
Getting ready
How to do it
How it works
There's more
Modifying an existing field's label
See also
Using i18n with paster-created products
Getting ready
How to do it
How it works
There's more
See also
Adding i18n support to any product
Getting ready
How to do it
How it works
There's more
See also
Translating content
Getting started
How to do it
How it works
There's more
See also
Setting language options
Getting ready
How to do it
There's more
See also
9. Adding Security to your Products
Introduction
Creating a new permission
Getting started
How to do it
How it works
There's more
See also
Adding a new role
Getting ready
How to do it...
How it works
There's more
Automatic roles
Local roles
See also
Adding user groups
How to do it
How it works
See also
Testing security customizations
How to do it
Protecting operations with permissions
How to do it
How it works
There's more
Adding security restrictions to Dexterity content types
Testing restricted operations
Checking paster and ArchGenXML permissions
See also
Managing security with workflows
How to do it
There's more
See also
Adding configuration options in Plone control panel
Getting ready
How to do it
How it works
There's more
See also
10. Improving User Interface with KSS
Introduction
Preparing a form to take full advantage of KSS
Getting started
How to do it
How it works
There's more
See also
Changing end user pages with client-side KSS
How to do it
How it works
Manipulating DOM elements on document load
Dynamically adding user interactions
There's more
See also
Submitting data via AJAX
How to do it
How it works
Replacing standard button's behavior
Server side KSS actions
There's more
See also
11. Creating Portlets
Introduction
Creating a portlet package
Getting ready
How to do it
How it works
Portlet component configuration file
Portlet module
GenericSetup import step
See also
Customizing a new portlet according to our requirements
How to do it
How it works
See also
Testing portlets
How to do it
How it works...
See also
Assigning portlets automatically
Getting ready
How to do it
How it works
There's more
Assigning portlets programmatically
Portlet managers
See also
12. Extending Third-Party Products
Introduction
Using skin layers
Getting ready
How to do it...
How it works...
There's more
See also
Overriding Zope 3 components
Getting ready
How to do it...
How it works...
There's more
See also
Customizing Zope 3 browser templates and files
Getting ready
How to do it...
How it works...
There's more
z3c.jbot and skin layers
Understanding browserlayer
See also
Subscribing to others' events
How to do it
How it works
See also
Using the ZCA to extend a third-party product: Collage
How to do it
How it works
There's more
See also
13. Interacting with other Systems: XML-RPC
Introduction
Creating a configuration form
Getting ready
How to do it
How it works
There's more
See also
Registering a local utility
How to do it
How it works
See also
Registering a global utility
Getting started
How to do it
How it works
There's more
Changing the look of the form
Named utilities
Installing OpenX
Further reading
14. Getting our Products ready for Production
Introduction
Installing and configuring an egg repository
Getting ready
How to do it
How it works
There's more
See also
Submitting products to an egg repository
Getting ready
How to do it
How it works
There's more
Changing the package version number
An alternative method to submit your package
See also
Writing a production buildout
Getting ready
How to do it
How it works
There's more
Configuring a web server
Using or not using buildout.cfg
Production buildouts for Windows
See also
A. Creating a Policy Product
Creating a policy product
How to do it...
How it works...
There's more
See also
Index mniej
Plone 3 Products Development Cookbook. 70 simple but incredibly effective recipes for creating your own feature rich, modern Plone add-on products by - Opinie i recenzje
Na liście znajdują się opinie, które zostały zweryfikowane (potwierdzone zakupem) i oznaczone są one zielonym znakiem Zaufanych Opinii. Opinie niezweryfikowane nie posiadają wskazanego oznaczenia.