Re: [Zope] newbie changingover to zope from html/cgi??
> can i replace javascript with python/DTML. I have used drop down menus in > the pages using javascript. Is these available in Zope or is there some > way of using these. I'd keep the drop-down menus in javascript. You can do similar things in zope (i.e. the tree tag or the tab bar at the top of the management interface), but then every change is a fetch back to the web server. If you keep the javascript then it all happens at the client. If you want you can generate the javascript with dhtml. That way the contents of the menus can follow your site. You'd have to set the comtent type so that the browser thinks it is javascript. (hmm, how is javascript cached??) -- cary [snip] ___ 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] newbie changingover to zope from html/cgi??
you do need zope to be installed on your isp (webhost). not all hosts will allow it though. you should ask whether they have any policy about long-running processes. in order to install you need to download the appropriate version of zope, ftp it into the appropriate place and then unpack it and there's more. download zope and then take a good look at the included documentation. it can be confusing but you'll just have to work thru it. there are also some how-to's on the zope.org site that can help fill in some of the gaps. as far as perl goes maybe this will help: http://www.zope.org/Members/Mamey/PHP as far as converting your previous site, it will most-likley not be a one-click thing. it shouldn't be too difficult though. the strcuture and organization that works well for html/perl stuff is not the optimal one for zope. in zope you can break stuff down into pieces, like a header footer and etc and then include them anywhere for example (maybe you are already doing this with ssi.) hth Regards, GEORGE DONNELLY [EMAIL PROTECTED] http://cyklotron.com/ The man who tried his best and failed is superior to the man who never tried. --Bud Wilkinson > > Hi, > I am newbie to zope(infact installed it yesterday). Just impressed with > its capabilities. But there are somethings i cant figure out. > > I want to transfer a whole website containg javascript/html/cgi on > zope. how do i do it. is it possible. > > Do i need to have zope on the ISP for my zope website to run. > > I only have ftp access on my ISP. Which files should i transfer so that > the zope application works. btw i couldnot locate the files/database on my > system about the webiste i am building. where is the database for the > application kept. > > I donot know python but do know perl, can i add modules to zope in perl. > > Thanks. ___ 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] newbie changingover to zope from html/cgi??
> can i replace javascript with python/DTML. I have used drop down menus in > the pages using javascript. Is these available in Zope or is there some > way of using these. Sorry, I just re-read my posting and realized that I had not been clear on this point. Your client-side scripting (javascript/whatever) remains the same whether under Zope or conventional web serving. It is only the server-side scripting that changes. > Is there some book released on zope/DTML for reference. Make sure that you have downloaded all of the documentation available on the Zope site, and have read it thoroughly. Zope is not yet adequately documented (this is not a criticism of what has been done already, which is very good, but a reflection on the size and scope of system, which needs much much more good documentation). However what is available is sufficient to work with, if you are persistent. > Does this mean a complete rewrite of the code is required of all the > javascript and cgi files , or is there some method to convert them to > DTML. Javascript, as above. CGI, you do not say what you are using for your CGI scripting. If Perl, then for the moment you will need to re-write in Python (but that is not too difficult, you will have a valuable learning experience doing it, and your scripts will be more easy to maintain in the future). There is nothing available to do an automatic conversion of an existing similar site (say using PHP) to Zope, and as you learn about Zope the reason for this will become clear. (The same would be true for alternatives). Richard ___ 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] newbie changingover to zope from html/cgi??
At 12:12 AM 6/18/00 +0530, you wrote: >can i replace javascript with python/DTML. I have used drop down menus in >the pages using javascript. Is these available in Zope or is there some >way of using these. Javascript is client based, whereby Zope handles only server-side activities similar to CGI. You usually have no way to replace Javascript, except in a few places. >Is there some book released on zope/DTML for reference. There is the ZDP (http://zdp.zope.org), which includes the ZQR (Zope Quick Reference) that lists all the tags, but is outdated. We are currently working on a model to include a DTML reference into the Zope Online Help System. That should appear at the end of the summer in the Zope distributions. >Does this mean a complete rewrite of the code is required of all the >javascript and cgi files , or is there some method to convert them to >DTML. Yes, you have to convert everything to DTML by hand. If you understand Zope well, you will find that you can do many thing easier and shorter in Zope. For most everyday tasks you have usually already a product written for you. I think before converting the entire site you should first learn Zope and Python till you feel comfortable and then redesign your site from scratch, since Zope's advanced features and object model will allow you to do things differently (read: The right way!). Regards, Stephan -- Stephan Richter @ Digital Creations Zope Documentation Since you cannot reach this mailbox from the world yet, please reply to [EMAIL PROTECTED] ___ 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] newbie changingover to zope from html/cgi??
can i replace javascript with python/DTML. I have used drop down menus in the pages using javascript. Is these available in Zope or is there some way of using these. Is there some book released on zope/DTML for reference. Does this mean a complete rewrite of the code is required of all the javascript and cgi files , or is there some method to convert them to DTML. Thanks On Sat, 17 Jun 2000, Richard Folwell wrote: > Hi Rajil, > > > I want to transfer a whole website containg javascript/html/cgi on > > zope. how do i do it. is it possible. > > You would have to re-write the scripts, using DTML/Python as appropriate. The HTML >remains the > same. > > > Do i need to have zope on the ISP for my zope website to run. > > Yes. > > > I only have ftp access on my ISP. Which files should i transfer so that > > the zope application works. btw i couldnot locate the files/database on my > > system about the webiste i am building. where is the database for the > > application kept. > > You will definitely need an ISP that provides Zope support before you can do this. >The Zope > database is normally: > > /var/Data.fs > > > I donot know python but do know perl, can i add modules to zope in perl. > > There are plans to provide Perl support, but this is for the future. For the moment >learn Python - > if you already know Perl then it will be straightforward, since they cover similar >territory. > Python has some advantages over Perl, particularly for larger development works. > > Hope that helps, > > Richard > > > ___ > 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 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] newbie changingover to zope from html/cgi??
Hi Rajil, > I want to transfer a whole website containg javascript/html/cgi on > zope. how do i do it. is it possible. You would have to re-write the scripts, using DTML/Python as appropriate. The HTML remains the same. > Do i need to have zope on the ISP for my zope website to run. Yes. > I only have ftp access on my ISP. Which files should i transfer so that > the zope application works. btw i couldnot locate the files/database on my > system about the webiste i am building. where is the database for the > application kept. You will definitely need an ISP that provides Zope support before you can do this. The Zope database is normally: /var/Data.fs > I donot know python but do know perl, can i add modules to zope in perl. There are plans to provide Perl support, but this is for the future. For the moment learn Python - if you already know Perl then it will be straightforward, since they cover similar territory. Python has some advantages over Perl, particularly for larger development works. Hope that helps, Richard ___ 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 )