From michel at digicool.com Thu Dec 7 20:07:32 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] New version of book uploaded Message-ID: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. That's right, Amos and I have just gotten done adding all kinds of new stuff to the book, and in particular we made quite a few changed from "Python Method" to "Python Script". This was a task more subtle than a simple search and replace, many changes needed to be done. Also, sometime really soon, we will be making a 2.3 alpha release. This will be the first release of Zope that will be "in sync" with the book. Lots of milestones to reach there. So, instead of reading the book over again for the N to the Nth time in preparation, we have decided to run a fun little contest. The *first* person to point out an incorrect usage of the term "method" when it should be "script" will get a free copy of the Zope book signed by Amos and myself. If you are the second person to point out the same error, sorry, you're out of luck, but *keep reading* because you may find another! For each unique "method" error found in the book, someone will get a free signed copy! And don't just stick to Chapter 8 (although that's probably the best place to start!) because Python Meth...er Scripts are used all over the book. To keep everything fair, you must report your findings to the community reviewer list at zope-book@zope.org. They will be the "judges", and will decide who does and who does and does not get a book. Here are some sample right and wrong sentences to give you an idea, just because a sentence contains the word "method", doesn't make it wrong: "DTML Methods are smelly." (Right) "By using DTML, Python, Perl or other kinds of methods, you can script the web." (Wrong) "Python Methods rock!" (Wrong) "You can call *fooBar* through the web like any other kind of method". (Wrong, should be "object", tricky! The judgest make the call on these kinds of errors) "The Python code in your External Method must be in the Foo module." (Right, External Methods still exist) Get the idea? The O'Reilly community reviewers (the "judges") and employees of Digital Creations are not elligible in this contest, sorry guys, you already get free books. ;) So without further a-do here's the URL. Have fun! http://www.zope.org/Members/michel/ZB/ -Michel From jimbo at tacomaplace.com Thu Dec 7 21:06:51 2000 From: jimbo at tacomaplace.com (jimbo) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Python Scripts Message-ID: <200012071806.AA1291649442@tacomaplace.com> >From the e-mail "By using DTML, Python, Perl or other kinds of methods, you can script the web." (Wrong) >From the book Chap.12 4 paragraphs down from fig 12-2 "Also in the Product folder create a DTML Method named addForm, and Python Script named add. These methods will create new exhibit instances." Should'nt it be.. This method and script will create a new exhibit. From akendall at devis.com Thu Dec 7 21:07:26 2000 From: akendall at devis.com (M. Adam Kendall) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] RE: [Zope] New version of book uploaded In-Reply-To: Message-ID: Ok, in chapter 8 you talk of Python Scripts, and you also make sure you call them scripts. For instance: --Start-- One interesting function of the whrandom module is the choice function that returns a random selection from a sequence of objects. Here's an example of how to use this function in a Python Script called randomImage: """ When called on a Folder that contains Image objects this script returns a random image. """ import whrandom return whrandom.choice(context.objectValues('Image')) Suppose you had a Folder named Images that contained a number images. You could display a random image from the folder in DTML like so: This DTML calls the randomImage script on the Images folder. The result is a HTML IMG tag that references a random image in the Images Folder. --End-- Notice, you say, "calls the randomImage script" But in chapter 12, you get a bit backtracked, and call a script a method like so: --Start-- First create a new Folder named exhibitTemplate in your Product. This will serve as a template for exhibits. Also in the Product folder create a DTML Method named addForm, and Python Script named add. These methods will create new exhibit instances. Now go back to your Factory and change it so that the Add list name is Zoo Exhibit and the method is addForm. So what's going to happen is that when someone chooses Zoo Exhibit from the product add list, the addForm method will run. This method should collect information about the id and title of the exhibit. When the user clicks Add it should call the add method that will copy the exhibitTemplate folder into the calling folder and will rename it to have the specified id. --End-- Notice, they should be calling the add script, not add method if you want to get technical about your name calling. -- M. Adam Kendall | Got Linux? Internetworking & | We do. Security Architect | akendall@devis.com | http://www.devis.com From jimbo at tacomaplace.com Thu Dec 7 22:23:21 2000 From: jimbo at tacomaplace.com (jimbo) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded Message-ID: <200012071923.AA2586509886@tacomaplace.com> Just making sure this thing is on. ---------- Original Message ---------------------------------- From: Michel Pelletier Date: Thu, 7 Dec 2000 17:07:32 -0800 (PST) >Greetings, > >Read this carefully, you may end up with a free, signed copy of the Zope >book. > >That's right, Amos and I have just gotten done adding all kinds of new >stuff to the book, and in particular we made quite a few changed from >"Python Method" to "Python Script". This was a task more subtle than a >simple search and replace, many changes needed to be done. > >Also, sometime really soon, we will be making a 2.3 alpha release. This >will be the first release of Zope that will be "in sync" with the >book. Lots of milestones to reach there. > >So, instead of reading the book over again for the N to the Nth time >in preparation, we have decided to run a fun little contest. > >The *first* person to point out an incorrect usage of the term >"method" when it should be "script" will get a free copy of the Zope >book signed by Amos and myself. If you are the second person to point >out the same error, sorry, you're out of luck, but *keep reading* >because you may find another! For each unique "method" error found in the >book, someone will get a free signed copy! > >And don't just stick to Chapter 8 (although that's probably the best >place to start!) because Python Meth...er Scripts are used all over >the book. > >To keep everything fair, you must report your findings to the community >reviewer list at zope-book@zope.org. They will be the "judges", and >will decide who does and who does and does not get a book. > >Here are some sample right and wrong sentences to give you an idea, just >because a sentence contains the word "method", doesn't make it wrong: > > "DTML Methods are smelly." (Right) > > "By using DTML, Python, Perl or other kinds of methods, you can > script the web." (Wrong) > > "Python Methods rock!" (Wrong) > > "You can call *fooBar* through the web like any other kind of > method". (Wrong, should be "object", tricky! The judgest make the call > on these kinds of errors) > > "The Python code in your External Method must be in the Foo module." > (Right, External Methods still exist) > >Get the idea? > >The O'Reilly community reviewers (the "judges") and employees of >Digital Creations are not elligible in this contest, sorry guys, you >already get free books. ;) > >So without further a-do here's the URL. Have fun! > >http://www.zope.org/Members/michel/ZB/ > >-Michel > > > >_______________________________________________ >Zope maillist - Zope@zope.org >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > From jimbo at tacomaplace.com Thu Dec 7 22:32:49 2000 From: jimbo at tacomaplace.com (jimbo) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded Message-ID: <200012071932.AA2780889696@tacomaplace.com> I meant to paste this link in the last posting. I had the wrong title. http://lists.zope.org/pipermail/zope/2000-December/036772.html And when do I get my book? And can I get the likes of Guido, and Jim to sign the book also? Just making sure this thing is on. -Jimbo From michel at digicool.com Thu Dec 7 22:19:23 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: <200012071932.AA2780889696@tacomaplace.com> Message-ID: On Thu, 7 Dec 2000, jimbo wrote: > > I meant to paste this link in the last posting. I had the wrong title. > http://lists.zope.org/pipermail/zope/2000-December/036772.html > > > And when do I get my book? Slow down jimbo I haven't even eaten dinner yet! We got yer submission. > And can I get the likes of Guido, and Jim to sign the book also? Nope, sorry. Amos and I work many thousands of miles away from them. Perhaps if you bring your copy to Python9, you can talk them into signing it. -Michel > Just making sure this thing is on. It is. From michel at digicool.com Thu Dec 7 22:30:20 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] To the "judges" Message-ID: Hey, I signed you guys up for being judges in our free-book "contest". I'm pretty certain there won't be too many errors, but a couple have already slipped through the cracks so there may be a couple more. Of course, this whole thing is just a gimick to get people to *read* the book but *shhhh* don't tell them that. A few free books are worth getting folks to find all the *other* errors in the book that no doubt exist. Maybe later on we'll run some other contents about some specific flaws like a "free-signed-book-for-bugs-in-the-examples" contest; we'll see how this one turns out. In general, don't take it *too* seriously, have fun with it. Thanks, -Michel From lalo at hackandroll.org Thu Dec 7 22:30:27 2000 From: lalo at hackandroll.org (Lalo Martins) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: ; from michel@digicool.com on Thu, Dec 07, 2000 at 05:07:32PM -0800 References: Message-ID: <20001208013027.A18658@hackandroll.org> Okey, so I decided to start by the last chapter (Appendix B) ;-) in lynx, /method hilighted: From michel at digicool.com Thu Dec 7 22:36:53 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Python Scripts In-Reply-To: <200012071806.AA1291649442@tacomaplace.com> Message-ID: On Thu, 7 Dec 2000, jimbo wrote: > >From the e-mail > "By using DTML, Python, Perl or other kinds of methods, you can > script the web." (Wrong) > > >From the book Chap.12 > 4 paragraphs down from fig 12-2 > > "Also in the Product folder create a DTML Method named addForm, and Python Script named add. These methods will create new exhibit instances." > Should'nt it be.. > This method and script will create a new exhibit. Ok got it, this is fixed. -Michel From michel at digicool.com Thu Dec 7 22:38:24 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] RE: [Zope] New version of book uploaded In-Reply-To: Message-ID: On Thu, 7 Dec 2000, M. Adam Kendall wrote: > Ok, in chapter 8 you talk of Python Scripts, and you > also make sure you call them scripts. For instance: > > --Start-- > One interesting function of the whrandom module is the choice function that > returns a random selection from a sequence of objects. Here's an example of > how to use this function in a Python Script called randomImage: > > """ > When called on a Folder that contains Image objects this > script returns a random image. > """ > import whrandom > return whrandom.choice(context.objectValues('Image')) > > Suppose you had a Folder named Images that contained a number images. You > could display a random image from the folder in DTML like so: > > > > > > This DTML calls the randomImage script on the Images folder. The result is a > HTML IMG tag that references a random image in the Images Folder. > --End-- > Notice, you say, "calls the randomImage script" > But in chapter 12, you get a bit backtracked, and > call a script a method like so: > --Start-- > First create a new Folder named exhibitTemplate in your Product. This will > serve as a template for exhibits. Also in the Product folder create a DTML > Method named addForm, and Python Script named add. These methods will create > new exhibit instances. Now go back to your Factory and change it so that the > Add list name is Zoo Exhibit and the method is addForm. jimbo caught this one... > > So what's going to happen is that when someone chooses Zoo Exhibit from the > product add list, the addForm method will run. This method should collect > information about the id and title of the exhibit. When the user clicks Add > it should call the add method but not this one. Good eye! -Michel > that will copy the exhibitTemplate folder into > the calling folder and will rename it to have the specified id. > --End-- > Notice, they should be calling the add script, not add method if you want to > get technical > about your name calling. > > -- > M. Adam Kendall | Got Linux? > Internetworking & | We do. > Security Architect | > akendall@devis.com | http://www.devis.com > > > _______________________________________________ > Zope-book maillist - Zope-book@zope.org > http://lists.zope.org/mailman/listinfo/zope-book > > From lalo at hackandroll.org Thu Dec 7 23:11:14 2000 From: lalo at hackandroll.org (Lalo Martins) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: <20001208013027.A18658@hackandroll.org>; from lalo@hackandroll.org on Fri, Dec 08, 2000 at 01:30:27AM -0200 References: <20001208013027.A18658@hackandroll.org> Message-ID: <20001208021114.B18658@hackandroll.org> Okay, one more to raise my chances ;-) (I really want this book!) First create a new Folder named exhibitTemplate in your Product. This will serve as a template for exhibits. Also in the Product folder create a DTML Method named addForm, and restricted Python Method named add. These methods will create new exhibit instances. Now go back to your Factory and change it so that the Add list name is Zoo Exhibit and the method is addForm. The next paragraph also refers to an "add method" (should probably be an "add script"). Then later, in section "Creating Methods on your ZClass": You can create any kind of Zope object on the Methods view, but generally only Method-like objects (DTML, Python, and Perl Method, for example) are added. Later on this section there are some mentions of "this method" refering to a Python Script, but this is dubious since in this case the Script is really a "method" of the ZClass in the literal OOP meaning. Later in "Using Python Base Classes": ... A Python base class is pretty much the same thing as a collection of unrestricted Python methods. And the last paragraph of the chapter also refers to "restricted Python Methods". I could hunt out all of them, but I'll leave some books for the rest of the world ;-) []s, |alo +---- -- Hack and Roll ( http://www.hackandroll.org ) The biggest site for whatever-it-is-that-we-are. http://zope.gf.com.br/lalo mailto:lalo@hackandroll.org pgp key: http://zope.gf.com.br/lalo/pessoal/pgp Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar From jasonic at nomadicsltd.com Fri Dec 8 00:09:24 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] methodist revival meeting Message-ID: <001301c060d5$08589ee0$c3090740@megapathdsl.net> Surely this should be corrected: ?? -------------------------------------------------- http://www.zope.org/Members/michel/ZB/Preface.html Chapter 8: Advanced Zope Scripting This chapter covers scripting Zope with Python and Perl. In it we cover how to write business logic in Zope using more powerful tools than DTML. It discusses the idea of methods in Zope, and focuses on Python and Perl methods. This chapter shows you how to add industrial-strength scripting to your site. -------------------------------------------------- best wishes - Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 00:20:54 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] methodist_revival_meeting ZB_preface_chapter4 suggestion Message-ID: <001901c060d6$a3c46980$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/Preface.html Chapter 4: Dynamic Content with DTML This chapter introduces DTML, Zope's tag-based scripting language. In it we describe DTML's use for templating and scripting and its place in relation to other methods of scripting in Zope. We cover DTML syntax and the three most basic tags, var, if and in. After reading this chapter you'll be able to create dynamic web pages. >>> perhaps clearer in sentence #2: replace "In it we describe DTML's use for templating and scripting and its place in relation to other methods of scripting in Zope. with "We describe the use of DTML for templates and scripting, and relationship to other ways for scripting Zope." - Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 00:26:51 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] methodist_revival_meeting ZB_preface_Part III = TYPO you/your Message-ID: <002301c060d7$787f07c0$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/Preface.html Part III: Developing Advanced Web Applications with Zope The final part of the book deals with advanced topics. You learn how to scale you web application and extend Zope itself. "You learn how to scale you web application" ===> change 'you' to your' -Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 00:37:28 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] methodist_revival_meeting ZB_preface Chapter11simplifcation suggestion Message-ID: <003701c060d8$f46472c0$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/Preface.html Chapter 11: Scalability and ZEO This chapter covers issues and solutions for building and maintaining large web applications, and focuses on issues of management and scalability. In particular, this chapter explains the Zope Enterprise Option (ZEO). This chapter shows you the tools and techniques you need to turn a small site into a large-scale site, servicing millions of visitors. >>> simplify delete repetitions = TRY: Chapter 11: Scalability and ZEO This chapter covers building and maintaining large web applications, and focuses on issues of management and scalability. In particular, we explain the Zope Enterprise Option (ZEO). The chapter shows you the tools and techniques you need to turn a small site into a large-scale site, servicing millions of visitors. ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 00:53:47 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] ZBook methodism - Chapter 8 section1 Message-ID: <001701c060db$3ba75420$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/ScriptingZope.html Zope Methods In Zope, you script logic with methods. When you call a method you execute its script. The word method can be confusing because it has a specific meaning in object oriented programming. For now you can just think of a method as a small program, script or function. So far this book has shown you two kinds of methods, DTML Methods and ____Python Methods____. In this chapter you'll use these methods in more detail and be introduced to ____Perl Methods____. Different methods use different programming languages and are good for different types of tasks. What methods have in common are security restrictions, how they work with other Zope objects, and being called from the web or from other methods. -Jason ________________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'].DesignDirector From jasonic at nomadicsltd.com Fri Dec 8 00:58:38 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/RelationalDatabases.html Message-ID: <002d01c060db$e92b3080$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/RelationalDatabases.html Figure 10-5: The Add form for Z SQL Methods As usual, you must specify an id and title for the ZSQL Method. In addition you need to select a Database Connection to use with this Z SQL Methods. Give this new method the id hire_employee and select the gadfly_database_connection that you created in the last section. Next you can specify arguments to the Z SQL Method. Just like _______Python Methods_______, ZSQL Methods can take arguments. Arguments are used to construct SQL statement. In this case your method needs four arguments, the employee id number, the first name, the last name and the employee's salary. Type "emp_id first last salary" into the Arguments field. Don't put a comma between the two arguments. - Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 01:02:07 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/RelationalDatabases.html near the end Message-ID: <003301c060dc$6591cee0$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/RelationalDatabases.html >>> near the end of Chapter 10 def join_name(self, id): for result in self.employee_by_id(emp_id=id): return result.last + ', ' + result.first This ____________Python Method______________ accepts an id argument and passes it to employee_by_id as the emp_id argument. It then iterates over the single result and joins the last name and the first name with a comma. Acquiring Arguments from other Objects - Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 01:04:50 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/RelationalDatabases.html Message-ID: <003901c060dc$c69b1de0$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/RelationalDatabases.html >>> very near the end of Chapter 10: Now when you go to the URL http://localhost:8080/employee_by_id/42/viewEmployee the fullName _________Python Method__________ is called by the viewEmployee DTML Method. The fullName _________Method_______________ is defined in the Employee class of the Employee module and is bound to the result object returned by employee_by_id - Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 01:07:28 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/RelationalDatabases.html Message-ID: <003f01c060dd$24ec9fe0$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/RelationalDatabases.html Binding Classes to Result Objects A result object has an attribute for each column in results row. However, result objects do not have any methods, just attributes. There are two ways to bind a method to a Result object. As you saw in the previous section, you can bind DTML and other methods to Z SQL Method Result objects using the normal URL based acquisition bind mechanism described in Chapter 8. You can also bind methods to Result objects by defining a Python class that gets mixed in with the normal, simple Result object class. These classes are defined in the same location as _____________Unrestricted Python Methods____________ on the filesystem, in Zope's Extensions directory. Python classes are collections of methods and attributes. By associating a class with a Result object, you can make the Result object have a rich API and user interface. -Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 01:12:14 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html Message-ID: <004501c060dd$cf971d80$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html Using Python Base Classes In addition to inheriting from standard Zope base classes and other ZClasses, your ZClasses can inherit from custom Python classes. A Python base class is pretty much the same thing as a collection of ________External Methods____________. -Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 01:13:58 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html Message-ID: <004b01c060de$0dc20840$c3090740@megapathdsl.net> http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html def hungry(self): """ Is the Animal hungry? """ return self._hungry This class defines a couple related methods and one default attribute. Notice that like ________External Methods____________, the methods of this class can access private attributes. -Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From jasonic at nomadicsltd.com Fri Dec 8 01:16:01 2000 From: jasonic at nomadicsltd.com (Jason Cunliffe) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html Message-ID: <005101c060de$56edb8c0$c3090740@megapathdsl.net> >>> end of chapter 12: Don't forget that when you distribute your Product you'll also need to include any files such as _________External Method____________ files and Python base classes that your class relies on. This requirement makes distribution more difficult and for this reason folks sometimes try to avoid relying on Python files when creating Products for distribution. ---------------------------------------------------------------------------- ---- -Jason ___________________________________________________________ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] From magnus.heino at rivermen.se Fri Dec 8 01:47:19 2000 From: magnus.heino at rivermen.se (Magnus Heino (Rivermen)) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] (no subject) Message-ID: Hi :-) Last line below; http://www.zope.org/Members/michel/ZB/AppendixA.html return: Returns data The return tag stops executing DTML and returns data. It mirrors the Python return statement. Syntax return tag syntax: Stops execution of DTML and returns a variable or expression. The DTML output is not returned. Usually a return expression is more useful than a return variable. Python Methods largely obsolete this tag. From magnus.heino at rivermen.se Fri Dec 8 01:53:00 2000 From: magnus.heino at rivermen.se (Magnus Heino (Rivermen)) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] (no subject) Message-ID: http://www.zope.org/Members/michel/ZB/AppendixB.html From michel at digicool.com Fri Dec 8 03:27:25 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: ZBook methodism - Chapter 8 section1 In-Reply-To: <001701c060db$3ba75420$c3090740@megapathdsl.net> Message-ID: Might wany to refresh your browser cache Jason, cuz I took all this out yesterday, and, of course, my search and replace caught these most trivial instances. ;) -Michel On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/ScriptingZope.html > > > > Zope Methods > In Zope, you script logic with methods. When you call a method you execute > its script. The word method can be confusing because it has a specific > meaning in object oriented programming. For now you can just think of a > method as a small program, script or function. > > So far this book has shown you two kinds of methods, DTML Methods and > ____Python Methods____. In this chapter you'll use these methods in more > detail and be introduced to ____Perl Methods____. Different methods use > different programming languages and are good for different types of tasks. > What methods have in common are security restrictions, how they work with > other Zope objects, and being called from the web or from other methods. > > > > -Jason > ________________________________________________________________ > Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'].DesignDirector > > > From michel at digicool.com Fri Dec 8 03:28:51 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: http://www.zope.org/Members/michel/ZB/RelationalDatabases.html In-Reply-To: <002d01c060db$e92b3080$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/RelationalDatabases.html > > Figure 10-5: The Add form for Z SQL Methods > > As usual, you must specify an id and title for the ZSQL Method. In addition > you need to select a Database Connection to use with this Z SQL Methods. > Give this new method the id hire_employee and select the > gadfly_database_connection that you created in the last section. > > Next you can specify arguments to the Z SQL Method. Just like _______Python > Methods_______, ZSQL Methods can take arguments. Arguments are used to > construct SQL statement. In this case your method needs four arguments, the > employee id number, the first name, the last name and the employee's salary. > Type "emp_id first last salary" into the Arguments field. Don't put a comma > between the two arguments. Hmmm.... I thought I fixed this one but it's there! Good eye. -Michel From michel at digicool.com Fri Dec 8 03:29:48 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html In-Reply-To: <004501c060dd$cf971d80$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html > > Using Python Base Classes > In addition to inheriting from standard Zope base classes and other > ZClasses, your ZClasses can inherit from custom Python classes. A Python > base class is pretty much the same thing as a collection of ________External > Methods____________. Ah, this is actually correct, External Methods are not going away in 2.3, they are still there are they are still called 'External Methods'. -Michel From michel at digicool.com Fri Dec 8 03:30:32 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html In-Reply-To: <005101c060de$56edb8c0$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > >>> end of chapter 12: > > > Don't forget that when you distribute your Product you'll also need to > include any files such as _________External Method____________ files and > Python base classes that your class relies on. This requirement makes > distribution more difficult and for this reason folks sometimes try to avoid > relying on Python files when creating Products for distribution. Once again, this is actually correct. -Michel From michel at digicool.com Fri Dec 8 03:31:27 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html In-Reply-To: <004b01c060de$0dc20840$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html > > > def hungry(self): > """ > Is the Animal hungry? > """ > return self._hungry > > This class defines a couple related methods and one default attribute. > Notice that like ________External Methods____________, the methods of this > class can access private attributes. Sorry, this is is also correct. -Michel From michel at digicool.com Fri Dec 8 03:32:56 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/RelationalDatabases.html In-Reply-To: <003f01c060dd$24ec9fe0$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/RelationalDatabases.html > > > Binding Classes to Result Objects > A result object has an attribute for each column in results row. However, > result objects do not have any methods, just attributes. > > There are two ways to bind a method to a Result object. As you saw in the > previous section, you can bind DTML and other methods to Z SQL Method Result > objects using the normal URL based acquisition bind mechanism described in > Chapter 8. You can also bind methods to Result objects by defining a Python > class that gets mixed in with the normal, simple Result object class. These > classes are defined in the same location as _____________Unrestricted Python > Methods____________ on the filesystem, in Zope's Extensions directory. > Python classes are collections of methods and attributes. By associating a > class with a Result object, you can make the Result object have a rich API > and user interface. Ah, you got this one! Great, I just fixed it, thanks. -Michel From michel at digicool.com Fri Dec 8 03:34:30 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/RelationalDatabases.html In-Reply-To: <003901c060dc$c69b1de0$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/RelationalDatabases.html > > >>> very near the end of Chapter 10: > > > Now when you go to the URL > http://localhost:8080/employee_by_id/42/viewEmployee the fullName > _________Python Method__________ is called by the viewEmployee DTML Method. > The fullName _________Method_______________ Got it! Slow down Jason, your on fire! -Michel From michel at digicool.com Fri Dec 8 03:35:53 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] http://www.zope.org/Members/michel/ZB/RelationalDatabases.html near the end In-Reply-To: <003301c060dc$6591cee0$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/RelationalDatabases.html > > >>> near the end of Chapter 10 > > > > def join_name(self, id): > for result in self.employee_by_id(emp_id=id): > return result.last + ', ' + result.first > > This ____________Python Method______________ accepts an id argument and Ah, but this _is_ a real, dyed-in-the-wool Python Method, not a Python Script. Sorry! This one was tricky... -Michel > passes it to employee_by_id as the emp_id argument. It then iterates over > the single result and joins the last name and the first name with a comma. > > Acquiring Arguments from other Objects > > > > - Jason > ___________________________________________________________ > Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] > > > > _______________________________________________ > Zope-book maillist - Zope-book@zope.org > http://lists.zope.org/mailman/listinfo/zope-book > > From michel at digicool.com Fri Dec 8 03:38:00 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] methodist_revival_meeting ZB_preface Chapter11simplifcation suggestion In-Reply-To: <003701c060d8$f46472c0$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/Preface.html > > Chapter 11: Scalability and ZEO > This chapter covers issues and solutions for building and maintaining large > web applications, and focuses on issues of management and scalability. In > particular, this chapter explains the Zope Enterprise Option (ZEO). This > chapter shows you the tools and techniques you need to turn a small site > into a large-scale site, servicing millions of visitors. > > >>> simplify delete repetitions = TRY: > > Chapter 11: Scalability and ZEO > This chapter covers building and maintaining large web applications, and > focuses on issues of management and scalability. In particular, we explain > the Zope Enterprise Option (ZEO). The chapter shows you the tools and > techniques you need to turn a small site into a large-scale site, servicing > millions of visitors. Thanks, I did a similar rewording. -Michel From michel at digicool.com Fri Dec 8 03:38:41 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] methodist_revival_meeting ZB_preface_Part III = TYPO you/your In-Reply-To: <002301c060d7$787f07c0$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/Preface.html > > Part III: Developing Advanced Web Applications with Zope > The final part of the book deals with advanced topics. You learn how to > scale you web application and extend Zope itself. > > "You learn how to scale you web application" ===> change 'you' to your' Got it, thanks! -Michel From michel at digicool.com Fri Dec 8 03:39:26 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] methodist_revival_meeting ZB_preface_chapter4 suggestion In-Reply-To: <001901c060d6$a3c46980$c3090740@megapathdsl.net> Message-ID: On Fri, 8 Dec 2000, Jason Cunliffe wrote: > http://www.zope.org/Members/michel/ZB/Preface.html > > Chapter 4: Dynamic Content with DTML > This chapter introduces DTML, Zope's tag-based scripting language. In it we > describe DTML's use for templating and scripting and its place in relation > to other methods of scripting in Zope. We cover DTML syntax and the three > most basic tags, var, if and in. After reading this chapter you'll be able > to create dynamic web pages. > > >>> perhaps clearer in sentence #2: > > replace > > "In it we describe DTML's use for templating and scripting and its place in > relation to other methods of scripting in Zope. > > with > > "We describe the use of DTML for templates and scripting, and relationship > to other ways for scripting Zope." Thanks, I did a similar rewording. -Michel From hohoff at snafu.de Fri Dec 8 03:52:47 2000 From: hohoff at snafu.de (Holger Hoffmann) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded References: Message-ID: <3A30A15F.CDE6F945@snafu.de> Hi, Michel Pelletier wrote: > > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. Chapter 9: Searching and Categorizing Content Searching Catalogs Searching from Python Here is a Python Method called relevantSectionNews that accepts ^^^^^^^^^^^^^ no parameters. This method queries the news Catalog with the current folder's id: ... Holger From hohoff at snafu.de Fri Dec 8 04:03:04 2000 From: hohoff at snafu.de (Holger Hoffmann) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded References: Message-ID: <3A30A3C8.A45FD5@snafu.de> Michel Pelletier wrote: > > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. Chapter 9, Automatic Cataloging, under Figure 9-7: This is the Methods View of a ZClass. Here, you can add Zope objects that will act as methods on your new type of object. Here, for example, you can create DTML Methods or Python Methods and these objects will become methods ^^^^^^^^^^^^^^ on any new News Items that are created. Before creating any methods however, let's review the needs of this new "News Item" object: ... Holger -- (Computer-Mensch des) AStA Uni Potsdam Mail: mailto:asta@rz.uni-potsdam.de Web: http://www.asta.uni-potsdam.de/ Online-Wohnungsboerse: http://www.asta.uni-potsdam.de/wohnen/ From kedai at kedai.com.my Fri Dec 8 04:19:05 2000 From: kedai at kedai.com.my (Bak@kedai) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: References: Message-ID: <0012081719050K.04537@tokey.kedai.com.my> On Friday 08 December 2000 09:07, Michel Pelletier wrote: > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. > hee's a shot, don't know whether it's been pointed out or not ---8<------ Python MethodsYou can use Python, a scripting language, to script Zope objects and perform other tasks. Python methods give you general purpose programming facilities within Zope. Perl MethodsYou can use Perl, a powerful text processing language, to script Zope objects and access Perl libraries. Perl Methods offer similar benefits as Python Methods, but may be more appealing for folks who know Perl but not Python, or who want to use Perl libraries for which there are no Python equivalent ----8<----- -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine Just bring it! From kedai at kedai.com.my Fri Dec 8 04:25:04 2000 From: kedai at kedai.com.my (Bak@kedai) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: References: Message-ID: <0012081725040L.04537@tokey.kedai.com.my> On Friday 08 December 2000 09:07, Michel Pelletier wrote: > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. > as ypu said, this whole chapter still uses python methods. not sure whther it's been pointed out or not. sent earlier without the URL. here it is again. do i qualify?:") http://www.zope.org/Members/michel/ZB/ScriptingZope.html ---8<--- Python MethodsYou can use Python, a scripting language, to script Zope objects and perform other tasks. Python methods give you general purpose programming facilities within Zope. Perl MethodsYou can use Perl, a powerful text processing language, to script Zope objects and access Perl libraries. Perl Methods offer similar benefits as Python Methods, but may b ---8<----- and .. ----8<---- Zope methods are called from the web or from other methods. Almost any type of method can call any other type of method. You can call a Python Method from a DTML Method, or a built-in method from a Perl Method --8<----- there's more.. should i oint all occurrences of python method? ---- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine use Zope? then you got HOPE! From michel at digicool.com Fri Dec 8 04:35:56 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: <0012081725040L.04537@tokey.kedai.com.my> Message-ID: On Fri, 8 Dec 2000, Bak@kedai wrote: > On Friday 08 December 2000 09:07, Michel Pelletier wrote: > > Greetings, > > > > Read this carefully, you may end up with a free, signed copy of the Zope > > book. > > > > as ypu said, this whole chapter still uses python methods. Actually, the copy of the chapter in your browser cache still uses Python Methods. The copy on the website does not. All of these you've pointed out are old news... Sorry! -Michel From kedai at kedai.com.my Fri Dec 8 04:48:33 2000 From: kedai at kedai.com.my (Bak@kedai) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: References: Message-ID: <0012081748330N.04537@tokey.kedai.com.my> On Friday 08 December 2000 17:35, Michel Pelletier wrote: > On Fri, 8 Dec 2000, Bak@kedai wrote: > > On Friday 08 December 2000 09:07, Michel Pelletier wrote: > > > Greetings, > > > > > > Read this carefully, you may end up with a free, signed copy of the > > > Zope book. > > > > as ypu said, this whole chapter still uses python methods. > > Actually, the copy of the chapter in your browser cache still uses > Python Methods. The copy on the website does not. All of these you've > pointed out are old news... > > Sorry! if konquorer refreshes right, have a look see http://www.zope.org/Members/michel/ZB/ScriptingZope.html the graphics used for example. (pleeze make this one count!) --8<--- Python Method (Internal) at/hello --8<--- does it count? :) -- http://www.kedai.com.my/kk http://www.kedai.com.my/eZine as you woke this morning, and open up your eyes, did you notice the tear stains lining your face were mine.. From jok-zope at ipro.de Fri Dec 8 06:26:50 2000 From: jok-zope at ipro.de (Jochen Knuth) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded References: Message-ID: <3A30C57A.1070002@ipro.de> Hi, Michel Pelletier wrote: > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. > ... > So without further a-do here's the URL. Have fun! > > http://www.zope.org/Members/michel/ZB/ > > -Michel ok, it's not in the book itself but linked from it (Status): http://www.zope.org/Documentation/new/book.html The book covers Zope 2.3 which has not been released yet. Therefore some things will be a little confusing. The main differences between Zope 2.3 and Zope 2.2 is the lack of Python Methods and Perl Methods in Zope 2.2. You can use External Methods for restricted Python Methods. Jochen -- -------------------------------------------------- Jochen Knuth WebMaster http://www.ipro.de IPRO GmbH Phone ++49-7152-93330 Steinbeisstr. 6 Fax ++49-7152-933340 71229 Leonberg EMail: J.Knuth@ipro.de From jok-zope at ipro.de Fri Dec 8 06:30:55 2000 From: jok-zope at ipro.de (Jochen Knuth) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded References: Message-ID: <3A30C66F.7070004@ipro.de> and another one: http://www.zope.org/Members/michel/ZB/RelationalDatabases.html Figure 10-5: The Add form for Z SQL Methods As usual, you must specify an id and title for the ZSQL Method. In addition you need to select a Database Connection to use with this Z SQL Methods. Give this new method the id hire_employee and select the gadfly_database_connection that you created in the last section. Next you can specify arguments to the Z SQL Method. Just like Python Methods, ZSQL Methods can take arguments. Arguments ^^^^^ ^ are used to construct SQL statement. In this case your method needs four arguments, the employee id number, the first name, the last name and the employee's salary. Type "emp_id first last salary" into the Arguments field. Don't put a comma between the two arguments. Ciao, Jochen -- -------------------------------------------------- Jochen Knuth WebMaster http://www.ipro.de IPRO GmbH Phone ++49-7152-93330 Steinbeisstr. 6 Fax ++49-7152-933340 71229 Leonberg EMail: J.Knuth@ipro.de From jok-zope at ipro.de Fri Dec 8 06:43:21 2000 From: jok-zope at ipro.de (Jochen Knuth) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded References: <3A30C66F.7070004@ipro.de> Message-ID: <3A30C959.5020805@ipro.de> Hi, Jochen Knuth wrote: > and another one: > > http://www.zope.org/Members/michel/ZB/RelationalDatabases.html > sorry, another cache bug. Jochen -- -------------------------------------------------- Jochen Knuth WebMaster http://www.ipro.de IPRO GmbH Phone ++49-7152-93330 Steinbeisstr. 6 Fax ++49-7152-933340 71229 Leonberg EMail: J.Knuth@ipro.de From jok-zope at ipro.de Fri Dec 8 06:55:02 2000 From: jok-zope at ipro.de (Jochen Knuth) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded References: Message-ID: <3A30CC16.80205@ipro.de> (this time after several attempts to reload) Michel Pelletier wrote: > Greetings, > > Read this carefully, you may end up with a free, signed copy of the Zope > book. http://www.zope.org/Members/michel/ZB/AppendixA.html return: Returns data The return tag stops executing DTML and returns data. It mirrors the Python return statement. Syntax return tag syntax: Stops execution of DTML and returns a variable or expression. The DTML output is not returned. Usually a return expression is more useful than a return variable. Python Methods largely obsolete this ^^^^^^^ ^^^^^^ tag. Jochen -- -------------------------------------------------- Jochen Knuth WebMaster http://www.ipro.de IPRO GmbH Phone ++49-7152-93330 Steinbeisstr. 6 Fax ++49-7152-933340 71229 Leonberg EMail: J.Knuth@ipro.de From michel at digicool.com Fri Dec 8 13:00:15 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: <20001208013027.A18658@hackandroll.org> Message-ID: Good eye! -Michel On Fri, 8 Dec 2000, Lalo Martins wrote: > Okey, so I decided to start by the last chapter (Appendix B) > ;-) in lynx, /method hilighted: > > >From Python > > Products, External Methods, and PythonMethods can call a > DTML Document in the same way as calling a DTML Document > from a Python expression in DTML; as shown in the previous > example. > > This paragraph appears twice. > > []s, > |alo > +---- > -- > Hack and Roll ( http://www.hackandroll.org ) > The biggest site for whatever-it-is-that-we-are. > > > http://zope.gf.com.br/lalo mailto:lalo@hackandroll.org > pgp key: http://zope.gf.com.br/lalo/pessoal/pgp > > Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar > > _______________________________________________ > Zope-book maillist - Zope-book@zope.org > http://lists.zope.org/mailman/listinfo/zope-book > > From webmaven at lvcm.com Tue Dec 12 00:01:17 2000 From: webmaven at lvcm.com (Michael Bernstein) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 Documentation Release References: Message-ID: <3A35B11D.3A428410@lvcm.com> Michel Pelletier wrote: > > On the heels of Brian's announcement, we are gurgling with joy to announce > a sychronized release of the Zope Book for the Zope 2.3 alpha release. > > http://www.zope.org/Members/michel/ZB/ > > This release marks the first time the book and Zope are "in sync" enough > for you to be able to fully try out all the examples and understand all > the concepts. Does this mean that the manuscript will be going out to O'Reilly soon, so we can expect a package in the mail by Xmas? :-) What a lovely gift that would make. BTW, Will a set of .zexp files for the examples be made available at some point? I don't recall whether the book is supposed to have a CD, but if there is, it seems like .zexp files for the examples should go there. Those would have to be checked for adherence to the book text as well, to make sure there weren't any discrepancies. Cheers, Michael Bernstein. From huayin_wang at yahoo.com Mon Dec 11 23:13:00 2000 From: huayin_wang at yahoo.com (Huayin wang) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] method vs. script bug Message-ID: <20001212041300.23939.qmail@web3201.mail.yahoo.com> Chapter.8 the first two graphics: feed (method) vaccinate (method) in Fig. 8.1 feedHippo.py (method) feedHippo.pl (method) + above in Fig. 8.2 do these count? This is in the most recent version (2.3.0 alpha1) __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ From michel at digicool.com Tue Dec 12 17:22:33 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 Documentation Release In-Reply-To: <3A35B11D.3A428410@lvcm.com> Message-ID: On Mon, 11 Dec 2000, Michael Bernstein wrote: > Michel Pelletier wrote: > > > > On the heels of Brian's announcement, we are gurgling with joy to announce > > a sychronized release of the Zope Book for the Zope 2.3 alpha release. > > > > http://www.zope.org/Members/michel/ZB/ > > > > This release marks the first time the book and Zope are "in sync" enough > > for you to be able to fully try out all the examples and understand all > > the concepts. > > Does this mean that the manuscript will be going out to > O'Reilly soon, so we can expect a package in the mail by > Xmas? :-) What a lovely gift that would make. They've been out for a couple weeks now... sigh. > BTW, Will a set of .zexp files for the examples be made > available at some point? I don't recall whether the book is > supposed to have a CD, but if there is, it seems like .zexp > files for the examples should go there. Those would have to > be checked for adherence to the book text as well, to make > sure there weren't any discrepancies. I don't think there are any plans to ship export files or have a CD with the book, but the examples definately need to be fixed. We've been thinking about running another contest "find the bugs in the examples" kinda thing. -Michel From michel at digicool.com Tue Dec 12 17:21:10 2000 From: michel at digicool.com (Michel Pelletier) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] method vs. script bug In-Reply-To: <20001212041300.23939.qmail@web3201.mail.yahoo.com> Message-ID: On Mon, 11 Dec 2000, Huayin wang wrote: > Chapter.8 the first two graphics: > feed (method) vaccinate (method) in Fig. 8.1 > feedHippo.py (method) > feedHippo.pl (method) + above in Fig. 8.2 > > do these count? > > This is in the most recent version (2.3.0 alpha1) They do, but someone already pointed them out, sorry! -Michel From docwhat at gerf.org Tue Dec 12 18:21:30 2000 From: docwhat at gerf.org (The Doctor What) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] New version of book uploaded In-Reply-To: ; from michel@digicool.com on Thu, Dec 07, 2000 at 05:07:32PM -0800 References: Message-ID: <20001212172130.A32030@gerf.org> Is there a way to DL the whole book for offline reading? It doesn't wget or curl very well.... (due to zope playing aquisition games)... An example is one page links to an image: http://www.zope.org/Members/michel/ZB/SimpleExamples.html/Figures/5-7.png Works in zope....not on Linux's ext2.... Ciao! -- Cthulhu for President! (If you're tired of choosing the lesser of two evils.) The Doctor What: Un-Humble http://docwhat.gerf.org/ docwhat@gerf.org KF6VNC From bill at noreboots.com Thu Dec 14 22:19:36 2000 From: bill at noreboots.com (Bill Anderson) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 DocumentationRelease References: Message-ID: <3A398DC8.E0CE20AA@noreboots.com> Michel Pelletier wrote: > > On Mon, 11 Dec 2000, Michael Bernstein wrote: > > > Michel Pelletier wrote: > > > > > > On the heels of Brian's announcement, we are gurgling with joy to announce > > > a sychronized release of the Zope Book for the Zope 2.3 alpha release. > > > > > > http://www.zope.org/Members/michel/ZB/ > > > > > > This release marks the first time the book and Zope are "in sync" enough > > > for you to be able to fully try out all the examples and understand all > > > the concepts. > > > > Does this mean that the manuscript will be going out to > > O'Reilly soon, so we can expect a package in the mail by > > Xmas? :-) What a lovely gift that would make. > > They've been out for a couple weeks now... sigh. So about when should we expect them (the drafts)? From addyd at unk.edu Sat Dec 16 14:30:01 2000 From: addyd at unk.edu (addyd@unk.edu) Date: Sun Aug 10 16:40:34 2008 Subject: [Zope-book] Appendix B "Method" usage. . . Message-ID: Trying for the free signed Zope Book! From: DTML Documents can be called in 3 ways. . .