Zope on local machine and ZSynched to a server - could it be like Radio Userland?
Blob, I believe in throwing ideas and dreaming together. After seeing Andy's Plone windows installer I began to wonder, would it be possible in future to have content providers running local Zope instances and replicate with xml-rpc to the web server. And with possible I mean as easy to use as radio. First features would be. 1) Easy to setup on local machine, doubleclick to setup, click clickety click and local service is up and running 2) Person can start to create local content right away, wether it is a blog or articles or news items 3) When ready and connected to the net, user can upload and send selected files or changes to designated server either published right then or possibly to a person's own Inbox from which user can select to publish them This would make the authoring experience same also offline. It would be nice to be able to be offline with laptop, make the content and layouts ready and just send everything to the server when connected. Think about email, while offline you can do the emails ready and then just upload your 'outbox' to the email server. This would be enough for offline editing - either for people who depend on dialup connections afrom home or are doing reportage for example on the run via GSM or GPRS. ( For you americans GPRS is packet switched mobile phone network, which allows also higher bandwith than normal GSM data ). Why am I interested in this idea? Well first of all the authoring on the run. With same tools and interfaces as online. Otherwise the content creation tools would be - most likely MS Office or similar. For content creators I believe it would be best, if the processes and tools are same - no matter where you do your publishing, online or offline. In a year or two or three or whenever - it would be nice to have something like Lotus Notes' replication, meaning user could download snapshots / replicate parts from the server to local machine. Edited objects would be replicated back to the server and edit conflicts resolved. This kind of replicated storage would kick ass and would make possible to create applications that could be taken to field within laptops and then again replicated to main database when back at the office. Any thougths. -- Heimo Laukkanen Oy Fountain Park Ltd Hämeentie 153 B, 00560 Helsinki, Finland tel. +358 9 777 68 161, gsm +358 40 759 1110, fax +358 9 777 68 100 http://www.fountainpark.org
I began to wonder, would it be possible in future to have content providers running local Zope instances and replicate with xml-rpc to the web server. And with possible I mean as easy to use as radio.
Peice of cake. I started thinking about this one time playing around with Blogger. Blogger allows you to publish your site out to an ftp server. It wouldnt be much different if one ftp'd out your say Squishdot web log onto a plain and cheap site with ftp access (with the obvious static problem).
Edited objects would be replicated back to the server and edit conflicts resolved. This kind of replicated storage would kick ass and would make possible to create applications that could be taken to field within laptops and then again replicated to main database when back at the office.
It would be very cool. However there is obviously quite a bit of work on ZSyncer alone for that sort of reliability and redundancy (and all the Zope 2 cruft). Not sure if there is a good commercial application for it though ;) -- Andy McKay Agmweb Consulting http://www.agmweb.ca
Andy McKay wrote:
Peice of cake. I started thinking about this one time playing around with Blogger. Blogger allows you to publish your site out to an ftp server. It
Well why not then do it. I mean you have - in you Plone windows installer - a great start for this kind of setup too. I would actually be interested to develope this kind of setup too - if you share your magic in how you are creating these setup-distributions. And since we are talking about it - I would like to also know how to make programs / scripts into windows that add for example a new web folder shortcut to Zope with parameteres that user writes. ,-) What I am thinking about is the possibility to create a local Zope CMF editor enviroment setup.exe that I could easily modify and configure for different needs and send to almost anyone -- or let editors download the package by themselves. The development enviroment could be visually similar to the live service - or even totally different - in a sense of being just an editor enviroment and live website is also the publishing enviroment. And then again publishing would happen on object or folder basis - to the Inbox folder or live folder of the site. Wohoo - that would be cool.
wouldnt be much different if one ftp'd out your say Squishdot web log onto a plain and cheap site with ftp access (with the obvious static problem).
I thougth about this too. I didn't quite agree on what would be the best possible way to do dumping a rendered view of the site to an ftp server: start with a script to go through element and view it and save that to the server, use wget to collect everything rendered to a temporary folder and upload that via ftp to the server or use sitecopy etc. Too tired to think anymore ,-)
It would be very cool. However there is obviously quite a bit of work on ZSyncer alone for that sort of reliability and redundancy (and all the Zope 2 cruft). Not sure if there is a good commercial application for it though ;)
,-) Yep. But in the timespan of 2 - 3 years solving the replication would be really really really cool and open different possibilities to Zope web applications. Think about intranet of a company that is spread on different sites and that doesn't have good internet connections between offices - or wants to reserve the bandwidth for something else. They could have local servers for each office and replicate servers.. etc... I've never used or programmed notes, but I've been told that Notes can work like that. -- Heimo Laukkanen Oy Fountain Park Ltd Hämeentie 153 B, 00560 Helsinki, Finland tel. +358 9 777 68 161, gsm +358 40 759 1110, fax +358 9 777 68 100 http://www.fountainpark.org
Well why not then do it
Usual excuses, because I have too many things to do and not enough time or motivation to do them all.
I would actually be interested to develope this kind of setup too - if you share your magic in how you are creating these setup-distributions.
Thanks for the complement, but there isnt much magic involved. Its just a matter of using a good installer like Inno http://www.jrsoftware.org/isinfo.php and some great tools like Plone, Zope the controller and flinging it all together. Thanks for reminding me though, the Inno setup file is now included in the distro...
And since we are talking about it - I would like to also know how to make programs / scripts into windows that add for example a new web folder shortcut to Zope with parameteres that user writes. ,-)
I think what you are talking about is it contained in the installer. If you want to do it by hand, win32all provides lots of neat functions like CreateShortcut()
They could have local servers for each office and replicate servers.. etc...
If you really wanted to get fancy with this though it might be to look at something like StandbyStorage which uses spread to syncrohnize ZODB's ... http://www.zope.org/Wikis/ZODB/StandbyStorage -- Andy McKay Agmweb Consulting http://www.agmweb.ca ----- Original Message ----- From: "Heimo Laukkanen" <huima@fountainpark.org> To: "Andy McKay" <andy@agmweb.ca> Cc: <zope@zope.org> Sent: Tuesday, September 10, 2002 6:17 PM Subject: Re: [Zope] Zope on local machine and ZSynched to a server - could it be like Radio Userland?
Andy McKay wrote:
Peice of cake. I started thinking about this one time playing around with Blogger. Blogger allows you to publish your site out to an ftp server. It
Well why not then do it. I mean you have - in you Plone windows installer - a great start for this kind of setup too. I would actually be interested to develope this kind of setup too - if you share your magic in how you are creating these setup-distributions.
And since we are talking about it - I would like to also know how to make programs / scripts into windows that add for example a new web folder shortcut to Zope with parameteres that user writes. ,-)
What I am thinking about is the possibility to create a local Zope CMF editor enviroment setup.exe that I could easily modify and configure for different needs and send to almost anyone -- or let editors download the package by themselves.
The development enviroment could be visually similar to the live service - or even totally different - in a sense of being just an editor enviroment and live website is also the publishing enviroment. And then again publishing would happen on object or folder basis - to the Inbox folder or live folder of the site. Wohoo - that would be cool.
wouldnt be much different if one ftp'd out your say Squishdot web log onto a plain and cheap site with ftp access (with the obvious static problem).
I thougth about this too. I didn't quite agree on what would be the best possible way to do dumping a rendered view of the site to an ftp server: start with a script to go through element and view it and save that to the server, use wget to collect everything rendered to a temporary folder and upload that via ftp to the server or use sitecopy etc.
Too tired to think anymore ,-)
It would be very cool. However there is obviously quite a bit of work on ZSyncer alone for that sort of reliability and redundancy (and all the Zope 2 cruft). Not sure if there is a good commercial application for it though ;)
,-) Yep. But in the timespan of 2 - 3 years solving the replication would be really really really cool and open different possibilities to Zope web applications. Think about intranet of a company that is spread on different sites and that doesn't have good internet connections between offices - or wants to reserve the bandwidth for something else. They could have local servers for each office and replicate servers.. etc...
I've never used or programmed notes, but I've been told that Notes can work like that.
-- Heimo Laukkanen Oy Fountain Park Ltd Hämeentie 153 B, 00560 Helsinki, Finland tel. +358 9 777 68 161, gsm +358 40 759 1110, fax +358 9 777 68 100 http://www.fountainpark.org
_______________________________________________ Zope maillist - Zope@zope.org 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 )
participants (2)
-
Andy McKay -
Heimo Laukkanen