473,692 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What are the other options against Zope?

Hi all,
I wanna thank Martin for helping out with my ignorance concerning
execution of stored procedure with python. Now i have decided to write
a web app that googles into my companies proprietary database. I need
to know whether zope is good for that job. But even the introduction to
zope in the zope book was intimidating. Are there any simple options?
If so plz tell me how i can obtain it and study it. I should say that i
am new to web programming.
Thank you

Jul 19 '05 #1
21 1598
godwin wrote:
I wanna thank Martin for helping out with my ignorance concerning
execution of stored procedure with python. Now i have decided to write
a web app that googles into my companies proprietary database.
Just checking... do you really mean "googles", or is that in your mind a
synonym for "search"?
I need
to know whether zope is good for that job.


For which part of it? The web part, or the searching part? It's not
likely sufficient for the searching part, since it doesn't include
database interfaces other than to its own ZODB. What proprietary
database is involved?

-Peter
Jul 19 '05 #2
Peter Hansen wrote:
godwin wrote:
I wanna thank Martin for helping out with my ignorance concerning
execution of stored procedure with python. Now i have decided to write
a web app that googles into my companies proprietary database.


Just checking... do you really mean "googles", or is that in your mind a
synonym for "search"?
I need
to know whether zope is good for that job.


For which part of it? The web part, or the searching part? It's not
likely sufficient for the searching part, since it doesn't include
database interfaces other than to its own ZODB. What proprietary
database is involved?


That's not correct. Zope2 includes DB interfaces to MySQL, PostGre, ODBC and
many others.
For Zope3 IIRC there are not yet so many interfaces.

Florian
Jul 19 '05 #3
Peter Hansen wrote:
godwin wrote:
I wanna thank Martin for helping out with my ignorance concerning
execution of stored procedure with python. Now i have decided to write
a web app that googles into my companies proprietary database.


Just checking... do you really mean "googles", or is that in your mind a
synonym for "search"?

I need
to know whether zope is good for that job.


For which part of it? The web part, or the searching part? It's not
likely sufficient for the searching part, since it doesn't include
database interfaces other than to its own ZODB. What proprietary
database is involved?

-Peter


I think the guy might like to know what Zope is.
I went to an IBM all day once, can't even remember the
name of their "web services". At smoke breaks would
compare notes with other attendees. I'm not sure we
ever understood, but we all agreed the problem
was "undefined terms" which I call organic buzz words.

Zope is like that to me. I ask what is it and the answer
sounds like "Oh, it's oierbv for the zxcvioupo of 7cvn^djh'.

Now understand, I know what very well what Python, Apache, PhP,
MySQL, IE and javascript do. I just don't know what Zope
does.

And if the answer is going contain phrases like "brings together"
or "sits on top of", don't bother. :-)
Jul 19 '05 #4
On Sat, 02 Jul 2005 10:55:19 -0500, phil <ph***********@ anvilcom.com>
declaimed the following in comp.lang.pytho n:

And if the answer is going contain phrases like "brings together"
or "sits on top of", don't bother. :-)
Well... From what I've seen, it doesn't "sit on top of"
either... It sits under... <G>

Plone being an example built on top of CMF, CMF being one
"content management framework" built on top of Zope.

As for Zope... Guess one would have to fall back on the expanded
name "Z Object Publishing Environment" (no idea where the Z gets into
things). A rather object-oriented system for managing and serving web
applications and data (using object inheritance for common behavior,
etc.) This makes Zope a toolkit, not an end application itself.
-- =============== =============== =============== =============== == <
wl*****@ix.netc om.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
=============== =============== =============== =============== == <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.ne tcom.com/> <

Jul 19 '05 #5
Florian Lindner wrote:
Peter Hansen wrote:
[Zope] doesn't include
database interfaces other than to its own ZODB.


That's not correct. Zope2 includes DB interfaces to MySQL, PostGre, ODBC and
many others.


It actually *includes* them? I thought those were all add-in modules,
not ones that Zope actually installs. (I admit it's been a couple of
years since I was current with the state of Zope... and my memory sucks.
:-( )

-Peter
Jul 19 '05 #6
either... It sits under... <G>
Well that's a relief, cause ...sits on top of....
was confusing.

A rather object-oriented system for managing and serving web
applications and data (using object inheritance for common behavior,
etc.) This makes Zope a toolkit, not an end application itself.

So that would make it Apache, with a Python CGI. Oh wait, Apache has
a Python CGI which can access Data bases and send objects to the client.

A web application is you deliver am html page and the user fills
in some forms, then submits the form, which is then validated
and another form is delivered. Right? Cool idea, IBM had that in
1975 it was called CICS.

I once asked my son-in-law tech support guy what is the Windows
registry, what does it do? He thought for a while and said
"Think of it as the soul of the machine". So I thought about it
as the soul of the machine for a while, then I asked;
"You don't know, do you", and he said "No."

Jul 19 '05 #7
If you're looking for a leight weight web development enviroment acting
as a front end for a database take a look at http://www.cherrypy.org

Jul 19 '05 #8
On Saturday 02 July 2005 10:55 am, phil wrote:
Zope is like that to me. I ask what is it and the answer
sounds like "Oh, it's oierbv for the zxcvioupo of 7cvn^djh'.

Now understand, I know what very well what Python, Apache, PhP,
MySQL, IE and javascript do. I just don't know what Zope
does.


You know, that's a good question. Let's see if I can make a good
answer:

Zope is the "Z Object Publishing Environment".

It publishes a *tree* of *objects* stored in the ZODB which is
an object oriented database. Think of it as a monstrous pickle
implementation.

Zope folders are a lot like user-defined classes in your application.
They contain things, which is why they're called "folders". But
basically, from a programming perspective, what they contain
are their "attributes " in the class/object jargon (in reality it can
be more complicated, some containers use Python container
types like dictionary or list as their internal structure).

Of course, "publishes" means "publishes to the web".

Z:

So Zope includes an *object store*, a *publisher*,
and a *web server*. When the web server receives a request,
it asks the publisher to get it, which digs it out of the object
store. Then it goes back the other way, back to the requester
via the web.

Usually, you run the Zope webserver behind another proxy
like Apache, but it is possible to serve a site directly from
Zope. I never do that for production, because, Apache, being
much more completely tested is a safer bet for not crashing
or misbehaving under heavy loads. However, the built-in
Zope webserver (I believe it was once called Medusa) is
quite convenient for development and testing.

OBJECT:

Because Zope publishes Python *objects* instead of *files*,
they can have much richer structure (e.g. metadata) than
a site based on files stored in a filesystem. However, a set
of files stored in a filesystem is very much like an object
database, so

1) The ZODB is sometimes called the Zope Object FileSystem,
which I find a useful idea --- especially since ZOFS has some
extra constraints beyond what ZODB requires.

2) You actually can store contents of the ZODB *as* a filesystem
with associated metadata in auxiliary files. I believe this is
how the "filesystem storage" option for ZODB works (by default,
ZODB lumps all its data into one big container file "Data.fs" --
this is the "filestorag e" option).

PUBLISHING:

Zope has also been called a "web application server", because
it's relatively easy to write highly-integrated, highly-dynamic
sites with it (and overkill to use it for purely static sites).

Objects are defined in such a way that they can be represented
as web pages. The publisher has a lot of default behaviors for
built-in types and the objects that come with Zope.

Zope "product" developers have the responsibility (and control)
over how their objects will appear when published.

ENVIRONMENT:

If you want to think of it as a "web application server", then
basically, Zope is your "operating system", and your site is
your "web application software".

Zope also provides some specialized programming language
help --- Python scripts that can be edited through the web,
and two "Templating Languages" for designing web pages that
will have dynamic content. You can think of the templating
languages as being similar to PHP or ASP style programming.

But "Zope Zen" says that the serious code should be either
in Python scripts or in Python products (on the filesystem,
instead of in the ZODB, like scripts). Templates are meant
to be simple, simple, simple. But that's a style issue.

This stuff provides the Zope "operating system" with a
"shell". And the "Zope Management Interface", which is
what you see when you visit the /manage page at a Zope
site, is the "window system" or, perhaps more accurately,
the "file browser" of that "operating system".

So, in fact, Zope does quite a bit. But it isn't really all
that hard to understand. It's just not been well-introduced,
because the people explaining it have a tendency to forget
that it isn't all obvious, because it seems that way to
them, now that they know it.

But that's the newbie's problem in all areas of software, ISTM.

HTH,
Terry

--
Terry Hancock ( hancock at anansispacework s.com )
Anansi Spaceworks http://www.anansispaceworks.com

Jul 19 '05 #9
On Sat, 02 Jul 2005 16:26:22 -0500, phil <ph***********@ anvilcom.com>
declaimed the following in comp.lang.pytho n:


I once asked my son-in-law tech support guy what is the Windows
registry, what does it do? He thought for a while and said
"Think of it as the soul of the machine". So I thought about it
as the soul of the machine for a while, then I asked;
"You don't know, do you", and he said "No."
The Windows registry is "a maze of twisty little passages, all
alike" <G>

No joke either... You may find an application entry that has a
GUID, the GUID has a file extension, the file extension points to the
application <G>

The registry a cryptic, bloated, system by which M$ can hide
details about anything they want... Instead of having separate .INI
files scattered about.

I recall when W95 had a system restore utility that was supposed
to write core system files to a floppy for use in booting a system when
the main boot sector has gone bad... Problem is that even a small W95
system soon had a registry that was 5+MBytes. Try fitting that onto a
floppy.

-- =============== =============== =============== =============== == <
wl*****@ix.netc om.com | Wulfraed Dennis Lee Bieber KD6MOG <
wu******@dm.net | Bestiaria Support Staff <
=============== =============== =============== =============== == <
Home Page: <http://www.dm.net/~wulfraed/> <
Overflow Page: <http://wlfraed.home.ne tcom.com/> <

Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
2563
by: ketulp_baroda | last post by:
i am developing a web application and i am really confused on what should i use. should i use just python and use the cgi module availabe. Or should i use application like WebWare.Also there is PSP available. I am really confused and need help
4
2013
by: webmaster | last post by:
Hi, I'm desperatly trying to use Kinfxdb, but I have numerous segmentation faults, who lead my Zope to crash. It mostly occurs when I try to work with "date" fields (with an Informix Online database). I got it here : http://zope.org/Members/papa/ I'm running a RH7.3 Server, with the latest Informix SDK available on IBM website. Any idea ?
4
1558
by: Carl | last post by:
Using COM and ADO on Win32, it is very easy to access databases (eg MySql, MS SQL Server, etc) from Python. Does anybody know if it is possible to access databases from Zope (which is written in Python) using COM and ADO? Carl
4
1341
by: Kay Schluehr | last post by:
The last downloadable release is from november 2004. The Windows installer is configured for Python 2.3(!). The Zope.org main page announces Zope 2.8 beta 2. Is it stillborn? Kay
137
7090
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very pragmatic - 3) I usually move forward when I get the gut feeling I am correct - 4) Most likely because of 1), I usually do not manage to fully explain 3) when it comes true. - 5) I have developed for many years (>18) in many different environments,...
4
1599
by: Avery Warren | last post by:
I am investigating converting a wiki site to plone. I am having a lot of difficulty finding good documentation programmatically accessing the ZODB API. A lot of the user feedback is centered on how difficult it is to get good documentation on developing using these technologies. My question to comp.lang.python is "what is your opinion of zope?" For those who don't know, zope is a web application server for python developers.
28
4819
by: Admin | last post by:
I am doing some research for a Python framework to build web applications. I have discarted Zope because from what I've read, the learning curve is too steep, and it takes more time to build applications in general with Zope. I have kept the following: - PyWork - http://pywork.sourceforge.net (Not sure if it's mature) - Django - http://www.djangoproject.com (Looks interesting) - CherryPy - http://www.cherrypy.org (Unsure)
4
1784
by: MrBlueSky | last post by:
Hello! I've just finished working on my first Python app (a Tkinter-based program that displays the content of our application log files in graphical format). It was a great experience that's had a very positive response from my colleagues. So I'd like to try something different for my second Python application. It's a simple server that can launch and monitor the state of our program, to help our software developers. In my mind I...
34
3607
by: emrahayanoglu | last post by:
Hello Everyone, Now, I'm working on a new web framework. I tried many test on the other programming languages. Then i decided to use python on my web framework project. Now i want to listen all of you. What do you want in that web framework(Easy use of Database, Easy use of XML, GUI Designer, etc...)? I'm wating your answers. Thank you for all answers...!
0
8610
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9090
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8968
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6462
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4325
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2977
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2242
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1961
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.