The events based programming model for Zope ?
Hi guys, i dont know if this is the right forum for raising this kind of ideas - forgive me if its not. I was thinking about an event based model for the application servers like zope which would make life easier for the programmers. Just like the db triggers, mouse events etc....it would be great if a web server would include triggers internally like - page closed, page opened, page validation, object start, object destroy, and so on.... just thinking if anyone else has done anything like this - is this even a valid model for the web model. I feel this would greatly simplify programming because if the programmers had to just trap the events and do the relevant coding for that then there could truly be a Rapid Web development Tools and Rapid prototyping etc which would also bring greater speed to the development cycle itself overall on the web. Any ideas ? What do you guys say ? Can Zope be extended this way by implementing a layer within zope that raises these triggers and letting the programmers trap these events ? Any plans ? Well just shooting off some ideas - pardon me if it sounds stupid. regards bobby
On Wed, 23 May 2001, Bobby Mathew wrote:
great if a web server would include triggers internally like - page closed
What do you mean? How server can know about it at all? This is done on client side, and client doesn't notify server about it. It seems you completely messed client-side and server-side things. On the client side you can use JavaScript. There are triggers onLoad, onUnload, etc. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Good point. Didnt think that thru that much, well can sessions be automatically done ?? Start Session, Session End Event instead ??? How about the object database in zope triggering events like start object instance, etc....., and other possible events at least ??? Just thinking up some possibilities !!! What do you say ? bobby ----- Original Message ----- From: Oleg Broytmann <phd@phd.fep.ru> To: Bobby Mathew <msg4bob@yahoo.com> Cc: <zope@zope.org> Sent: Wednesday, May 23, 2001 5:18 PM Subject: Re: [Zope] The events based programming model for Zope ?
On Wed, 23 May 2001, Bobby Mathew wrote:
great if a web server would include triggers internally like - page closed
What do you mean? How server can know about it at all? This is done on client side, and client doesn't notify server about it. It seems you completely messed client-side and server-side things. On the client side you can use JavaScript. There are triggers onLoad, onUnload, etc.
Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
_______________________________________________ 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 )
On Wed, 23 May 2001, Bobby Mathew wrote:
Good point. Didnt think that thru that much, well can sessions be automatically done ?? Start Session, Session End Event instead ??? How about
Start session upon invocation of the page. Session End is impossible. Solutions: timeout, or explicit request from user.
the object database in zope triggering events like start object instance,
It does it when user (browser, really) request a page. Oleg. ---- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
On Wednesday 23 May 2001 23:48, Oleg Broytmann wrote:
On Wed, 23 May 2001, Bobby Mathew wrote:
great if a web server would include triggers internally like - page closed
What do you mean? How server can know about it at all? This is done on client side, and client doesn't notify server about it. It seems you completely messed client-side and server-side things. On the client side you can use JavaScript. There are triggers onLoad, onUnload, etc.
These guys have done something along the lines of building web apps along an event model: http://openthought.net/ It looks as though the communications components could be integrated with Zope to do the same thing; it's probably just a matter of using the ParsedXML product, as well. John.
These guys have done something along the lines of building web apps along an event model: http://openthought.net/ It looks as though the communications components could be integrated with Zope to do the same thing; it's probably just a matter of using the ParsedXML product, as well. John. That triggered a thought about something I wanted for a long time -- a language that makes client side and server side seamless like what curl does: http://www.curl.com/html/about/overview.jsp Regards, Albert Boulanger aboulanger@vpatch.com
participants (4)
-
albert boulanger -
Bobby Mathew -
John Morton -
Oleg Broytmann