Re: [Zope] From a Folder to a Product

2000-08-01 Thread Cesar A. K. Grossmann

"R. David Murray" wrote:
 
 If you put everthing at the top level except the DB connection, and
 put the appropriate one of those in each user's folder, I should
 think they could access the report via acquisition.

You mean, put all sql-queries, dtml-docs and dtml-methods spread in the
root folder of the zope? I'm trying to maintain the root uncluttered
("every thing in it's place, every place with it's thing"), and I'm
thinking this will do the oposite, but you give me an idea:

/
+ reports
  + files (sql queries, reports/forms, and default sql-conn)
  + customer1
  | + sql connection (only)
  + customer2
  | + sql connection (only)
  (...)

Have anyone a better one idea/suggestion? Of course, making things like
that, I lose versioning (I think), but I think I can survive without
it...

[]s
-- 
César A. K. Grossmann [EMAIL PROTECTED] http://members.xoom.com/ckant/
http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] From a Folder to a Product

2000-08-01 Thread R. David Murray

On Tue, 1 Aug 2000, Cesar A. K. Grossmann wrote:
 You mean, put all sql-queries, dtml-docs and dtml-methods spread in the
 root folder of the zope? I'm trying to maintain the root uncluttered
 ("every thing in it's place, every place with it's thing"), and I'm
 thinking this will do the oposite, but you give me an idea:
 
 /
 + reports
   + files (sql queries, reports/forms, and default sql-conn)
   + customer1
   | + sql connection (only)

Or you could use the Transparent Folders product if you don't
want to have an extra 'reports' folder.

 Have anyone a better one idea/suggestion? Of course, making things like
 that, I lose versioning (I think), but I think I can survive without
 it...

Unless I'm misunderstanding something, I don't think you'd loose
versioning.

--RDM


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] From a Folder to a Product

2000-07-31 Thread Cesar A. K. Grossmann

Hi!

I'm pretty satisfied with a group of reports I have done in Zope, and
want to put a copy of it in every customer's folder I have in the Zope
Server.

Are there a document/tutorial I can use as a guide or tutorial to do
this?

If someone wants to point some general guidelines, the folder contains
only the dtml docs/methods and SQL connection/SQL Queries used to do the
report, and the only thing that changes from one to another customer is
the SQL connection (every different customer have his own database).
Even the security properties are the same.

It can be draft as bellow:

/
+-- Report
   +- SQL Connection (PostgreSQL)
   +- SQL queries
   +- Reports based on the SQL queries
   +- Forms that are used to chose parameters and call the
Reports
   +- index_html, standart_error, standart_html_header/footer

TIA
-- 
César A. K. Grossmann [EMAIL PROTECTED] http://members.xoom.com/ckant/
http://www.halcyon.com/sciclub/cgi-pvt/instr/instr.html

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] From a Folder to a Product

2000-07-31 Thread R. David Murray

On Mon, 31 Jul 2000, Cesar A. K. Grossmann wrote:
 If someone wants to point some general guidelines, the folder contains
 only the dtml docs/methods and SQL connection/SQL Queries used to do the
 report, and the only thing that changes from one to another customer is
 the SQL connection (every different customer have his own database).
 Even the security properties are the same.

If you put everthing at the top level except the DB connection, and
put the appropriate one of those in each user's folder, I should
think they could access the report via acquisition.

--RDM


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )