Re: [Zope3-Users] Re: crud/read example?
On Saturday 02 September 2006 12:56, Robert Hicks wrote: Try to be a bit more specific, you'll get more answers that way. Actually I thought the subject was expressive enough. Thanks for the advice though. I agree with Martin. I had to read Philipp's response to remember what crud stood for. For us in the Zope community this is such a non-issue in 98% of the cases, that we are not familiar with this sort of terminology and discussion. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: crud/read example?
Stephan Richter wrote: On Saturday 02 September 2006 12:56, Robert Hicks wrote: Try to be a bit more specific, you'll get more answers that way. Actually I thought the subject was expressive enough. Thanks for the advice though. I agree with Martin. I had to read Philipp's response to remember what crud stood for. For us in the Zope community this is such a non-issue in 98% of the cases, that we are not familiar with this sort of terminology and discussion. That is okay. Sometimes I forget that people have different experiencesin the software arena. I didn't take Martin's response in any way except to mean I need to be more verbose in my questions and not assume stuff like everyone knows what CRUD is. While the ZODB looks like a great example my question should have been: I am using Oracle at work and I am looking into using Z3 as the solution but I was wondering if there was an example of creating a CRUD (Create, Read, Update, Delete) application that is prevelant in Turbogears, Django and the like. The example they use is a wiki application where the add, modify and delete simple wiki entries. Robert ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: crud/read example?
Robert Hicks wrote: While the ZODB looks like a great example my question should have been: I am using Oracle at work Does this imply you *need* or *want* to use it for a web application? If you don't have to, consider alternatives such as Zope's object store (ZODB). and I am looking into using Z3 as the solution Solution to what? but I was wondering if there was an example of creating a CRUD (Create, Read, Update, Delete) application that is prevelant in Turbogears, Django and the like. Well, most of the time we don't think in terms of CRUD, even though we might be doing it. Zope is about objects. Where these objects come from doesnt' really matter to Zope. They can come from Zope's object store, they can also come from a relational database. Doesn't matter. In Zope you create objects, you modify them and you display them. The example they use is a wiki application where the add, modify and delete simple wiki entries. There's a similar example for Zope 3: http://worldcookery.com/files/jeffshell-todo/ Philipp ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: crud/read example?
Philipp von Weitershausen wrote: Robert Hicks wrote: While the ZODB looks like a great example my question should have been: I am using Oracle at work Does this imply you *need* or *want* to use it for a web application? If you don't have to, consider alternatives such as Zope's object store (ZODB). That would be subjective I guess. I would *want* to use Oracle since we have an enterprise license for it and that is probably the best way to store the data for posterity. I guess I can use the ZODB and then if I ever have to leave the project or something I could just write a conversion script. and I am looking into using Z3 as the solution Solution to what? but I was wondering if there was an example of creating a CRUD (Create, Read, Update, Delete) application that is prevelant in Turbogears, Django and the like. Well, most of the time we don't think in terms of CRUD, even though we might be doing it. Ah, well I guess I will have to unlearn what I have learned. : ) Zope is about objects. Where these objects come from doesnt' really matter to Zope. They can come from Zope's object store, they can also come from a relational database. Doesn't matter. In Zope you create objects, you modify them and you display them. The example they use is a wiki application where the add, modify and delete simple wiki entries. There's a similar example for Zope 3: http://worldcookery.com/files/jeffshell-todo/ Philipp Cool, thanks for the info. Robert ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: crud/read example?
Robert Hicks wrote: I was just wondering... ... how to phrase your question and you couldn't decide? Try to be a bit more specific, you'll get more answers that way. Martin ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: crud/read example?
Robert Hicks wrote: I was just wondering... Create: from worldcookery.recipe import Recipe recipe = Recipe() folder['dead_chicken'] = recipe Read: folder['dead_chicken'] worldcookery.recipe.Recipe object at XXX Update: recipe = folder['dead_chicken'] recipe.title = u'Dead chicken' recipe.description = u'Beat it to death' Delete: del recipe['dead_chicken'] Welcome to the wonderful world of Zope's object database (ZODB). Philipp ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Re: crud/read example?
Martin Aspeli wrote: Robert Hicks wrote: I was just wondering... ... how to phrase your question and you couldn't decide? Try to be a bit more specific, you'll get more answers that way. Martin Actually I thought the subject was expressive enough. Thanks for the advice though. Robert ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users