Hi, thank you for taking the time to read this.<br><br>1. I&#39;m trying to learn to write a website using zope, the progress is good but i need to understand how can i call an zope object (ZPT or SQL or Script) from a script in this setup:
<br><br>/root<br>&nbsp;&nbsp;&nbsp; /mysite<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /db<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sql_do_something<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /script<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call_sql_do_something<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; index_html<br><br><br>i tryed to call it using sql_do_something = context[&#39;db/sql_do_something&#39;] hoping that maybe using aquisition ... i can get the script ... but i get the message that he can&#39;t find the object.
<br><br>the only way i managed to call it is ... if the files are in the same dir.<br>im currently using them this way ... but it&#39;s gonna get a mess soon, all those scripts and sql and ZPT in the same dir.<br><br>2. I&#39;m not writing products, just simple ZPT and script ... and i want version control for them, i have svn installed but ... the files are all inside zope database (i don&#39;t even know how the database file is named). Is there a svn plugin or a way to add those files to repository?&nbsp; I think that adding the entire zope database is a bit awkward ... hard to diff etc.
<br><br>3. Almost the same as the svn problem ... i want to backup my files from time to time .. db and code, i know how to backup my mysql db, but i don&#39;t know how to get the zope files.<br>I think i i find the answer for the question nb 2, number 3 will be the same.
<br><br>Thank you, expert Zope programmers.<br><br><br><br>