Re: [Repoze-dev] repoze.bfg 1.2 released...
It depends on whether you plan to read the technical book front to cover in one go or use it as a reference. E-book readers are not very good for the latter, because it's painful to quickly thumb through the pages of the book to find something. There's no match for a paper book for that. Carlos de la Guardia On Sat, Feb 13, 2010 at 2:36 AM, Chris McDonough chr...@plope.com wrote: On 2/12/10 2:50 PM, Iain Duncan wrote: Hey, that's great news about the book. Thanks! Do you know if it will be available as an e-book at all? Not sure how long that publisher would take to get things out of country and all. It is also quite expensive, but having formerly worked in the book industry I understand the many factors influencing price there... ;-) Offering a PDF will be super easy; the book typesetting was done to PDF. Making a PDF available for download that is optimized for online reading is something I'll do after PyCon is over the week after next. At this point, the printed book will hopefully have broken even cost-wise. If you'd rather get a PDF rendering more quickly, you just need to 1) install this version of sphinx: http://bitbucket.org/chrism/sphinx/ 2) install LaTeX 3) type the magic commands to generate a PDF from the docs source files: make latex cd .build/latex make all) and out will pop a PDF. On the other hand, it will require a good amount of typsetting effort to make the book easy to read on an ereader like Kindle or Nook or an iPhone. To make it available for Nook/iPhone, I'd need to publish it in epub format. There is a Sphinx writer for the epub format, but its output against the current book source is truly miserable. I worry a little that offering it as-is would give the wrong image of the content: I'd want it to be typeset better before even offering it for free. There is no Sphinx Kindle writer, but there are utilities to convert epub to Kindle format. I'm curious if anyone actually uses an ereader like Kindle/Nook or an epub reader on their iPhone like Stanza to regularly read technical publications? It looks like reading anything except a novel on one would be an excruciating exercise, at least in an emulator on my screen. -- Chris McDonough Agendaless Consulting, Fredericksburg VA The repoze.bfg Web Application Framework Book: http://bfg.repoze.org/book ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] repoze.bfg 1.2 released...
Yeah, I guess it depends on how you read, then. I usually keep many details in my memory of where things are in book is refer to a lot, so I never use search. I prefer to quickly open the book near the page I know has the information I want. Of course, I can see why many people would never do this. Carlos de la Guardia On Sat, Feb 13, 2010 at 11:30 AM, Martin Aspeli optilude+li...@gmail.com wrote: Carlos de la Guardia wrote: It depends on whether you plan to read the technical book front to cover in one go or use it as a reference. E-book readers are not very good for the latter, because it's painful to quickly thumb through the pages of the book to find something. There's no match for a paper book for that. Interesting. I've found the opposite with readers of my book: People with the text version want a PDF copy too because it's easier to search, but prefer to read it in hard copy. Martin -- Author of `Professional Plone Development`, a book for developers who want to work with Plone. See http://martinaspeli.net/plone-book ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] prep for BFG 1.2 final
I have two apps that work fine with 1.2b6. Carlos de la Guardia On Mon, Feb 8, 2010 at 3:14 PM, Chris McDonough chr...@plope.com wrote: Hi all, In the absence of any showstopper bug reports, within the next few days, the latest BFG beta release (1.2b6) will be released as 1.2 final with no diffs except the version number. I'd like to make sure it's as solid a release as possible, so if you've got a BFG app you're using that runs under some form of BFG 1.2, and you have the time, I'd appreciate it if you would update to 1.2b6 (the most recent release) and run your tests and report back any bad results. Thanks! - C ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] mailing list split?
Ok, let's pile on. +1. Carlos de la Guardia On Sun, Nov 22, 2009 at 6:28 PM, Iain Duncan iaindun...@telus.net wrote: Hey folks, just floating the idea of splitting the issue tracker mailouts on to their own mailing list? In my experience on this and other lists, it's a lot more pleasant to read the mailing list without having to scroll through the issue tracking comments. Just a thought. Iain ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] zope.schema, zope.formlib in bfg? or help a newb understand zca coolness
Just a couple of comments on your bigger picture questions: #1 does bfg provide machinery for registering components or is that functionality specific to big daddy zope? I assume the answer is yes, augmented with it depends. I realize that bfg is meant to isolate you from the zca, but darn it I think it's cool and I want to understand how it's used. The above referenced book doesn't have any obvious section that details how this works, at least not that I've found, so if anyone knows of an online resource on how this works. I'd appreciate knowing about it. BFG is not meant to isolate you from the ZCA, it just doesn't force you to use it. If you are using zope.component, zope.interface and zope.schema, you can perform whatever registrations you want in BFG. This *is* the ZCA. Formlib is just a library that uses it. You may probably find this useful: http://www.muthukadan.net/docs/zca.html #2 is the fact that an easy_install off zope.formlib results in no out of the box zcml file to include (as far as I can tell) a result of these particular zope libs not being refactored to be more standalone-ish? If so, what would generally be the process of making it more standalone-ish. Would it just be coming up with some configure.zcml to deploy with the package? Many zope libraries can be used easily in BFG. In the case of formlib, the library itself is too tied to the 'zope as application' side of things. For example, widgets are adapters for the schema field and the zope request, but since BFG uses the WebOb request, you just won't be able to use it, no matter if you include the correct .zcml file (which actually was at zope.app.from.browser). The sad truth is zope is very componentized, but many components expect that a zope developer will use all of them anyway. I hope this does not result in still more confusion for you. Carlos de la Guardia ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
[Repoze-dev] bfg web site broken
I'll have some time later tonight and I plan to do a few CSS fixes to the site, since people other than us may take a look when the announcement is out. Right now, however, there's a problem with login (throws 500 error). I hope someone can take a look. Thanks, Carlos de la Guardia ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] unifying url dispatch and traversal
Hey, I'm with Chris here (talk about an ambivalent position). I think we could be allowed to break things a bit before 1.0. Django did that with 0.96 and I think they got a lot of benefit from that move. Carlos de la Guardia On Fri, Jun 5, 2009 at 12:42 PM, Chris Rossi ch...@archimedeanco.comwrote: On Fri, Jun 5, 2009 at 1:27 PM, Chris McDonough chr...@plope.com wrote: What I *should* have done from the very start was to pass the request object in to both root factories and context factories. But it's too late for that now; we'd break too many people's apps. Just to play devil's advocate, here: we're already breaking compatibility for url dispatch, so we're not really concerned about that. For apps that use a root factory, each app should only have one, so a backwards incompatible change in signature should only really require touching one place in their code to upgrade to 1.0. And that change need only touch two lines of code: def root_factory(environ): # blah blah blah that uses environ becomes def root_factory(request); environ = request.environ # blah blah blah that uses environ Chris ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] repoze.bfg under google appengine?
Hi, you mentioned at PyCon that Malthe (chameleon guy) is *thinking* about removing the lxml dependency. Do you think that is at all possible? I might have to do some GAE work in the mid term, and it would be swell to use BFG for that. Carlos de la Guardia On Fri, Apr 10, 2009 at 6:26 AM, Chris McDonough chr...@plope.com wrote: On 4/10/09 7:10 AM, Miuler wrote: Do we need lxml module? Yes, at least out of the box, to use chameleon templates. Can you use the native python xml? No, not out of the box, and not if you want to use chameleon templates. I want to run within repoze.bfg google appengine It will likely run, but not out of the box; you'll need to change the setup to exclude lxml, and maybe change some other dependencies like zope.interface, which also contains C code (but falls back to a Python implementation). - C ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev
Re: [Repoze-dev] url dispatch ng for repoze.bfg
I think possible routes users are more likely to be regular Python developers with no Zope background, so I would suggest adding some mechanism to accomplish this using Python. Maybe extend the repoze.bfg.convention package for this. Carlos de la Guardia ___ Repoze-dev mailing list Repoze-dev@lists.repoze.org http://lists.repoze.org/listinfo/repoze-dev