PackageDescription: SeasideMeteoroid(Bundle)


Seaside Meteoroid

Last published: July 10, 2009 by 'lfernandez'


SeasideMeteoroid framework is an implementation of Comet (1) on top of Seaside.
The main idea of SeasideMeteoroid is to have a live and endless connection between some web browser and the Seaside application.
This is reach by leaving an open connection with the browser which had request a Seaside site. Then, the only thing you need to use is JavaScript and AJAX to "send messages" into the client.

This work is based in the work of Lukas Renggli in SeasideComet.

For live examples see the bundle Meteoroid-Examples :)
Further reading (recommendable to read): http://cag.lifia.info.unlp.edu.ar/cag/Wiki/01.+Projects/Meteoroid

(1) http://en.wikipedia.org/wiki/Comet_(programming)


++++ Handy Developing stuff: ++++


WARegistry clearAllHandlers.
Smalltalk garbageCollect

"+++++++++++++++++++++ To clean all the dependencies +++++++++++++++++++++"

SharedCounterModel SharedInsertionModel SharedMeteoroidPageInspector SharedSimpleChatModel

announcer := SharedSimpleChatModel.
subscriptions := announcer default subscriptionRegistry allSubscriptions.
announcer default subscriptionRegistry removeSubscriptions: subscriptions.
announcer := subscriptions := nil

"+++++++++++++++++++++ To see what's happening with handlers and pages +++++++++++++++++++++"
MozillaHandler allInstances select: [ :e| e streamedResponse isNil not ]

Counter allInstances select: [ :e | e handler isNil not and: [e handler state class = RunningState] ]

MozillaHandler allInstances select: [ :e | e state class = RunningState]



License:
Meteoroid is dual licensed under CC-BY-SA-NC and GNU GPL.
CC-BY-SA-NC
This package and all its content are available under Creative Commons, Attribution-Noncommercial-Share Alike 2.5 Generic ( http://creativecommons.org/licenses/by-nc-sa/2.5/ )

GNU GPL
This package is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package. If not, see http://www.gnu.org/licenses/

Copyright Fernandez, Juan Lautaro (lfernandez@lifia.info.unlp.edu.ar),
Robles, Santiago (srobles@lifia.info.unlp.edu.ar),
Andres Fortier (andres@lifia.info.unlp.edu.ar),
LIFIA
Year 2009.

If this license does not fit you, contact the authors.