Re: [Zope] ZopeWeaver?
From: Dieter Maurer <[EMAIL PROTECTED]> Date: Thu, 30 Nov 2000 00:05:30 +0100 (CET) Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ([EMAIL PROTECTED]) X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Length: 517 albert boulanger writes: > One trick I use on my NT box is to use Dreamwaver for all the major > html content which end in a .html extension and htmlkit for the > index_html and like files. Place a DTML method(!) "index_html" high in your Zope hierarchy with the following code: >From then on, you can happily create "index.html" below that point in the hierarchy. It will be used as the default folder view. In fact, "index_html" is used but that redirects to "index.html". Yup. This is what I do and use htmlkit for those small index_html or other DTML method files that don't represent html content, but more logic. Albert ___ 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] ZopeWeaver?
albert boulanger writes: > One trick I use on my NT box is to use Dreamwaver for all the major > html content which end in a .html extension and htmlkit for the > index_html and like files. Place a DTML method(!) "index_html" high in your Zope hierarchy with the following code: >From then on, you can happily create "index.html" below that point in the hierarchy. It will be used as the default folder view. In fact, "index_html" is used but that redirects to "index.html". Dieter ___ 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] ZopeWeaver?
Hello Thanks for all the comments so far on this topic. Hope to hear more. I have been looking this morning gain at the Extending Dreamweaver docs. [on Win32 its typically at C:\Program Files\Macromedia\Dreamweaver 3\Extending\ExtendingHelp.htm ] It seems to me that by using the XML-based TAGSPEC, and then the Dreamweaver Javascript DOM, it should be possible to open index_html or anything.dtml in a fully controlled manner. It looks like this can avoid any dependancy on Win32. SOME EXAMPLES: DWfile.read() The following code reads the file mydata.txt and, if successful, displays an alert box with the contents of the file. var fileURL = "file:///c|/temp/mydata.txt"; var str = DWfile.read( fileURL); if (str){ alert( fileURL + " contains: " + str); } .. In Dreamweaver 3, extensions are no longer limited to working within the local file system. Dreamweaver now provides a mechansim for getting information from and sending information to a web server via hypertext transfer protocol (HTTP). This chapter describes the HTTP API and how to use it. MMHttp.getFile() The following code gets an HTML file, saves all the files in the Configuration/Temp folder, and then opens the local copy of the HTML file in a browser: var httpReply = MMHttp.getFile("http://www.dreamcentral.com/people/profiles/scott.html", false); if (httpReply.statusCode == 200){ var saveLoc = httpReply.data; dw.browseDocument(saveLoc); There's lots more, but these seem like the 2 essential ones [+ their .write() counterparts] The potential advantages I see for Zope are: - PROFILE [improving Zope's general visibility and acceptance for new projects] Having a set of Zope Dreamweaver Extensions in itself would help promote it. - WORKFLOW [making Zopesite development with Dreaweaver much friendlier for designers/programmers etc.] - DESIGN [ better integration with Macromedia's graphic toolset will make it easier to for professional designers to develop more professional looing ZopeSites] - FEATURES [There are many features available now in Dreamweaver3+ which can be leveraged to prototype and build higher level Zope templates design and interface] So my questions are what Javascript 'ZopeWeaver' extensions would you really like to see? - Jason ___ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] ___ 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] ZopeWeaver?
One trick I use on my NT box is to use Dreamwaver for all the major html content which end in a .html extension and htmlkit for the index_html and like files. FYI, Albert Boulanger [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] ZopeWeaver?
On Wed, 29 Nov 2000, Simon Coles wrote: > Yes, this works fine on the Mac. I suspect the difference is because > on the Mac they are taking the http content types to figure out the > content, but on Windows they are being lazy and using the file > extension. Why they didn't use the same code I don't know. Thats just the way Windows works. Somehow M$ chose to determine the filetype by the file extension, and the file extension only (and then they chose to _hide_ the extension by default... ;). A somehow related issue is that IE seems to prefer file extensions over any HTTP headers, MIME types and such. Mac has a forked filesystem keeping type information separately. Thus no problem with names. Cheers, Stefan ___ 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] ZopeWeaver?
>Hi Andy, > >> "Andy" == Andy McKay <[EMAIL PROTECTED]> writes: > > >> There are now all manner of Dreamweaver extensions, both > > Andy> I tried it briefly and found that Dreamweaver cant seem to > Andy> handle a file with no extension such as index_html, so gave > Andy> up. > >Yes.. it's apparently just the Windows version that has this >problem it's a really wierd limitation... Yes, this works fine on the Mac. I suspect the difference is because on the Mac they are taking the http content types to figure out the content, but on Windows they are being lazy and using the file extension. Why they didn't use the same code I don't know. To make Dreamweaver on Windows happy, we name our index files "index.html" and then have a DTML method for index_html which is just . Most of our content people use Dreamweaver (on Macintosh and Windows) to edit Zope sites and are very happy with it. Simon -- - My opinions are my own, NIP's opinions are theirs -- Simon J. Coles Email: [EMAIL PROTECTED] New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 === Life is too precious to take seriously === ___ 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] ZopeWeaver?
Hi Andy, > "Andy" == Andy McKay <[EMAIL PROTECTED]> writes: >> There are now all manner of Dreamweaver extensions, both Andy> I tried it briefly and found that Dreamweaver cant seem to Andy> handle a file with no extension such as index_html, so gave Andy> up. Yes.. it's apparently just the Windows version that has this problem it's a really wierd limitation... -steve ___ 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] ZopeWeaver?
> There are now all manner of Dreamweaver extensions, both trivial and > sophisticated. > http://www.macromedia.com/exchange/dreamweaver/ > [check out the various categories listed in the 'browse extensions' dropdown > menu near top of page] > > I would love to hear from anyone has been using Dreamweaver with Zope > [recently].. > How you organize your tasks between Dreamwever features and Zope features, > etc? I tried it briefly and found that Dreamweaver cant seem to handle a file with no extension such as index_html, so gave up. > :Have you and problems with site upload from Dreamweaver into ZServer? > :Use of Tables to implement zopesite design changes. > :Not losing DTML tags.. > :handling DTML it just doesnt destroy them > :managing files locally and their relationship to ZODB use ftp directly in dreamweaver -- Andy McKay, Developer. ActiveState. ___ 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] ZopeWeaver?
Hello I am looking for realworld workflow tips on using Dreamweaver with Zope. There was a speculativ thread about this some time ago, when UltraDev was being pumped.. There are now all manner of Dreamweaver extensions, both trivial and sophisticated. http://www.macromedia.com/exchange/dreamweaver/ [check out the various categories listed in the 'browse extensions' dropdown menu near top of page] I would love to hear from anyone has been using Dreamweaver with Zope [recently].. How you organize your tasks between Dreamwever features and Zope features, etc? :Have you and problems with site upload from Dreamweaver into ZServer? :Use of Tables to implement zopesite design changes. :Not losing DTML tags.. :handling DTML :managing files locally and their relationship to ZODB thanks - Jason ___ Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] ___ 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 )