Martin Winkler wrote
I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there
I had understood that Python and Zope excelled at string manipulation. That's why I am surprised that it would be difficult to scan a folder full of documents to find a word and replace it with another (with the option of ignoring anything in pointed brackets). I'm not a programmer so I probably don't appreciate the complexities of the task, however in this case it seems like the object-oriented database is a hindrance rather than a help. If it was just a batch of html files I could search and replace through them with just about any piece of software on my desktop. I wouldn't know whether this is the sort of tool that is generally useful, but in my work I use search and replace all the time (if only to fix my endless confusion over 'its' and 'it's') Cheers Lee Hunter Hum Communications Ltd.
Lee Hunter wrote:
Martin Winkler wrote
I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there
its not that hard to program, if you want just want to replace, previewing is a bit difficult, because your asking for a multi-doc preview (how?) ideally two external methods. one recurses through folders collect objects of a particular meta_type the second external method calls the first to get a collection of objects for a particular meta_type and performs string manipulations on the raw() representation of the method. kapil
ideally two external methods. one recurses through folders collect objects of a particular meta_type
the second external method calls the first to get a collection of objects for a particular meta_type and performs string manipulations on the raw() representation of the method.
I think a better implementation would be to add a 'Replacable' interface, otherwise you have to assume too much about the internal representation of lots of different classes of object. --jfarr
I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but replace it only on some of the pages??? The lack of a search and replace, a find that actually "finds" a string on a page (instead of just the page) and other standard editor features are the reasons why Zope is being phased out of this companies (15,000 person worldwide company, the worlds largest web hosting and fiber optic network) web tool set. Don't get me wrong, I think Zope is the greatest thing since sliced bread. But, if Zope is to become anything other than a bastion for open source zealots (myself included), a real editor is a necessity not a nicety! Zope had the opportunity to sweep this company ( it could have ended up on hundreds if not thousands of servers) but the lack of a professional interface doomed it. DR Lee Hunter wrote:
Martin Winkler wrote
I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there
I had understood that Python and Zope excelled at string manipulation. That's why I am surprised that it would be difficult to scan a folder full of documents to find a word and replace it with another (with the option of ignoring anything in pointed brackets). I'm not a programmer so I probably don't appreciate the complexities of the task, however in this case it seems like the object-oriented database is a hindrance rather than a help. If it was just a batch of html files I could search and replace through them with just about any piece of software on my desktop.
I wouldn't know whether this is the sort of tool that is generally useful, but in my work I use search and replace all the time (if only to fix my endless confusion over 'its' and 'it's')
Cheers
Lee Hunter Hum Communications Ltd.
_______________________________________________ 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 )
In article <3A194F6F.80F48D9B@globalcrossing.com>, Daniel Rusch <drusch@globalcrossing.com> writes
I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but replace it only on some of the pages???
The lack of a search and replace, a find that actually "finds" a string on a page (instead of just the page) and other standard editor features are the reasons why Zope is being phased out of this companies (15,000 person worldwide company, the worlds largest web hosting and fiber optic network) web tool set. ... I also would like to be able to search dtml-method code that I put under ZClasses in my products. I can now after a bit of messiness with certain 'reserved' names (eg filtered_meta_types) get out all of the code in my product using ftp, but getting modified versions back is a problem. A source export/import to filesystem would be useful and allow all of the traditional tools to be used at least. -- Robin Becker
Hi Robin, ZCVSMixin works with ZClasses. It's a little cumbersome at the moment due to the Container/Contained problem and others: http://dev.zope.org/Wikis/DevSite/Proposals/SynchronizationMechanismZCVSMixi... But it does manage ZClass method and properties on the filesystem. You do need to keep your head screwed on right to use it successfully with ZClasses right now.... hopefully it will be more 'bullet proof' in the future. -steve
"Robin" == Robin Becker <robin@jessikat.fsnet.co.uk> writes:
Robin> In article <3A194F6F.80F48D9B@globalcrossing.com>, Daniel Robin> Rusch <drusch@globalcrossing.com> writes >> I have been following this thread with mild amusement. Those of >> you who don't think that there is any need for a search and >> replace are being, at the least, disingenuous. Have you never >> needed to replace a dtml var that is on a hundred or more pages >> with another one, but replace it only on some of the pages??? >> >> The lack of a search and replace, a find that actually "finds" >> a string on a page (instead of just the page) and other >> standard editor features are the reasons why Zope is being >> phased out of this companies (15,000 person worldwide company, >> the worlds largest web hosting and fiber optic network) web >> tool set. Robin> ... I also would like to be able to search dtml-method Robin> code that I put under ZClasses in my products. I can now Robin> after a bit of messiness with certain 'reserved' names (eg Robin> filtered_meta_types) get out all of the code in my product Robin> using ftp, but getting modified versions back is a Robin> problem. A source export/import to filesystem would be Robin> useful and allow all of the traditional tools to be used at Robin> least. -- Robin Becker Robin> _______________________________________________ Zope Robin> maillist - Zope@zope.org Robin> http://lists.zope.org/mailman/listinfo/zope ** No cross Robin> posts or HTML encoding! ** (Related lists - Robin> http://lists.zope.org/mailman/listinfo/zope-announce Robin> http://lists.zope.org/mailman/listinfo/zope-dev )
Daniel Rusch wrote:
I have been following this thread with mild amusement. Those of you who don't think that there is any need for a search and replace are being, at the least, disingenuous. Have you never needed to replace a dtml var that is on a hundred or more pages with another one, but replace it only on some of the pages???
The lack of a search and replace, a find that actually "finds" a string on a page (instead of just the page) and other standard editor features are the reasons why Zope is being phased out of this companies (15,000 person worldwide company, the worlds largest web hosting and fiber optic network) web tool set.
Don't get me wrong, I think Zope is the greatest thing since sliced bread. But, if Zope is to become anything other than a bastion for open source zealots (myself included), a real editor is a necessity not a nicety! Zope had the opportunity to sweep this company ( it could have ended up on hundreds if not thousands of servers) but the lack of a professional interface doomed it.
DR
Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with gnome or kde would be possible, indeed there are already efforts underway to do both. But to create a cross-platform solution really needs... Mozilla. Sadly, the ZopeMoz projects appears to be dead, hopefully developer interest can be generated in reviving it after ActiveState releases the python bindings to XPCOM (which should be soon). kapil
Lee Hunter wrote:
Martin Winkler wrote
I just wanted to express that this feature may be too hard to program for the (IMHO) rare cases that we really need it, but IF there
I had understood that Python and Zope excelled at string manipulation. That's why I am surprised that it would be difficult to scan a folder full of documents to find a word and replace it with another (with the option of ignoring anything in pointed brackets). I'm not a programmer so I probably don't appreciate the complexities of the task, however in this case it seems like the object-oriented database is a hindrance rather than a help. If it was just a batch of html files I could search and replace through them with just about any piece of software on my desktop.
I wouldn't know whether this is the sort of tool that is generally useful, but in my work I use search and replace all the time (if only to fix my endless confusion over 'its' and 'it's')
Cheers
Lee Hunter Hum Communications Ltd.
_______________________________________________ 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 )
_______________________________________________ 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 )
Kapil wrote:
that would like to see this changed. Building such an interface with gnome or kde would be possible, indeed there are already efforts underway to do both. But to create a cross-platform solution really needs... Mozilla. Sadly, the ZopeMoz projects appears to be dead, hopefully developer interest can be generated in reviving it after ActiveState releases the python bindings to XPCOM (which should be soon).
Wasn't there some talk of using Radio Userland (formerly Pike) as an interface to Zope? It's too bad that Userland has made the very odd decision to broaden RU into a music sharing gizmo - it really lost focus after that point. But at least it still offers my beloved search and replace and a few other basic editing tools. On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have - features that would probably be hard to incorporate into a browser interface. Regards Lee Hunter Hum Communications Ltd.
On Tue, 21 Nov 2000, Lee Hunter wrote:
On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have - features that would probably be hard to incorporate into a browser interface.
what about a plug-in, written in {Java | TclTk | whatever_language}? I don't have skills to do this but I think this could be done. just an idea! []s Mario O.de Menezes "Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21
Mario Olimpio de Menezes wrote:
On Tue, 21 Nov 2000, Lee Hunter wrote:
On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have - features that would probably be hard to incorporate into a browser interface.
what about a plug-in, written in {Java | TclTk | whatever_language}? I don't have skills to do this but I think this could be done.
just an idea!
sadly... cross-browser compatibility would be a pain, and performance would bite. kapil
on 21/11/00 3:05 am, Ender at kthangavelu@earthlink.net wrote:
Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with gnome or kde would be possible, indeed there are already efforts underway to do both
Surely something written in python and Tk would be better, so that the editor could also be run on macs, PCs as well as Linux. tom
tom smith wrote:
on 21/11/00 3:05 am, Ender at kthangavelu@earthlink.net wrote:
Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with gnome or kde would be possible, indeed there are already efforts underway to do both
Surely something written in python and Tk would be better, so that the editor could also be run on macs, PCs as well as Linux.
tk on the macs is flaky, i'm not to sure of Tk's widget potential to do the needed html rendering quickly ( i haven't looked at grail in a while though). mozilla really seems like the only strong option for cross-platform dev of a zope ide. good news though, from http://www.python9.org/p9-applications.html At a minimum, these sessions will cover the following: The Komodo Integrated Development Environment, a Mozilla-based, cross platform IDE which is both extensible and network-oriented; The Python-XPCOM bindings, which allow the Python programmer to build Mozilla-based applications and script them; Python for .NET, a new port of Python to Microsoft's .NET platform; and Visual Python, a plugin for Visual Studio .NET, which allows the Visual Studio programmer to integrate Python into her development environment. kapil
participants (8)
-
Daniel Rusch -
Ender -
Jonothan Farr -
Lee Hunter -
Mario Olimpio de Menezes -
Robin Becker -
Steve Spicklemire -
tom smith