473,602 Members | 2,808 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Implement new editing format/through-the-web site management?

Hi,

I'm a Zope newbie but an experienced Python programmer. Could someone
suggest a general approach for the two parts below?

1) I'd like to build a system that stores XML documents in the ZODB
and allows them to be edited through the web in a new text format. The
format is similar to StructuredText and can be translated to XML and
vice versa, using Python methods.

2) The second part of system would be to maintain the site map as an
XML document, also in the ZODB, and allow it to be edited using a
tree-like HTML form or javascript interface, so that the structure of
the entire site could be managed interactively from a single page.
Elements in the site map XML would point to the IDs of XML objects
stored in the ZODB. These pointers could be moved around by editing
the site map. The Zope folder hierarchy would not drive the structure
of the site, the XML document would.

Is it a simple matter to override the editing interface to accomplish
(1)? And does (2) seem unnecessary, given Zope's virtual hierarchy of
objects and folders, which you get automatically? Being able to deal
with the entire site at a glance seemed advantageous to me.

I would prefer to use page templates, not DTML, if possible, and I'd
like to create a self-sufficient Zope product that can be installed
and used "out of the box" by anyone else.

Any tips/comments/flames would be appreciated.

Thanks in advance,

--toby
Jul 18 '05 #1
1 1282
pu*******@yahoo .com wrote:
Hi,

I'm a Zope newbie but an experienced Python programmer. Could someone
suggest a general approach for the two parts below?

1) I'd like to build a system that stores XML documents in the ZODB
and allows them to be edited through the web in a new text format. The
format is similar to StructuredText and can be translated to XML and
vice versa, using Python methods.

2) The second part of system would be to maintain the site map as an
XML document, also in the ZODB, and allow it to be edited using a
tree-like HTML form or javascript interface, so that the structure of
the entire site could be managed interactively from a single page.
Elements in the site map XML would point to the IDs of XML objects
stored in the ZODB. These pointers could be moved around by editing
the site map. The Zope folder hierarchy would not drive the structure
of the site, the XML document would.


afaik zope has a xml-export/import facility that might you help on this. The
zms publishing system abstracts from this and offers a even simpler format.
Thus the objects aren't stored as xml itself, but you can access it that
way in both directions.

Then your second point is more or less zope standard - you can use the zope
management interface to cut and paste objects to rearange them.
--
Regards,

Diez B. Roggisch
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1365
by: jaco | last post by:
Hi, I'm new to Python and XML but still I want to create something that includes creating and editing XML using Python. Now I'm looking for a little example program that does (some of) this to set me on my way. Is there something like this available or can somebody give me some example lines that creates and saves some XML data?
0
1210
by: windandwaves | last post by:
Hi Gurus I was wondering if you know of any good php class for editing mysql data from a users point of view. Kind of like PHP My Admin but then really simple and efficient. I have a look at www.phpclasses.org, but have not been able to find anything. Thank you
4
1475
by: jernej goricki | last post by:
Hy I'm trying to edit a XSLT document, just like I'm editing a XML document : (Im trying to make a new xsl:template tag here ) Dim myXml As New XmlDocument() myXml.Load(Server.MapPath("XSLLinks.xslt")) Dim XmlLinks As XmlElement Dim XmlNewLink As XmlElement
9
5034
by: Ed Crowley | last post by:
I have a DateTimePicker control on my form that is displaying the date format in UK format (dd/mm/yy). However, in my code dtpStartDate.Value gives a date in US format, but dtpStartDate.Value.ToString() gives the date in the required UK format! Any ideas? All system locale settings are set to British/UK settings.
5
19041
by: misiek | last post by:
Hi all. I would like to know if it is possible to dynamically enable/disable row editing in GridView control in ASP.NET 2.0. I am asking because this feature should be enabled/disable depending on button, which was clicked by user. Thanks in advance, misiek
1
1652
by: kitkat | last post by:
Is it possible to convert excel file format to csv format through asp dotnet. I need to select a file through browse button that select an excel file and once selected, would convert it into comma delimiter file. Thanks in advance for your help! Amit
0
1368
by: gwanglu | last post by:
ProAOS offers you a high quality photo and video editing for your adult sites! We guarantee you customer satisfaction and a very reliable and professional work. If you want to try our services you can visit us at http://www.proadultoutsourcing.com
1
10660
by: =?Utf-8?B?TmV0aGVzaA==?= | last post by:
Where I can find to download "Manifest Generation and Editing Tool (Mage.exe) " or "Manifest Generation and Editing Tool, Graphical Client (MageUI.exe) ". Is there any other tool which will help me to include with an application (developed using VB6.0) an embedded manifest that defines its execution level. And how to generate a manifest for an exe. thanks Nethesh Kannan
0
959
by: sajithamol | last post by:
Can anyone please tell me how to implement AT commands in .NET for sending and receiving SMS through GSM modem/mobile connected to a PC.
2
1895
by: Aparna Shukla | last post by:
I have written a vb 6.0 code to send email. but now i want to insert table like wise in word and send email through vb code so how to dot it ? *** Sent via Developersdex http://www.developersdex.com ***
0
7924
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8404
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8059
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8270
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5873
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5440
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3944
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1513
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1257
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.