Discussion:
[Plone-docs] Developer manual "tutorials" section?
Dylan Jay
2011-02-16 07:47:54 UTC
Permalink
Hi,

Is it just me or does the "tutorials" section of the community
developer manual feel out of place?

Shouldn't ArchGenXML be filled under Content management > Archetypes?
and Buildout tutorial be put under a new section like "Configuring
plone"?

Anyone have any problem if I make those changes?

---
Dylan Jay
Technical Solutions Manager
PretaWeb: reducing duplication in the government web.
P: +612 80819071 | M: +61421477460 | twitter.com/djay75 | linkedin.com/
in/djay75
Clayton Parker
2011-02-16 19:09:49 UTC
Permalink
Post by Dylan Jay
Is it just me or does the "tutorials" section of the community
developer manual feel out of place?
Shouldn't ArchGenXML be filled under Content management > Archetypes?
and Buildout tutorial be put under a new section like "Configuring
plone"?
Anyone have any problem if I make those changes?
If you do this, make sure there are proper redirects in place from the old location.

Clayton
--
Six Feet Up, Inc. | Where sophisticated web projects thrive
Direct Line: +1 (317) 861-5948 x603
Email: ***@sixfeetup.com
Try Plone 4 Today at: http://plone4demo.com
Dylan Jay
2011-02-16 22:51:01 UTC
Permalink
Post by Clayton Parker
Post by Dylan Jay
Is it just me or does the "tutorials" section of the community
developer manual feel out of place?
Shouldn't ArchGenXML be filled under Content management > Archetypes?
and Buildout tutorial be put under a new section like "Configuring
plone"?
Anyone have any problem if I make those changes?
If you do this, make sure there are proper redirects in place from the old location.
I've been thinking hard on how to do this but no answers yet.
For those not aware the community manual on plone.org is actually the
result of a conversion process from svn -> sphinx -> funnelweb ->
plone. The information on where items used to be isn't available to
sphinx from svn so it's not possible automate this yet so any renaming
in svn won't result in redirects in plone :( Unless someone can think
of a clever way to get svn to produce a list of previous paths for
each piece of content.
The only solution would be to manually reproduce the moves in plone
first and then reupload the content overtop.
Post by Clayton Parker
Clayton
--
Six Feet Up, Inc. | Where sophisticated web projects thrive
Direct Line: +1 (317) 861-5948 x603
Try Plone 4 Today at: http://plone4demo.com
Mikko Ohtamaa
2011-02-17 11:06:20 UTC
Permalink
Post by Dylan Jay
Post by Dylan Jay
Is it just me or does the "tutorials" section of the community
developer manual feel out of place?
It is no planned very well, so putting things to proper places is maybe a
topic for upcoming sprints.

I'd suggest the section is renamed to "Tools, technologies and processes".
Post by Dylan Jay
I've been thinking hard on how to do this but no answers yet.
For those not aware the community manual on plone.org is actually the
result of a conversion process from svn -> sphinx -> funnelweb ->
plone. The information on where items used to be isn't available to
sphinx from svn so it's not possible automate this yet so any renaming
in svn won't result in redirects in plone :( Unless someone can think
of a clever way to get svn to produce a list of previous paths for
each piece of content.
The only solution would be to manually reproduce the moves in plone
first and then reupload the content overtop.
The conversion process is already little fragile, so I suggest let's not try
to make it more complicate and we'll just rely on Plone's automatic "Page
not found - suggestions" feature :)


-----

http://twitter.com/moo9000 Follow me in Twitter



mFabrik News – download now for iPhone and Android



http://bit.ly/mfabrikitunessignaturemoo
Loading Image...


http://bit.ly/mfabrikandroidsignaturemoo
Loading Image...
--
View this message in context: http://plone.293351.n2.nabble.com/Developer-manual-tutorials-section-tp6030918p6035464.html
Sent from the Documentation Team mailing list archive at Nabble.com.
Raphael Ritz
2011-02-17 11:31:07 UTC
Permalink
On 2/17/11 12:06 PM, Mikko Ohtamaa wrote:

[..]
Post by Mikko Ohtamaa
Post by Dylan Jay
I've been thinking hard on how to do this but no answers yet.
For those not aware the community manual on plone.org is actually the
result of a conversion process from svn -> sphinx -> funnelweb ->
plone. The information on where items used to be isn't available to
sphinx from svn so it's not possible automate this yet so any renaming
in svn won't result in redirects in plone :( Unless someone can think
of a clever way to get svn to produce a list of previous paths for
each piece of content.
The only solution would be to manually reproduce the moves in plone
first and then reupload the content overtop.
The conversion process is already little fragile, so I suggest let's not try
to make it more complicate and we'll just rely on Plone's automatic "Page
not found - suggestions" feature :)
If the change consists of "only" moving some subtree to a different
location (without changing the structure within the tree) you can
maintain the old links by defining a Python Script (TTW in ZMI in
the parent folder of the moved one) like so:

base = container.absolute_url()
subpath = '/'.join(traverse_subpath)
url = base + <relative path to new location> + subpath
context.REQUEST.RESPONSE.redirect(url)

The script needs to have the same id as the folder that
moved elsewhere. Guess you get the idea.
More of a hack or work-around but functional.

Raphael
Post by Mikko Ohtamaa
-----
http://twitter.com/moo9000 Follow me in Twitter
mFabrik News&ndash; download now for iPhone and Android
http://bit.ly/mfabrikitunessignaturemoo
http://blog.mfabrik.com/wp-content/uploads/2011/01/iPhoneFooter.png
http://bit.ly/mfabrikandroidsignaturemoo
http://blog.mfabrik.com/wp-content/uploads/2011/01/AndroidFooter.png
Dylan Jay
2011-02-17 13:07:12 UTC
Permalink
Post by Raphael Ritz
[..]
Post by Mikko Ohtamaa
Post by Dylan Jay
I've been thinking hard on how to do this but no answers yet.
For those not aware the community manual on plone.org is actually the
result of a conversion process from svn -> sphinx -> funnelweb ->
plone. The information on where items used to be isn't available to
sphinx from svn so it's not possible automate this yet so any renaming
in svn won't result in redirects in plone :( Unless someone can think
of a clever way to get svn to produce a list of previous paths for
each piece of content.
The only solution would be to manually reproduce the moves in plone
first and then reupload the content overtop.
The conversion process is already little fragile, so I suggest let's not try
to make it more complicate and we'll just rely on Plone's automatic "Page
not found - suggestions" feature :)
If the change consists of "only" moving some subtree to a different
location (without changing the structure within the tree) you can
maintain the old links by defining a Python Script (TTW in ZMI in
base = container.absolute_url()
subpath = '/'.join(traverse_subpath)
url = base + <relative path to new location> + subpath
context.REQUEST.RESPONSE.redirect(url)
The script needs to have the same id as the folder that
moved elsewhere. Guess you get the idea.
More of a hack or work-around but functional.
Interesting hack but unfortunately the problem isn't how to get it to
redirect (that's already taken care of) but knowing what to redirect
from.

I did have on idea on this. If there was a convention of putting a
small section on the bottom of each sphinx page which listed the
"previous" paths that page was available at. We could then create a
transmogrifier blueprint which extracted those paths and that could be
used by transmogrify.ploneremote to set the plone redirector
Dylan Jay
2011-02-17 13:38:27 UTC
Permalink
Post by Mikko Ohtamaa
Post by Dylan Jay
Post by Dylan Jay
Is it just me or does the "tutorials" section of the community
developer manual feel out of place?
It is no planned very well, so putting things to proper places is maybe a
topic for upcoming sprints.
fair enough. Along with merging the two manuals + deleting any KB
articles with content already covered in the manual.
Post by Mikko Ohtamaa
I'd suggest the section is renamed to "Tools, technologies and
processes".
Isn't the whole document about tools, technologies and processes?
Are you trying to say that things like ArchGenXML and buildout are
external to Plone so should be in it's own section?
If so I disagree. I think it's more helpful to organise things by how
it helps the developers. ArchGenXML helps you create content types.
Buildout helps you configure plone. Paster is about creating plugins/
packages.
Post by Mikko Ohtamaa
Post by Dylan Jay
I've been thinking hard on how to do this but no answers yet.
For those not aware the community manual on plone.org is actually the
result of a conversion process from svn -> sphinx -> funnelweb ->
plone. The information on where items used to be isn't available to
sphinx from svn so it's not possible automate this yet so any
renaming
in svn won't result in redirects in plone :( Unless someone can think
of a clever way to get svn to produce a list of previous paths for
each piece of content.
The only solution would be to manually reproduce the moves in plone
first and then reupload the content overtop.
The conversion process is already little fragile, so I suggest let's not try
to make it more complicate and we'll just rely on Plone's automatic "Page
not found - suggestions" feature :)
Tell me what's going wrong and I'll fix it.
Post by Mikko Ohtamaa
-----
http://twitter.com/moo9000 Follow me in Twitter
mFabrik News &ndash; download now for iPhone and Android
http://bit.ly/mfabrikitunessignaturemoo
http://blog.mfabrik.com/wp-content/uploads/2011/01/iPhoneFooter.png
http://bit.ly/mfabrikandroidsignaturemoo
http://blog.mfabrik.com/wp-content/uploads/2011/01/AndroidFooter.png
--
View this message in context: http://plone.293351.n2.nabble.com/Developer-manual-tutorials-section-tp6030918p6035464.html
Sent from the Documentation Team mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Plone-docs mailing list
https://lists.sourceforge.net/lists/listinfo/plone-docs
Clayton Parker
2011-02-17 14:15:28 UTC
Permalink
<snip>
The conversion process is already little fragile, so I suggest let's not try
to make it more complicate and we'll just rely on Plone's automatic "Page
not found - suggestions" feature :)
That will just complicate the lives of everyone else, we really shouldn't make it harder for people to find documentation that is already scattered. Big -1 on just leaving a Not Found and letting the user figure it out!

Clayton
--
Six Feet Up, Inc. | Where sophisticated web projects thrive
Direct Line: +1 (317) 861-5948 x603
Email: ***@sixfeetup.com
Try Plone 4 Today at: http://plone4demo.com
Loading...