I am not all that worried about one or two cases like this...but got knows 
once I start building conditionals I start finding more and more "what ifs" 
so I tend to be a little gun shy. I always want to build everything into 
one block with a lot of contingencies....the problem now is that I am going 
to the opposite extreme...I have twenty three departments each with the 
same layout needs but completely separate datasets, so I have built one set 
of pages/page elements to serve a one department and now I just have to 
copy those pages/element to the other departments and change the topic 
numbers...( I have 23 datasets, I don't see a way around this)

.......there should be an easier way to do this. I know it is the least 
elegent way to do it but it is relatively fast.  Before anyone calls me a 
wimp...yes the programmer in me wants to have done all of this with one 
wicked efficient script but speed of implementation was an issue and at 
least this way I can have an intern do the copy and pasting..then I can go 
back later and boil everything down to a perfect shining example of perfect 
context aware code...when I have the time. ( Emile, that will be the day 
after I jump out of a flying airplane...not likely, at least until I come 
to the Midgard meeting, and beers) In the mean time it would be so much 
easier if there were a mechanism to copy and/or share code objects from one 
section to another...or at least something cooler than student slave 
labour....which works but they take up space and smell funny....
sorry...

kp

-----Original Message-----
From:   Emiliano [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, January 26, 2000 3:50 PM
To:     '[EMAIL PROTECTED]'
Subject:        RE: [midgard] simple ?

On Wed, 26 Jan 2000, Ken Pooley wrote:

> but from an overhead point of view am I burdening the server by putting
> lots of conditions like that in?

Well, yes. Every PHP instruction in a page is going to burden the server
to some extent. The new caching functionality may alleviate the problem
somewhat. Prelimenary information available at
http://www.progressive-comp.com/Lists/?l=midgard-dev&m=94891912605036&w=2

emile


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to