Posted
about 15 years
ago
by
Lennart Regebro: Plone consulting
Filed under:
|
Posted
about 15 years
ago
by
Fetchez le Python
---
|
Posted
about 15 years
ago
by
Weblog
is targeted at people working in education or in
other larger organizations. You are the webmaster responsible for one
or more websites of the organization. You are comfortable using Plone
daily, but there just never is time to do everything that
... [More]
is needed.
You want to delegate responsibilities to other users and wonder what
is the best way to do that. The website needs some extra
functionality and you would like to use an existing product for that;
but which one is the safe bet for the future? And the website looks a
bit outdated and could use some visual freshness. You have done a few
tweaks in the Zope Management Interface, but have also heard that this
is not the best way. So how
If you recognize yourself in that description, then this book is for
you. Hardened Plone programmers will not find much news here; still,
most chapters give info about how best to use some third party
products, like Plone4Artists Calendar and Faculty/Staff Directory. If you know what these products can do, you become a better
consultant; and you know when to pick one of these products off the shelf
instead of programming something totally new.
As the preface says, most chapters stand on their own. So the first
thing I did, was to take on chapter 7: Creating Forms Fast. This is
about PloneFormGen. My experience with PloneFormGen was mostly how to
add it in a buildout, as at we use this for quite a
lot of clients. I do not think I have ever actually used it myself.
So this looked like an interesting chapter to start with.
is well maintained by Steve McMahon, who was one of the
reviewers of this book, so you can be pretty sure the information in
this chapter is correct.
The chapter starts out by telling you to "install PloneFormGen by
adding to your buildout, as per usual." So
you are expected to know a bit about buildout already. Earlier
chapters may explain a bit more about this. The chapter then
continues with a few very practical steps to take in the css and
javascript registry when you want to support adding Rich Text or
Date/Time fields on forms. Good to know.
Erik then takes you through your first steps with PloneFormGen, adding
a FormFolder in the site and doing a bit of editing there. He
presents all form fields that you can add. He explains that you
should edit the default Mailer form action and set a recipient email
address there, otherwise form submission will fail. When you add a
Save Data Adapter, to store the submissions in the zodb, you get two
valuable tips. Always keep a mailer adapter as backup in case
something goes wrong and you lose the saved data; and do not remove or
reorder fields when the form is already live, as the saved data will
not get changed to fit.
The chapter gives a short recommendation on when to use PloneFormGen
and when to create an Archetypes content type. Then it ends with
giving you a taste of the flexibility of PloneFormGen. You can use it
to create online tests for your students. You can use it to create a
simple form (or a complex one if your organization needs that) as
front end for creating news items (or other content items).
I'll write another review with a look at the other chapters later. If
those chapters are similar to this one (and I have peeked already),
then this looks like a very practical book. It presents clear goals,
with step-by-step instructions to reach them, without magically
sounding jargon, and with some hard earned wisdom so you can step
around the common pitfalls. I think a lot of people could benefit
from this.
Disclaimer: I got this book for free from Packt Publishing in exchange
for a review; and ordering the book via one of the in this article
will land me some money. [Less]
|
Posted
about 15 years
ago
by
Zea Partners News
The Plone open source software community will hold the 3rd annual World Plone Day (WPD) on April 28, 2010. WPD is an day of events held around the globe to spread awareness of Plone, a free and open source Internet publishing system that combines web content management, social software, collaboration and enterprise portal features.
|
Posted
about 15 years
ago
by
Plone News
Abstract will host a Plone Symposium 2010 in Sorrento, Italy.
|
Posted
about 15 years
ago
by
Plone News
The Plone Foundation is pleased to announce that Mike Halm and Jens Vagelpohl have been awarded membership in the Plone Foundation.
|
Posted
about 15 years
ago
by
Martin Aspeli
|
Posted
about 15 years
ago
by
Netsight Blog
XHTML easy
Ensures that you close all elements and quote attributes
{% for name in row %}
{{name}}
{% endfor %}
Dummy data
Install ZPT (via the zope.pagetemplate package and its dependencies)
Create a template file
Render
... [More]
the template file using the data from your application
# virtualenv zptdemo
# cd zptdemo
# bin/easy_install zope.pagetemplate
Hello World
from zope.pagetemplate.pagetemplatefile \
import PageTemplateFile
my_pt = PageTemplateFile('mytemplate.pt')
context = {'rows': ['apple', 'banana', 'carrot'],
'foo':'bar'}
print my_pt.pt_render(namespace=context)
apple
banana
carrot
zope.pagetemplate
zope.i18nmessageid
zope.interface
zope.tal
zope.tales
class MainHandler(webapp.RequestHandler):
def get(self):
my_pt = PageTemplateFile('main.pt')
context = {'rows': ['apple', 'banana', 'carrot'],
'foo':'bar'}
self.response.out.write(my_pt.pt_render(namespace=context)) [Less]
|
Posted
about 15 years
ago
by
philiKON - a journal
|
Posted
about 15 years
ago
by
plope
A book about the 1.2 version of the repoze.bfg web framework has been published.
|