473,396 Members | 2,033 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

[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(Persistent):
# inherits from Persistence.Persistent. 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(self)
getMidName(self)
getLastName(self)
getSex(self)
getDob(self)
setFistName(self)
setMidName(self)
setLastName(self)
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 1549
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
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...
1
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....
2
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...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
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,...
0
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...

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.