473,545 Members | 2,688 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 1278
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
1358
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
1208
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
1466
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
5031
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
19034
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
1649
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
1362
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
10644
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...
0
956
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
1893
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
7432
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...
0
7689
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7786
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...
0
6022
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5076
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...
0
3490
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1919
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1044
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
743
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...

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.