[Zope] how can you tell who created an object in Zope?
I have started building asset management/role-based publishing system for multimedia application. It struck me that I could not tell who created objects in the first place. I see in undoable_transaction "user_name" by following UndoForm. I was building author into a few Z classes we fashioned for each multimedia type. Then, why bother because I have seen in UndoForm the user name of each undoable action. So, I backed out and started looking to see if there is pre-built in Zope. What I would like is to be able to tell who created an object? Is there an easy way to do this? Perhaps, I need to stare at undoLog? ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] LoginManager - logging out
No, you are right. It does not work. It is because LM's default login method is Basic. Basic logout does not work because of Basic authentication and that the browser caches the credential. This means unless you shut down your browser, whatever you do, you are back to square one. The remedy is to change your login method to Cookie so that AUTHENTICATED_USER.logout() works. Good luck. http://lists.zope.org/pipermail/zope/2000-December/037253.html Title: [Zope] LoginManager - logging out [Zope] LoginManager - logging out Aleksander Salwa [EMAIL PROTECTED] Sun, 17 Dec 2000 14:58:43 +0100 (CET) Previous message: [Zope] Windows NT: Changing default TCP port Next message: [Zope] how can you tell who created an object in Zope? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] I used this code in my logoutForm to logout user in my old setup (LoginManager-0_8_7a1, ZPatterns-0-4-2a1 and Zope 2.2.1): dtml-call AUTHENTICATED_USER.logout() It doesn't work when using LoginManager-0-8-8b1 + ZPatterns-0-4-3b2 + Zope 2.2.4. I've found a work-around: dtml-call acl_users.logoutUser(AUTHENTICATED_USER.getId()) It logouts user as expected. But, can anybody tell me, why the former one doesn't work as it should ? [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ Previous message: [Zope] Windows NT: Changing default TCP port Next message: [Zope] how can you tell who created an object in Zope? Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Zope] Re: Questions
Thin Zope SA fits 19 inch rack which is standard with most racks and ISP specification. ISPs where this rack works; Exodus, UUnet, Global Crossing, Imagenex and most ISPs The rack is for telephony spec which is shorter than most so that you can pack more horizontally according to telephone company spec. swallace wrote: Hi, If I get a Thin Zope SA, do you know of a couple good providers of rack space that would take one of your units? Or, is it better that I try to find a local provider (Salt Lake City)? What has been your experience with buying bandwidth with a communication service provider if I were to provide by own server such as the Thin Zope SA? Thanks, Steve ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] j2ee zope
alan runyan wrote: Ender pretty much summed everything I could say about J2EE and Zope. but I can tell you why we chose EJB/BEA at our company rather than something like ZOPE/OpenMerchant/PHP/etc. 1. we are consulting firm and we need to be able to leave a client. ZOPE could (at the time, and I believe still can) can get pretty hairy and there just are not that many people who can grok high brow ZOPE. There are plenty JAVA programmers, with years of experience. The J2EE standard is just a set of API's Sun has set up for java programmers to work with. The underlying implementation of the API and brand name is why you chose WBELOGIC over WEBSPHERE, or vice versa. Yes, a good counter point. There will be more people grokking (be one with for those not familiar with). Someone needs to plot out how people can grok and what is required. We provide Java consulting for this reason and I agree with your choice of WebLogic. We are looking at Enhydra as an alternative. Hopefully they will get content management framework done. 2. as others said in the previous posts: MessageQueueing, JDBC (this is significant, I still cant get the DCOracle to work), Transactions, Documentation (javadoc of j2ee), Distributed Objects (EJB's - entity beans have their place, but session beans usually most common approach to business logic), Persistence (entity beans are rarely used, ASAIS) and a Security model (pretty complex and confusing -- but acquisition and security can get pretty hairy as well). DCOracle was the easy part since DC did most of the work. On the other hand, MySQL was not straightforward. DCOracle is not fully implemented OCI-wise last time we used. I am sorry you did not have easy time. We have played with JDBC and it is nice. But it is much quicker in Zope to do things. Zope/Python needs good documentation and lots of it. There is lot more than 6 months ago. You realize Zope is on the move. Just think of all the tree killed to print "Deprecated" of Java document. Java security went through several versions. Security is like a hairly animal. You are never quite happy with it and always find something wrong with it. All that signed vs unsigned and sandboxing, I have not seen their full use until now. Problem of the commonest denominator... 3. ZOPE has quite a lot of flexibility, but as far as implementing a exchange or large transaction heavy site, I just wouldnt do it. I am pro-ZOPE all the way, but there has been very little (?) experience with building distributed systems w/ ZOPE and the community experience (I would imagine) leans more to Content heavy - simple transaction based websites. Can you share what those distributed systems are? 4. Integration. it would be nice to have ZOPE integrate w/ J2EE (via J2EE connectors?). What I see as ZOPE's huge win is content management. ZOPE is a inclusive system that integrates poorly w/ external systems (IMHO). you must hack up wget w/ custom scripts of rolling back. (you can not push a button and say 'all marketing information is approved' - then it goes to the staging server, then what happens if you have created another version, and have packed the ZODB?) there is no way of reverting back to a historical version if you pack the database. The PTK works fine for ZOPE.ORG, but how many businesses run their shop like zope.org? I havent seen many paradigm except ZOPE.ORG or memepool.com that could work like the PTK is targeting (autonomous people posting content, how do people share documents/content?). There is CVS integration to create real versioning and there is also dumper to interface with local file system. There are general trends to make these things useful. Let's not confuse Zope as DC. PTK is DC's approximation of content management. There are people who start grokking and make a few good examples of content stream lining. Specialist and workflow generalized on their way... I think we stand a good chance to solve real problems. As example, look at ZPatterns which is a framework born from Java land and moved over to Zope to provide glue layers between applications and domain. Distributed computing might be even better with Python. We just need to do more examples. Have a close look and it is quite practical and good. 5. Experience. not many people have had much experience (except DC) integrating ZOPE w/ large systems (anyone?). The reason why lots of these questions are coming up is because, a larger group of people are doing more with ZOPE. using it in situations where people have not even thought about putting it. I am fascinated by the system, but once you try to plop things on the filesystem and let ZOPE work in the background (role of CMS, not webserver) things start coming apart at the seams, the idea of versioning and rendering stuff out to the filesystem(how?) and then pushing it around the testing-staging-production environments-- there is no 'best practices'
Re: [Zope] Newbie Question
dtml-with myFolder dtml-in "objectValues(['DTML Document',])" dtml-var "_['sequence-item']" /dtml-in /dtml-with Dany Rioux wrote: I'm probably just being dumb... :) PASTE-- dtml-var standard_html_header p dtml-with News dtml-in objectValues /dtml-in /dtml-with /p dtml-var standard_html_footer /PASTE-- This doesn't work. Nothing gets printed. In the News folder is a DTML method called news999. Should it be a DTML document instead for this to work? I tried the three methods you gave me. objectValues, "objectValues()" and "objectValues('[File]')" and even "objectValues('[news999]')" but empty everytime. TIA Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andy McKay Sent: Thursday, November 23, 2000 7:00 PM To: Chris Withers Cc: Dany Rioux; Zope Mailing List Subject: Re: [Zope] Newbie Question Or even: dtml-in "objectValues(['File'])" if this news thing is a file ;-P Or even: dtml-in objectValues ;-) Chris Andy McKay wrote: dtml-in "objectValues()" -- From: "Dany Rioux" [EMAIL PROTECTED] Hi everyone, Simple newbie question... :) I've made a directory called News into which I will put files named newsXXX. X being a number from 999 to 001. What I want to do is to tell zope to put each file into a document. Now, here is what I figured out. dtml-with News dtml-in ??? --- that's where I'm stuck. I don't know how to iterate through a directory ... I want ALL the newsXXX displayed. /dtml-in /dtml-with How do I do that? TIA Dany ___ Zope maillist - [EMAIL PROTECTED] 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] how to get the created table names
There is no tag that shows tables and there will be not be such tag. What you might want to look into ; ZnolkWizard.. This is a handy module which queries for tables in your database and build create/edit/delete forms. There is also a handy way to specify key-related data. This gets you half way to build UIs when you have many tables. Good luck. Jose Soares wrote: There isn't a SQL standard command to show the tables in the database. Thus evry database has a different command to do such job. For example: DBMaker: to show TABLES: select * from SYSTABLE to show COLUMNS: SELECT COLUMN_NAME,TYPE_NAME,PRECISION FROM SYSCOLUMN WHERE TABLE_NAME='table_name' MySQL: to show TABLES: SHOW TABLES to show COLUMNS: DESC table_name PostreSQL: to show TABLES: select tablename from pg_tables where tablename not like 'pg_%' to show COLUMNS: SELECT a.attname, t.typname, CASE WHEN a.attlen 0 THEN attlen ELSE a.atttypmod END as length FROM pg_class c, pg_attribute a, pg_type t WHERE c.relname = 'table_name' AND a.attnum 0 AND a.attrelid = c.oid AND a.atttypid = t.oid I wrote a couple of ZSQL Methods to emulate a generic ISQL to query a database using the SQL language which shows the names of every table in the database and every column name, type and length of every table. If you want I can send you it. José subrahmanyan kalathur wrote: hi, I would like to know the names of the created table in zsql method. Kindly give me the tag for displaying the table names.( if exists.) thanks bye yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Objection to Python Script Name
Michel Pelletier wrote: Jason Cunliffe wrote: 2. Fixes the OReilly book in some sensible manner - add highly legible note on Page 1, update the index in useful manner to catch the differences. Oh I'll be doing that one, no worries there. 3. Will explain to me 100% clearly what difference there is now between a regular Python script and a 'Python Script' in Zope? There is no such thing as a "script" in the Python language (see the index of the "language reference" on the python site, you will find "method" and "module" but not "script"). "Script" is just a word that is informally and commonly used to refer to a chunk of code written in some language on some platform that is invoked by some action, possibly from a "command line" or by double clicking on an icon. In the case of a Zope Python Script, the code is written in python, the platform is Zope, and the "command line" is your web browser. Connotatively, scripting rings the same meaning as ASP scripting, ColdFusion scripting, PHP scripting, JSP scripting... How is Python script different from them? But Python script isn't "SCRIPTING" in that sense of the word. -Michel ___ Zope maillist - [EMAIL PROTECTED] 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Quota in Zope
Hmmm, Sounds like disk quota. Homesteading anyone? Andy McKay wrote: A quota of what where? - Original Message - From: "Stephan Goeldi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 24, 2000 7:50 PM Subject: [Zope] Quota in Zope Is there a way to do quotas in Zope? _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ Zope maillist - [EMAIL PROTECTED] 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Python and EJB (J2EE)
Good topic. I was hoping someone would come around to this. Perhaps, there should be a thread of discussion on this. I dont' know what is there to compare. EJB has been around awhile and J2EE is yet another jargon to throw people off. Here is what we have experienced; 1. Anything that needs to be done on J2EE takes twice as long and of course, costs more. 2. Of "Java" programmers (there are many, 2M strong as a Java wannabe proclaims), only handful of programmers can really do anything. 3. Corporations are still very much enamored with Sun and Java with an idea "Sun is big and we can't go wrong with it. Zope and Python, I am clueless." 4. My close friend specifies Java language and he won't have anything to do with Java application. There is a theory that in Amercia, we make most of our money with hypes as if it is a bad thing when things work. Nevertherless, I think there needs to be a study of point-by-point comparison between EJB and Zope. Don't look at it from Zope/Python POV but from Java the Hut POV. Python folks don't really know what resuable codes and libraries they all have and their developments have been organic. I admit I don't know this for sure. I am being a devil's advocate. Some hot developers throw some stuff and we marvel at them. I think for Zope/Python to become enterprise, it needs to have quite a few things and I like to know if its community is ready for the mundane. Here are some topics; 1. Message queue 2. implementation of protocols such as SOAP, BXXP 3. better documentations for different levels of readership (decision maker, developer, systems architect, etc) 4. promotions, workshops and training 5. learning to play golf and smoke cigar... :-) Hung Jung Lu wrote: Python and EJB (J2EE) = Searching through comp.lang.python newsgroup archive ([EMAIL PROTECTED]) and the [EMAIL PROTECTED] mailing list, I have not been able to find much about EJB (Enterprise Java Bean) and Python/Zope comparisons. (J2EE is Java Two Enterprise Edition, basically another jargon for any architecture based on EJBs.) I believe this field deserves to be explored a little bit more. If Python is going to be more used in the corporate environment, it has to be made stronger. This message is kind of unorganized, but I would like to have comments/feedback from other people. The following message shows that I am not the only one interested: ruben [EMAIL PROTECTED] 11/08/2000 in comp.lang.python: Coming from a Java background and recently using Python for application development, I have a question. Is there an equivalent to Enterprise JavaBeans in Python? If so, please point me to some resources!!! Similarly Joe Grace [EMAIL PROTECTED] has posted an explanation on J2EE in the Zope mailing list: http://zope.nipltd.com/public/lists/zope-archive.nsf/0dec1f578f18f116802568ab003585d2/86cffddc1a8a73b980256865006d44a2?OpenDocument I am starting to look into Java EJB, and I must say that despite all the hype, it is totally horrible. I can understand the goals of EJB, but I wonder whether something simpler and cleaner might be better. EJBs, especially entity beans, have largely failed and have disappointed many Java developers, or so it seems from the comments I have received from other people. First off: what is an EJB? There are plenty of books out there, there are plenty of websites out there, but you'll probably be hard-pressed to find someone that has actually worked with EJBs. I've never liked the names "Java Beans" and "Enterprise Java Beans". These are marketing names. We need some more generic names. "Java Beans" are an attempt by Sun to implement component programmming. That is, the idea is to have component classes on a single machine (virtual machine in the case of Java) that can be shared/used by different programs. In this sense, "Java Beans" are much like DLLs, Unix shared libraries, Python modules, or Microsoft's COM, ActiveX stuff. "Java Beans" are designed to be shared within one single machine. "Enterprise Java Beans" are much more complex than "Java Beans", and they are aimed at distributed computing: EJBs are designed as classes/components to be shared by multiple machines. In this sense, they are more like CORBA, or Microsoft's DCOM. Therefore: (1) Java Beans --- local components, run on the same machine (2) Enterprise Java Beans --- distributed components, distributed computing, multiple machines, potentially located in different geographic locations. These components often have instance pools running in multiple threads, and often are transactional. - What about Python? Or Zope? Simple distributed computing is not too hard to implement. CGIs in fact are a way of distributed computing. Python does have DCOM (Mark Hammond) and CORBA. But I don't think DCOM/CORBA are the way to go. In Python/Zope world, I guess Fredrik Lundh's XML-RPC is the closest starting point for distributed
Re: [Zope] Python Script demo site
I can't help it. No, I won't say it. Dimples anyone? Jason Cunliffe wrote: "Evan Simpson" [EMAIL PROTECTED] writes: A few announcements. First, in the interests of sanity and getting things moving, I'm choosing the only name other than "Python Method" to get a positive score in the naming poll. For the sake of future votes: did you actually hold a second poll ? Last I heard was a call for name candidates, which I thought would be the basis for a poll. Yes ..but the Florida supreme court overruled that late yesterady afternoon ;-) - Jason ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] Zope Book: Catalog Aware -- Bug?
Did you un-comment re-index in add? Hitting update catalog is not necessary. Chris Gray wrote: I've gone through the catalog aware example in the Zope book but there was one small problem. The vocabulary was not being updated until I went in and clicked the update catalog button. Is this a known bug or should I retrace my steps to figure out where I messed up? Chris ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] [Urgent] Zope good for multiprocessor hardware
Shane Hathaway wrote: On Thu, 16 Nov 2000 Andreas Tille wrote: we intent to buy new web server hardware. We want to run Debian GNU/Linux on a Sun system. I wonder if zope could profit from a multi-processor architecture on such a system. If you mix in ZEO (now open source), yes it can. With ZEO you can run independent Zope processes that all refer to the same site. The global interpreter lock becomes irrelevant. Zope server starts several threads. So could they be split over the different processors automatically, can I enforce it or is it not possible. Sorry for quoting myself but I need this information today because we have a meeting with some salesman. If I can not clearly answer this question it might be bad for implementing zope in our institute because a wrong designed hardware could lead to another software than zope and this would be a shame. Then ZEO is exactly what you're looking for. You are assuming one uses some sort of load balancing. A good question is how you can control certain processes running on which processor? Our experiences of ZEO have been a Zope Server and bunch of Zope clients serving requests. We still contend that you get more out of single CPU and lots of memory and no balancer. Also, it depends on processor scheduling and thread modules of a given OS. With single server, it is easier on administering your site. Well, that is given.. KISS, Keep It Stupid Simple is what I come back to after having used all kinds of stuff; balancer, SAN, etc. Shane ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] DTML source
Just don't put two of it into a page. You can have this problem when you use frame sometimes. Dany Rioux wrote: Hi Tom, There's a package for Zope called ZNavigation. I use it. It's very nice once you understand the basics. It's not very hard to use but it is a bit intimidating at first. I can't think of the link on top of my head but if you can't find it, get back to me, I'll do what I can to find it. HTH Dany -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Deprez Sent: Thursday, November 23, 2000 8:39 AM To: [EMAIL PROTECTED] Subject: [Zope] DTML source Hi, Are there some sites which publish there DTML source(structure)? I'm particulary looking on how several navigation, menu, ... structures are implemented in Zope. On Zope.org you can see the DTML-source. Unfortunately not the implementation of the navigation (or the menu on the left). Tom. ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] [Urgent] Zope good for multiprocessor hardware
This confirms my understanding of Zope and Python. ZEO does not solve your problem explicitly because ZEO is more of distributed way of balancing the load. This is another ball of wax and ,in theory, it works great. But it has its own particular problems. Until someone conclusively shows, our build of Zope server is based on single CPU. We would rather spend more time making Zope more fault-tolerant through use of journaled file system and high availability. Our experiences of supporting large sites have pointed in this direction. Daniel Dittmar wrote: I don't think Python (and therefor Zope) will profit from a multiprocessor as there is something known as the 'global lock' which prevents more than one Python thread to run at a time. Things look different if you're accessing a database (other than ZODB) because a properly written database module will release the lock while waiting for a reply. So Zope would use one processor and the database the other one(s). Other possibilities: - you have lots of static data, then these could be served by Apache directly (which would benefit from the additional processor) - you have some very expensive operations (generating GIFs from data etc.). Then you could implement those in a separate server. Andreas Tille wrote: On Thu, 16 Nov 2000 Andreas Tille wrote: we intent to buy new web server hardware. We want to run Debian GNU/Linux on a Sun system. I wonder if zope could profit from a multi-processor architecture on such a system. Zope server starts several threads. So could they be split over the different processors automatically, can I enforce it or is it not possible. ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] Re: is it possible to see whether any user is using a perticular zope object
subrahmanyan kalathur wrote: As you want to serialize access to your database, you might be interested in locking. Search the (searchable) list archive for "lock" and "locking" to find more information about it. For locking, too, my "SharedResource" can help you. *HOWEVER*, I follow other posters: it is probably much easier to switch to a different RDBMS. hi, which RDBMS will u suggest. and for that what are the changes need to be done for my zope. and where can I get that. give the links please. Is it important to keep transaction logs? Just avoid RDBMS without row-leve locking. Typically, Sybase. I don't know about new one although there is a trick of increasing page size and enabling it. Undocumented feature. :-) Why not build out role-based architecture with tracking include? thanks bye yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] How to extend LoginManager:LoginUser with costum properties?
Develop UIs to set that for example? pseudo thoughts 1. check getRoles() and getUserName() 2. right role or right owner 3. allow changing those things (which I have no clue how you implmented your data; sheet provider, plugin) Good luck. Dirksen wrote: How can I do that, like setting somebody's real name or title, etc.? cheers Dirsen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] How to get authentiedcated user name in pythong method?
look LoginManager.py under Products/LoginManager to look for how it is refered and figure it out? Dirksen wrote: How can I do that just as dtml-var "AUTHENTICATED_USER.getUserName()" in dtml? I don't want to pass AUTHENTICATED_user as a parameter. A hint please. cheers Dirksen __ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
Re: [Zope] Re: Zope digest, Vol 1 #1067 - 68 msgs
eMarket comes to my mind... It has several features. Nothing that does everything you need out of the box. Little more involved now that ZPatterns is used. Diarmaid Lynch wrote: I'm interested in making a non-commercial "e-bay" type application for selling second hand books @ my university. any suggestions? Cheers. ___ Zope maillist - [EMAIL PROTECTED] 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 ) begin:vcard n:Kim;Chalu tel;work:(212) 929-3087 x-mozilla-html:TRUE url:www.egenius.com org:eGenius, Inc "Open-Source People" adr:;;137 Varick Street, 6th FL;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator end:vcard
[Zope] Re: is it possible to run a DTML method without using a browser.
Well, using HTTP to run an application is not the right way to go. It is because of the nature of HTTP or TCP/IP. There is such naggin thing as time out and a notion of transaction. Short answer is to break things into parts; initiation and completion. If a task takes longer than N minutes, it is reasonable to say it is a long-running task. So, a good way is to use HTTP to create an event or initiation. Then, use a daemon to complete. You can run Zope application from the command line. Use RPC? Perhaps install ZEO and use one server to work on ZODB and the others to serve HTTP requests? This way, you have a delivery machine and a report machine. I can ramble on about two things; message queue and guaranteed delivery. For enterprise (which just means stability and certainty among others), these are two features I think Zope needs but does not have. If you can be more specific, it would be helpful but anyway. subrahmanyan kalathur wrote: Hi, To run a DTML method is there any other method than using a browser. Or even if it is running in a browser, it should not be there in the task bar. I have an application which need to run for some times. So one DTML method will be running continuously , and it will refresh it self after some duration. And this will continue for some times. So Kindly suggest me what is better. thanks yours, K.H.Subrahmanyan ( [EMAIL PROTECTED] ) ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Support for PHP?
There is a post about using PHP with Zope. http://www.zope.org/Members/Mamey/PHP But what is the point? Ben Ocean wrote: Hi; I'm reading *the book* and it appears that Zope supports Perl and Python but *not* PHP :(( Well, I'm learning Python and I have a limited but working knowledge of PHP: I really *don't* want to have to learn Perl because, although there's lots of stuff out there written in Perl, PHP (IMHO) is better suited for the Internet than Perl. (I don't mean to offend any Perl officionados out there.) So... Is there, or will there be support for PHP? Will I be able to somehow cobble an interface between Zope and my PHP programs? Also (without getting too far OT) can I do pretty much anything I can do in PHP in Python? TIA, BenO ___ Zope maillist - [EMAIL PROTECTED] 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 )
[Zope] ImplicitAcquirerWrapper
Has anyone run into this problem? Zope Error Zope has encountered an error while publishing this resource. Error Type: SystemError Error Value: Failed to import class ImplicitAcquirerWrapper from module Acquisition Thanks in advance. begin:vcard n:Kim;Chalu tel;fax:(212) 929-3076 tel;work:(212) 929-3087 x-mozilla-html:FALSE url:http://www.egenius.com/ org:eGenius, Inc adr:;;137 Varick street, 6th Floor ;New York;New York;10013;US version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Navigator x-mozilla-cpt:;0 fn:Chalu Kim end:vcard
[Zope] repost of ImplicitAcquirerWrapper
Apology of sending multipart. Has anyone run into this problem? Zope Error Zope has encountered an error while publishing this resource. Error Type: SystemError Error Value: Failed to import class ImplicitAcquirerWrapper from module Acquisition Thanks in advance. ___ Zope maillist - [EMAIL PROTECTED] 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 )