Archive for the ‘Zope’ Category

My affair with Zope3

February 24, 2008

When Martijn Faassen introduced me to Zope3 in December 2004, something happened. I fell for her logic, her view on the future. Her looks were promising. We quickly partnered in a small project I was working on.

Then things started to get messy. Evenings of joy turned into evenings of long, frustrating conversations. She just wouldn’t dance with me anymore. She complained about my lack of understanding.

Last week I received Philipp’s updated Zope counseling guide. A fresh impulse to give our relation a second chance. Hopefully Philipp will assist me in understanding her better.

On first sight things seem promising. Zope3 let go some of her complexness and grew a bit more mature. Let’s see if we can get to dancing again!

Google Trends: Web Dev II

June 27, 2006

Well, I just discovered a feature on Google Trends that sheds a different light on my previous post on web development techniques. Displaying several trends in one image reveals the relative size of search volumes of specific terms.

As can be seen when comparing ‘zope’, ‘plone’, ‘ruby rails’ and ‘turbogears':

webdev comparisons zope ruby on rails turbogears plone

Somewhat related, ‘mambo’ and ‘joomla':

joomla mambo

Try for yourself.

Google Trends: Web Dev

May 13, 2006

google trends ruby rails
google trends turbogears
google trends plone
google trends php
google trends zope
Source: Google Trends

It could mean people know Zope well enough, not to look it up every day. It could also mean Zope is losing ground.

Also interesting: Linux, Ubuntu (up) and RedHat (down)

Django, J2EE, Rails, TurboGears or Zope (Plone)?

March 13, 2006

Wow, this is a real must-see for web developers:

A 20 minutes screen-cast comparing 5 web frameworks. With a surprising ending.

Zope3 mindmap or concept map

October 5, 2005

Just to show how accessible knowledge can be.

nederhoed Hello, I have plans for a simple FreeMind mindmap product for Zope3 does that sound interesting to anyone? maybe I should say "thoughts about" instead of plans :) tekNico nederhoed: here`s a thought. mind maps are usually hierarchical, and therefore too limited to reach their goal. the original "concept map" concept seems more useful, and generally applicable. I have a few more links to recommend, if you are interested... :-) well, two will suffice. nederhoed merci, I`ll check them out. * tekNico (n=tekNico@pdpc/supporter/active/tekNico) heeft #zope3-dev verlaten ("See you later")

Wikipedia: Mind mapping, Concept mapping
Christpoher Alexander: A City is not a Tree
Clay Shirky: Ontology is overrated (a must-read!)

tekNico does not seam to be supportive of my mindmapping product. Let’s just figure out the concept of Conceptmapping first then.

Zope3 behind Apache: .htaccess configuration

September 20, 2005

You can add the following to the .htaccess of the domain you want Zope3 to reside behind.

/httpdocs/.htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^(.*) \
  http://localhost:8080/++vh++http:%{SERVER_NAME}:80/++/$1 [P,L]

It is almost literally a copy of example 17.3.2 from Philipp von Weitershausen’s book. The only 2 differences are the RewriteBase line and the fact that it’s in a .htaccess and not in apache2-rewrite.conf.

PS – I’m still wondering when the demo section will go live.

Running Zope3 as daemon service

August 3, 2005

The first Zope3 site I built a few months ago is still running on our development server. Which was a decision. We did not want to experiment with this new technique on a server also serving customer sites.

To be honest. I also did not get to installing Zope3 in such a way that it would fire up my z3 application when the server is restarted. Until yesterday, everytime the server was rebooted—not too uncommon for a development server—I had to restart my Zope application manually.

How nice would it be to be able to just reboot without bothering about restarting my Zope application. And eventually I should get this site onto one of our production servers of course.

Anyway, my Linux skills do not go far beyond ‘user’ level. With the difference that I have ‘root’ access. A dangerous combination :-)

After some searching (thanks fromdownunder) I succeeded.

Assuming you have

  • RedHat Linux Fedora Core3
  • a Zope3 instance installed that you can start manually

Here’s the How-To get Zope3 running as a Linux daemon service.

  1. Change to root with
    su
  2. Copy <your z3 instance path>/bin/zopectl to /etc/init.d/zope3ctl
  3. Edit /etc/init.d/zope3ctl to include (new: lines 2-3)
    #!/usr/bin/python
    # chkconfig: 345 30 70
    # description: Zope - My installation
  4. Then run from the command line
    /sbin/chkconfig --add zope3ctl
    and
    /sbin/service zope3ctl start

If all went well, you should read something about a process having been started.

You can check if your zope3ctl was added to the services list, run
/sbin/chkconfig --list zope3ctl

Comments are welcome.


Follow

Get every new post delivered to your Inbox.