x27;t know much about it, but is it better to run
through that than to go through mod_proxy?
Or nginx?
We had one new customer totally surprise us with their traffic/load
(mostly solved, for now, due to some aggressive caching) and I'm
interested in trying
#x27;m finally
coming up with a working buildout based setup!! Well, I've got one
working, but now I'm trying to understand it better and polish it up.
Thanks,
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
y is operating in right now.
> > Buildout *seems* like it could fix some big problems that have been
> > hitting us hard in recent weeks. But I still can't wrap my head around
> > how.
>
> Maybe you should start a new thread and tell of your use cases and ask
> for examples of how to solve them?
Now that I'm getting farther along, I should be able to do that. If I
have time. Got a lot of pressure things the next couple of days :(.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
o smaller components as we change source code
management systems) use a LOT of Zope 3. Do I grep the source for
'from zope ...' and 'import zope.*' and list all unique dependencies
that I find?
> Lots of people have. I expect that th
wait, wait, wait, and then have a
nice little self contained testing and development environment. But
I've never been able to get a full Zope 3 "Application" up and running
in that environment.
There's just no time and the tools are just too hard to learn under
the circumstance
On Nov 9, 2007 12:04 AM, Hermann Himmelbauer <[EMAIL PROTECTED]> wrote:
> Am Freitag, 9. November 2007 01:31 schrieb Jeff Shell:
> > - zope.component 3.4.0 (or anything built into the zope 3.4 tarball)
> > - sqlalchemy 0.4.0
> > - simplejson
>
> Btw.
rk in 3.3.1). I
may be wrong about all of that, but that's how I currently perceive
things. Things just look so different between the two.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
come together.
As for optimism... We'll see. :) But this was the step I could never
make work (getting a buildout-managed instance up and running) before
running out of time. Thanks again.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.o
with them? I just don't have
the time. I scarcely have time to keep up with the lists (which is
obvious since I haven't read a thing for nearly three months).
I'm going to resume my conversation here, responding to myself.
August 16, 2007, Jeff Shell wrote:
> > Jeff Shell wrot
On Aug 20, 2007, at 3:45 AM, "Jeremy Cook" <[EMAIL PROTECTED]>
wrote:
Is anyone using Kupu (or any other visual editor) with zope3? I saw
hints that it might be ported to zope3 or conversely that "kupu must
die". When I tried installing it under zope3 I didn't get awfully far.
I tried and tr
On Aug 17, 2007, at 5:29 PM, Chris Withers <[EMAIL PROTECTED]>
wrote:
Martin Aspeli wrote:
def handler(event):
if IContainerModifiedEvent.providedBy(event):
return
...which is pretty inefficient.
All the subscriber lookup, etc, has to happen to get this far.
There must be a
> Jeff Shell wrote:
> > But now I'd like to be able to install that into "classic" zope 3.3
> > instance homes, trying to be as unobtrusive as possible.
>
> How have you installed other packages before? I suspect by just dumping
> their source in INSTANCE/li
eases, but it's been an uphill
battle just to get this far.
On Aug 16, 2007, at 11:29 AM, Benji York <[EMAIL PROTECTED]> wrote:
Jeff Shell wrote:
But now I'd like to be able to install that into "classic" zope 3.3
instance homes, trying to be as unobtrusive as pos
; bits that
are satisfied by a regular Zope installation into an 'extras_require'?
Thanks,
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
ht solution (I don't understand the implications of
'_p_independent', and some quick glancing around the web makes it
appear as though you wouldn't want to count on a Length object for
business logic).
Would an annotation or tiny sub-object with two fields, the int a
ing to try
out buildout by watching it run on z3c.formdemo. But, alas, it's been
very flakey.
How common is this problem?
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
On 7/30/07, Stephan Richter <[EMAIL PROTECTED]> wrote:
> On Monday 30 July 2007 09:59, Jeff Shell wrote:
> > Last time I checked, which I admit has been a while, buildout didn't
> > provide any examples of how to transition into buildout style
> > development.
>
easier to write our own automation system that fit in with
the way we've worked for so many years than to try to figure out
buildout, eggs, all of the various half documented recipes, etc. I
feel like I need a training course or consultancy to move to buildout,
which requires time and money that we just don't have.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
encoding* instead of
*decoding*, which is why I would see garbage characters show up in
certain situations. I now realize this is the right way to work with those
tools::
rendered = textile(content.encode('utf-8'), encoding='utf-8',
output='utf-8
On 2/28/07, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote:
Jeff Shell wrote:
> - Not have any encode / decode errors. 'ascii codec doesn't recognize
> character ... at position ...'. I don't want to keep on bullying
> through whenever this pop
but that's no longer
acceptable. Sometimes I quiver in terror, waiting for everything to
fall down because of something so seemingly basic like strings/text.
It may be a lot of technical debt, or it may be extremely easy to pay
down. In any case, it's time to pay it down. :)
Thanks,
--
Jeff
I used. I believe Zope 3.1
implemented the "Simplify Component Architecture" proposal which got
rid of extraneous bits like Services, and as such may be a bit easier
to work with.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://
t like 'w'), and then access the widgets
within that setup::
Anyways, you can use the 'python' or 'nocall' expressions if you want
to get the widget unrendered:
or
or
--
Jeff Shell
_
collection of mochikit, dojo, et al).
>
> Ah, the real reason for my response here: how does one use third party
> WSGI "Middleware" with Zope?
zope.paste, maybe (http://svn.zope.org/zope.paste/)? I think that's
what Jim Washington has used.
Ahh, thanks, I'll take a look.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
ogether
on their own and/or with big systems like Zope.
By the way - I've had some issues with the dependency tracking in
zc.resourcelibrary. Is there a tracker where I can post said issues?
(if I can remember and reconstruct them, that is)
--
Jeff Shell
___
e as well?" .. or
something like that. It's a bit beyond the scope of my current
project, but is something I'd like to get back to.
I see there's a `zc.extrinsicreference` in the svn.zope.org
repository. Is that in a usable state?
Thanks,
Jeff Shell
atalog, hurry, etc).
I know I may need to write Recipes for some of what I want to do and I
don't mind that. I just would like to keep our development strategy --
develop in an instance home built on a zope 3 release -- working
smoothly while automating all of the dependencies and
site.zcml/con
On 9/28/06, Philipp von Weitershausen <[EMAIL PROTECTED]> wrote:
Jeff Shell wrote:
> One blow-up instance was on something that was marked deprecated (a
> vocabulary that used `zope.app.utility.vocabulary.UtilityVocabulary`
> as its factory).
How? can you provide a traceback? Li
On 9/28/06, Jim Fulton <[EMAIL PROTECTED]> wrote:
Jeff Shell wrote:
> ... now what?
>
> I just tried moving some work over to Zope 3.3. Already things are
> blowing up.
What do you mean by blowing up?
We certainly tried to make 3.3 backward compatible.
Jim
One blow-
one have an easy trick (a sed / awk / perl / python /
etc script) for easily switching an Instance Home between two core
Zope versions? I have a lot of code that I need to support back to at
least 3.2 and while I'm working with trying to migrate to Zope 3.3,
I'd like to be able to switc
On 8/14/06, Stephan Richter <[EMAIL PROTECTED]> wrote:
On Monday 14 August 2006 01:00, Jeff Shell wrote:
> If things slow down... uhm, ever... for us, I'd like to see if I can
> get us to open up some of the more generic toolkits we've built up in
> recent months, as the
rojections and implementations as estimations, and us not really
scoping out ahead of times what it would mean to track money through
the system with 100% reliability, or deal with complex product
offering scenarios that couldn't even be done before.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
issue without
badgering the response; something similar to Seaside's `updateRoot`
method.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
hen a client or boss goes "can we get rid of those tabs at
the top? how about sorting the menu on the side? can we add some links
to the footer for support contact? why does that say 'add ZPT page?'",
etc.
If things slow down... uhm, ever... for us, I'd like to see if I can
get us to open up some of the more generic toolkits we've built up in
recent months, as they've been very empowering.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
- and with the cleanest application/business code we've ever
had. But it took a lot of work and time and experience from prior
engagements to filter out the parts of Zope 3 that we wanted, the
parts that were crucial, and all of the fluff we could lea
things to different people. Some may
want invisible or near invisible integration with conventional Zope
content-management-esque concepts, integration with the ZMI, the
dublin core, etc. That's overkill for my needs, which is why I've
stayed away from those implementations. Having Location, Se
On 4/26/06, Bernd Dorn <[EMAIL PROTECTED]> wrote:
>
> On 27.04.2006, at 02:44, Jeff Shell wrote:
>
> > So I spent the day writing an IAuthenticator utility that loads
> > principals out of an RDBMS (via a SQLAlchemy mapper based model). I
> > got that working. A
for this principal, role combination
"""
def getPrincipalsAndRoles():
"""Get all settings.
Return all the principal/role combinations along with the
setting for each combination as a sequence of tuples with the
role id, principal id, and setting, in that order.
"""
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
re documentation. Trying to figure
out where to plug in (if possible) in this situation is tricky.
And I imagine I'm probably overthinking everything at this point
anyways. Maybe it'd be better to just ask for some kind of two-phase
commit support in SQLAlchemy's unit of work syste
ot;Itinerary Details Updated"
self.onSuccess()
else:
self.status = u"No Changes"
Something like that should work. You could even make your own base
EditForm class that defined the above action, and a subclass would
just need to provide onSuccess and the form_fields.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
ry=".Book"
> permission="zope.ManageContent"
> />
>
>class=".Book"
> permission="zope.ManageContent"
> view="addbook"
> title="Book"
> />
>
>schema=".IBook"
> permissi
gable auth utility and its sources.
from myapp.security.browser import establish
establish.createAuthenticationUtility(
default, realm='Killer App', registerAs=''
)
# etc...
And then in configure.zcml:
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
On 3/2/06, Max M <[EMAIL PROTECTED]> wrote:
> Jeff Shell wrote:
>
> >I think this keeps Zope 3 as we know it alive, keeps the Zope brand
> >intact, and offers a future for Zope 2 and similar caliber desires for
> >a Big App Server while not interfering with the more
ides a robust and mature web development
environment that is in place already behind many web sites and applications
worldwide. [download zope 2.9 now | more info | roadmap ]
Thoughts?
I think this keeps Zope 3 as we know it alive, keeps the Zope brand
intact, and offers a future for Zope
On 2/22/06, suresh <[EMAIL PROTECTED]> wrote:
> Jeff Shell wrote:
> > On 2/21/06, David Johnson <[EMAIL PROTECTED]> wrote:
> > With formlib, you'd be able to get/set this in the update() method, or
> > if you're clever, you can do it in publishTraverse s
ctid is included in the rendered form.
> I would use sqlos, but my limited exposure makes me think it is not as
> flexible as I would like.
I haven't used sqlos. A benefit of sqlos is that, in theory, it would
load your Contact object and make it appear pretty much like any other
Zope ob
, and look up the IFormAPI
interface too. All of our custom forms became so much easier to
control and understand after moving to formlib, and in many cases the
code to support a form actually shrank. There's a lot more plain old
Python code and a lot less ZCML magic, which makes it easi
gt; > Stephan
> > --
> > Stephan Richter
> > CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
> > Web2k - Web Software Design, Development and Training
> > ___
> > Zope3-users mailing list
> > Zope3-users@zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
>
>
>
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Oh! And reference to related Persistence modules (persistent mappings,
lists, BTrees):
http://www.zope.org/Wikis/ZODB/FrontPage/guide/node6.html
On 2/14/06, Jeff Shell <[EMAIL PROTECTED]> wrote:
> On 2/14/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
> > D'oh! That&
On 2/14/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
> D'oh! That's confusing. Isn't there a class that gathers all of these in one.
>
> It seems confusing, you derive from Persistent but only some are accepted.
> Does that mean that there's PersistentFloat and PersistentTuple too?
> If not, why
On 2/3/06, Gary Poster <[EMAIL PROTECTED]> wrote:
>
> On Feb 3, 2006, at 9:32 PM, matt wilbert wrote:
>
> > I have exactly the same situation, as I am writing a network
> > management tool. I am using one big container and a local catalog.
> > Then you can slice and dice as best suits you. I also
The lack of ZCML magic is wonderful. Even more wonderful - i was
dreading trying to make an add form that populated a custom written
date widget with values based on the end of a date range set on the
parent if there were no values set yet. I was dreading that all week.
But last night, when it came time to implement that feature, I found
the 'get_rendered' option very quickly, and three lines of code later
I had a form whose usability had increased tenfold.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
concepts of 'adapts'
and 'provides', and what that means for me looking to subscribe to an
event with a plain old function. Or class. Or instance.
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
I know that Stephan Richter has responded to many of these points.
I'll add in some of my views as someone from the borderlands - I'm not
a core developer, but I am someone who has used Zope since before it
was Zope. Since before it was "before it was Zope". I worked on core
Principia and Zope a lo
On 1/8/06, David Johnson <[EMAIL PROTECTED]> wrote:
> What is the best for merchants to manage the product list and content of
> their site? I can certainly put in into an RDBMS, but what would be the
> easiest way for them to manage their offering? Should I create a portal site
> for them or shou
mapping (similar to a catalog index).
>Searching for tags is easy - just query the mapping
>for appropriate keys. New tags are created by adding
>a new key to the mapping, a (weighted) collection of
>tags is the list if mapping keys.
>Drawbacks: I can't think of any right now
>
> Has anyone done that before? Maybe I'm just reinventing the wheel...
>
> Thanks in advance,
> Igor
> ___
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
--
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Try using ``len(self.context)``. The container will report its size.
For a BTreeContainer, methods like ``values`` return OOBTreeItems, not
a regular Python list. That's where the error is happening. You can
get to the values of the OOBTreeItems object, but not its length. But
the container itself
Hello. Something came up today that I'm not sure how to deal with. A
long and wordy explanation follows, but the quick question I have is
this: without using sessions, or anything else tied into transactions
/ persistence but tied to the current visitor, how can I write to a
very small 'messenger'
One option that you have is to protect the View object that you use to
do the renaming, unless you're using views that are provided by
someone/something else (the default Zope UI, etc). You can protect
your 'rename' view and inside of it use
'zope.security.proxy.removeSecurityProxy' to get access t
On 1/4/06, Benji York <[EMAIL PROTECTED]> wrote:
> Jeff Shell wrote:
> > Viewlets are a new feature in Zope 3.2.
>
> They are? I don't recall it being so (and would prefer it not).
Why not? They're great! I've been using them in a new application I've
On 1/3/06, Brad Allen <[EMAIL PROTECTED]> wrote:
> At 11:52 PM -0700 1/2/06, Jeff Shell wrote:
> >There are a lot of ways one can go from there. In Zope 3.2, a good
> >solution for pages made of parts where the content of the parts comes
> >from ZWiki pages, you could p
What about using zope.app.component.hooks.setSite? It sets the site on
a zope.thread.local based object, and I believe most utility lookups
fall back on that setting if context is not supplied. setSite is
called when a site is traversed through, via a BeforeTraverseEvent.
It's cleared at the end of
``context/wiki/About_Downwinders`` wouldn't (probably) know how to
render itself as HTML. In fact, you'd probably not want it to render
itself as HTML in its default since that would render the whole page.
To do this properly in Zope 3, you'd want to define a browser view to
render the ZWiki page
> Thanks Chris, that actually does make things clearer. As a Z3 beginner,
> longtime Z2 user (ZPTs, scripts, ZSQL), and corporate developer who is
> trying to promote Z3 in-house, I am all for the current trend toward
> simplification, especially of ZCML
> (http://www.z3lab.org/sections/blogs/phil
First - you can use ``from zope.app.container.constraints import
contains``. It's a bit easier to write.
Anyways, in Python you can't reference the class you're in because
that name, 'ILinkContainer' does not exist **until the end of the
class statement** (after all of the things indented within t
On 12/31/05, Marius Gedminas <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 29, 2005 at 11:22:28PM -0700, Jeff Shell wrote:
> > Again, this is to have URLs like:
> >
> > myapp/@@tags/zope/viewlet
> >
> > And turn that into a catalog search for anyof {'zope&
Oops. It didn't seem to provide the code. Ahhh, GMail. Not even you
can convince me that web based mail is going to replace real
clients... And if there are multiple copies of this message, I
apologize.
from zope.interface import Interface, implements
from zope.app import zapi
from zope.event impo
On 12/30/05, Florian Lindner <[EMAIL PROTECTED]> wrote:
> Am Freitag, 30. Dezember 2005 17:45 schrieb Jim Fulton:
> > Philipp von Weitershausen wrote:
> > > So, what you want is not a list of classes but a list of factories that
> > > can create IContainers. This is possible by using
> > > zapi.get
This week I've been revisiting some of my early Zope 3 ideas in a
small new application we plan to use internally. One of the core
concepts of this system is 'tagging', similar to del.icio.us, flickr,
snippets, etc. Old versions that I wrote managed tags manually, with a
'taglib' object and tags be
On 12/23/05, Shane Hathaway <[EMAIL PROTECTED]> wrote:
> Jeff Shell wrote:
> > I just believe - heavily - after many of my Zope 2 experiences that
> > configuration as done by ZCML should be as separate from the code
> > itself as possible. If it's going to be in t
figuration directives, explain their
Python alternative. Not to promote its use when writing large systems,
shared toolkits or frameworks, but to show how to test or just to use
adapters and utilities in small applications that don't require the
full Zope toolkit.
I mentioned that I liked the ZCML documentation. It's great for
finding out what directives are available and what their options are.
But it's still pretty poor at explaining what is really going on
behind the scenes. That may be more advanced documentation for some
cases - but it could cut down on some users frustration and surprises.
OK. This has been long and rambling. I blame the christmas lunch cocktails. :)
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
king), efficient image serving from Zope is
not that big of a concern to us...
But back to the issue at hand - knowing how to better serve those out
to the response would be a big help.
On 12/19/05, Martijn Faassen <[EMAIL PROTECTED]> wrote:
> Jeff Shell wrote:
> > I was using it in
I was using it in some custom views for HurryFile based images. I've
removed it since I started testing our code against Zope 3.2. Right
now I just return the hurryfile binary data with a return statement
(one big chunk), but am looking forward to knowing how to return long
output.
On 12/19/05, Ji
On 12/6/05, Frank Burkhardt <[EMAIL PROTECTED]> wrote:
> Hi,
>
> after adding a "Unique Id utility", "Catalog" and some field + text indices
> I successfully added documents which seem to be added to the catalog
> (as shown in the catalog's "Advanced"-tab).
>
> However I've got two question now:
>
f the HTTP auth challenge box is canceled
out of.
On 11/16/05, Jeff Shell <[EMAIL PROTECTED]> wrote:
> For a simple content management system we're building, I've started
> working on a simple security interface which is supposed to enable /
> disable 'view' (and
I have an application where I'm trying to use 'zope.app.generations'
for the first time. And after much pulling of hair and looking at the
core code, I found what may be a missed scenario.
Basically, we deployed this application for a customer and now they
want some changes. It changes the schema
For a simple content management system we're building, I've started
working on a simple security interface which is supposed to enable /
disable 'view' (and dublin core view). The setup that I have - or want
to have - is a UI that says:
Who can see this item?
- Everybody
- Nobody (grants view to
On 9/28/05, James Allwyn <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> A small 'conceptual' question...
>
> Both Stephan and Philipp's books recommend using principal metadata to
> store users' email addresses etc. If I intend to use the email
> addresses (and other contact information I want to sto
On 7/28/05, Jim Fulton <[EMAIL PROTECTED]> wrote:
> Jeff Shell wrote:
> > In looking at how FTP support is written in zope.app.ftp, I notice
> > that ObjectCreatedEvent notifications are sent off when new objects
> > are created. But when zope.app.ftp.FTPView._overwrit
that should be
in the FTPView's implementation?
This is in Zope 3.1b1.
Thanks
--
Jeff Shell
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Create a browser view object with a method that looks up the catalog
utility and performs the search and returns results back to the
template. Basically take what you've learned about writing views that
combine classes and templates, and use code like the following:
def search(self, query):
You might want to look at 'sqlos', a SQLObject support package for Zope 3.
http://codespeak.net/z3/sqlos/
SQLObject is an object-relational mapper for Python.
Between the two of them, the SQL side of your ITrackContainer and
ITrack is taken care of transparently. So with just a little bit of
wor
he web
developer toolbar for Firefox and used its "View Javascript" option,
which loads and displays the source of all scripts in a page,
including referenced ones, and it loads these libraries just fine.
So Has anyone seen anything like this? any ideas on where to look?
This partic
(btw - the skin issues... finally resolved! 'skin_macros' in Zope 3.0
seems to want to be 'view_macros' in 3.1b1)
On 6/26/05, Jeff Shell <[EMAIL PROTECTED]> wrote:
> I got the same error, although I haven't updated to XCode 2.1 yet.
>
> Zope 3.1b1 compil
I got the same error, although I haven't updated to XCode 2.1 yet.
Zope 3.1b1 compiled fine, but I ran into some issues with that
regarding setting up a simple skin (I'll report that separately.. I
was trying to get Zope 3.0 going again to try my code there to see if
it was a difference between 3
85 matches
Mail list logo