Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7767217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:37:16+00:00 2026-06-01T15:37:16+00:00

I am doing some PloneFormGen work. Currently PloneFormGen stores entered form entries internally as

  • 0

I am doing some PloneFormGen work. Currently PloneFormGen stores entered form entries internally as tuples without associated column information. If new columns (form fields) are added then the existing data becomes invalid.

This could be easily avoided storing data in ordered dictionaries, which retain both entered column order and column ids.

Does ZODB have data type equivalent of ordered dictionary? If possible even with matching API (Python dict-like item manipulation and access)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:37:17+00:00Added an answer on June 1, 2026 at 3:37 pm

    you’ll probably have to build your own class as I am not aware of any current implementations.

    You can find implementations of ZODB persisting ordered dicts based on PersistentDict and OOBtree here:

    https://github.com/bluedynamics/node.ext.zodb/blob/master/src/node/ext/zodb/utils.py

    This implementations are based on odict package:

    http://pypi.python.org/pypi/odict

    Since it’s not possible to persist dict type inheriting objects to ZODB (because persistent.Persistent and dict has incompatible low level implementations) odict provides a way for easily hooking different base classes (using _dict_impl function internally all over the place). That is the reason why odict package is still used in favour of even python 2.7’s ordered dict implementation or other 3rd party ordereddict implementations.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im doing some form validation on a website and I've tried to use JQuery
Just doing some work with RIA services and I see in the MSDN documentation
Recently I'm doing some work on RTMP streaming, that is using Flowplayer to integrate
doing some quick web dev work for a local body modification parlour just in
Doing some integration work with another site I've got the unusual requirement of needing
Doing some exercises with simple file encryption/decryption and am currently just reading in a
After doing some work with Ruby, Rails, and RSpec last summer and I learned
Doing some work on controlling printing via the System.Printing framework (main classes are PrintQueue,
After doing some research I feel this should work, however it is not saving
In doing some database work I ran across a strange problem. I'm trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.