473,792 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[Zope] ZClass/External File or What?

Hi,
I am a PHP deleloper. i am currently studying Zope and want to migrate
to it. I have developped a school management system in PHP. but now I
want to implement it in Zope. I have worked through The Zope Book 2.6
quickly. My problem is that I am confused where to start.

I am giving a brief account of what I want to do.

I have Identified Following class stuucture.
class Person(Persiste nt):
# inherits from Persistence.Per sistent. to be stored in ZODB
# Data Mambers:
self.firstName
self.midName
self.lastName
self.sex
self.dob
# And other data members like address, city, phone etc.

# Methods:
getFistName(sel f)
getMidName(self )
getLastName(sel f)
getSex(self)
getDob(self)
setFistName(sel f)
setMidName(self )
setLastName(sel f)
setSex(self)
setDob(self)
class Student(Person) :
# inherits from Person.
# Data Members specific to students like;
# Fee Status, class, course etc.

# Data Members:
# method for accessing and modifying attribute of student
System is supposed to admit students and assign unique ids to
them. student object will be stored in ZODB. searchning on id, first,
mid and last names and possibly on other attributes like sex, date of
birth etc has to be provided. system is to be used by end users and
not zope administrators.

Now the problem is that I am confused how to implement these
classes. Should I implement them as ZClass or in External Files etc.
Please Clarify. if p[ossible please recomend improvements on design
also.

Actually it is a small part of overall system which provides
transport management, class/course management, exam/result management,
employees payrolls and basic accounting for high schools. but to start
with it should be enough to help me get a better feel of zope.

Thanks...

Mir Nazim.
Jul 18 '05 #1
2 1561
Am Mon, 12 Jul 2004 06:17:03 -0700 schrieb mir nazim:
Hi,
I am a PHP deleloper. i am currently studying Zope and want to migrate
to it. I have developped a school management system in PHP. but now I
want to implement it in Zope. I have worked through The Zope Book 2.6
quickly. My problem is that I am confused where to start.


Hi,

In the year 2001 I had the same questions.
I found it difficult to code with Zope. So I switched
to ZODB+Quixote:

Here is a good introduction to ZODB programming:

http://zope.org/Wikis/ZODB/FrontPage/guide/index.html

Regards,
Thomas

--
Thomas Güttler, http://www.thomas-guettler.de/
Jul 18 '05 #2
mir nazim wrote:
Hi,
I am a PHP deleloper. i am currently studying Zope and want to migrate
to it. I have developped a school management system in PHP. but now I
want to implement it in Zope. I have worked through The Zope Book 2.6
quickly. My problem is that I am confused where to start.

I am giving a brief account of what I want to do.

I have Identified Following class stuucture.

(snip)
Now the problem is that I am confused how to implement these
classes. Should I implement them as ZClass or in External Files etc.
Please Clarify. if p[ossible please recomend improvements on design
also.


I guess you'd better make it a product. You'll find a couple of
tutorials and probably useful base classes here :
http://zope.org/Members/maxm/index_html

Bruno

Jul 18 '05 #3

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

Similar topics

0
972
by: Ted Holden | last post by:
I notice that zope doesn't like the idea of the file containing functions for use as external modules containing global variable assignments. I have an application which in its pygtk version consists of a number of global assignments, a number of function definitions, and finally a gtk.main() line. I wish to create a zope version of the same application and one requirement for that is that the application retain its state (global
1
1407
by: Lukasz Indyk | last post by:
i work in programming team that has 6 members. we develop our application in Zope, and we write code using ZMI (Zope Management Interface). we want to use cvs to control versions of our software. is it possible use cvs with Zope (without abandoming ZMI), or is there any other solution that give similar features like cvs and can be used with ZMI?
2
1408
by: Junkmail | last post by:
I've been playing with Zope for about a year and took the plunge last week into making a product. To keep it simple I used a ZClass to wrap an external method. My ZClass works and returns the output I expect. What doesn't work is when I refer to an object I've created from a dtml-var or a tal:content or tal:replace statement. Instead of the proper output I receive: <TextileClass at home> where TextileClass is my class name and home...
0
2131
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net X-Trace: fe12.lga 1108528794 24.46.113.251 (Tue, 15 Feb 2005 21:39:54 MST) NNTP-Posting-Date: Tue, 15 Feb 2005 21:39:54 MST Xref: number1.nntp.dca.giganews.com comp.lang.python:398656
0
9670
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
9518
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10430
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
10211
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
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10000
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9033
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4111
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

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.