*** giampaolo has quit IRC | 00:03 | |
*** webmaven has quit IRC | 00:08 | |
*** JaRoel|4D has joined #zope | 00:09 | |
*** hever has quit IRC | 00:13 | |
*** astoon has quit IRC | 00:18 | |
*** JaRoel|4D has quit IRC | 00:24 | |
*** JaRoel|4D has joined #zope | 00:24 | |
*** regebro has left #zope | 00:24 | |
*** jim_SFU has quit IRC | 00:30 | |
*** Arfrever has quit IRC | 00:33 | |
TKtiddle | Hello how Do i register a xsl file in a zpt? | 00:34 |
---|---|---|
*** TresEquis has quit IRC | 00:45 | |
*** benji has quit IRC | 00:58 | |
*** TKtiddle has quit IRC | 01:04 | |
*** TKtiddle has joined #zope | 01:06 | |
*** TresEquis has joined #zope | 01:06 | |
*** MrWu has quit IRC | 01:09 | |
*** TresEquis has quit IRC | 01:10 | |
*** redir has joined #zope | 01:12 | |
*** dunny has quit IRC | 01:15 | |
*** RichardBarrell has joined #zope | 01:22 | |
*** r0ver has joined #zope | 01:23 | |
*** hever has joined #zope | 01:26 | |
*** hever has quit IRC | 01:33 | |
*** mr_jolly has left #zope | 01:39 | |
*** ignas has joined #zope | 01:41 | |
*** ignas has quit IRC | 01:46 | |
*** aaronv has quit IRC | 01:55 | |
*** r0ver has left #zope | 01:56 | |
*** dayne has quit IRC | 02:02 | |
*** TKtiddle has quit IRC | 02:28 | |
*** tiwula has quit IRC | 02:44 | |
*** daMaestro has quit IRC | 03:06 | |
*** sm has quit IRC | 03:14 | |
*** sm has joined #zope | 03:14 | |
*** tiwula has joined #zope | 03:15 | |
*** alecm has quit IRC | 03:40 | |
*** RichardBarrell has quit IRC | 03:41 | |
*** alecm has joined #zope | 03:49 | |
*** davisagli is now known as davisagli|away | 04:05 | |
*** davisagli|away is now known as davisagli | 04:10 | |
*** davisagli is now known as davisagli|away | 04:10 | |
*** CVirus has joined #zope | 04:18 | |
*** CVirus has left #zope | 04:18 | |
*** davisagli|away is now known as davisagli | 04:23 | |
*** alecm has quit IRC | 04:31 | |
*** dunny has joined #zope | 04:34 | |
*** davisagli is now known as davisagli|away | 04:35 | |
*** davisagli|away is now known as davisagli | 04:50 | |
*** davisagli is now known as davisagli|away | 04:50 | |
*** axelix has joined #zope | 05:37 | |
*** digilord_ has joined #zope | 06:02 | |
*** digilord has quit IRC | 06:05 | |
*** digilord_ is now known as digilord | 06:05 | |
*** mcdonc has quit IRC | 06:15 | |
*** mcdonc has joined #zope | 06:15 | |
*** davisagli|away is now known as davisagli | 06:16 | |
*** dayne has joined #zope | 06:23 | |
*** alvaro has quit IRC | 06:36 | |
*** kleist has joined #zope | 06:44 | |
*** astoon has joined #zope | 06:59 | |
*** davisagli is now known as davisagli|away | 07:08 | |
*** baijum has joined #zope | 07:16 | |
*** astoon has quit IRC | 07:23 | |
*** mcdonc has quit IRC | 07:26 | |
*** mcdonc has joined #zope | 07:26 | |
*** digilord has quit IRC | 07:37 | |
*** skt_ has joined #zope | 07:41 | |
*** davisagli|away is now known as davisagli | 07:43 | |
*** r0ver has joined #zope | 08:12 | |
*** huajie has joined #zope | 08:17 | |
*** r0ver has left #zope | 08:28 | |
*** dunny has quit IRC | 08:28 | |
*** davisagli is now known as davisagli|away | 08:32 | |
*** timte has joined #zope | 08:33 | |
*** jan_s has joined #zope | 08:34 | |
*** davisagli|away is now known as davisagli | 08:36 | |
*** davisagli is now known as davisagli|away | 08:54 | |
*** JaRoel|4D has quit IRC | 08:57 | |
*** zagy has joined #zope | 09:04 | |
*** davisagli|away is now known as davisagli | 09:05 | |
*** davisagli is now known as davisagli|away | 09:06 | |
*** digitalmortician has joined #zope | 09:19 | |
*** vigith has joined #zope | 09:28 | |
*** phimic has joined #zope | 09:41 | |
*** JaRoel|4D has joined #zope | 09:53 | |
*** digitalmortician has quit IRC | 09:58 | |
*** digitalmortician has joined #zope | 10:07 | |
*** sashav has joined #zope | 10:11 | |
*** sim_sim has joined #zope | 10:24 | |
*** MrWu has joined #zope | 10:29 | |
*** hever has joined #zope | 10:32 | |
*** planetzopebot has quit IRC | 10:33 | |
*** planetzopebot has joined #zope | 10:34 | |
*** dunny has joined #zope | 10:51 | |
*** tisto has joined #zope | 10:53 | |
*** MrWu has quit IRC | 11:02 | |
*** Theuni1 has joined #zope | 11:02 | |
*** mr_jolly has joined #zope | 11:07 | |
*** eperez has joined #zope | 11:09 | |
*** hever has quit IRC | 11:12 | |
*** gimni has joined #zope | 11:14 | |
*** lcpfnvc has joined #zope | 11:16 | |
*** gimni has quit IRC | 11:16 | |
*** mr_jolly has left #zope | 11:35 | |
*** neo|4D has joined #zope | 11:38 | |
*** Theuni1 has quit IRC | 11:41 | |
*** Theuni1 has joined #zope | 11:46 | |
CIA-46 | wichert * r112299 zope.app.locales/ (CHANGES.txt src/zope/app/locales/nl/LC_MESSAGES/zope.po): Use a more user friendly message. Users were confused when the original appeared as a form error. | 11:53 |
*** menesis has joined #zope | 12:04 | |
CIA-46 | wichert * r112300 zope.app.locales/src/zope/app/locales/nl/LC_MESSAGES/ (zope.mo zope.po): Fix fuzzy strings | 12:10 |
*** regebro has joined #zope | 12:19 | |
*** axelix has quit IRC | 12:24 | |
*** MJ has joined #zope | 12:28 | |
*** Theuni2 has joined #zope | 12:31 | |
*** Theuni1 has quit IRC | 12:32 | |
*** evilbungle_ has joined #zope | 12:33 | |
*** teix has joined #zope | 12:54 | |
*** mr_jolly has joined #zope | 13:09 | |
*** thetet has joined #zope | 13:09 | |
*** emrojo has joined #zope | 13:11 | |
*** touff has joined #zope | 13:25 | |
*** touff has quit IRC | 13:31 | |
*** touff has joined #zope | 13:32 | |
*** evilbungle_ has quit IRC | 13:34 | |
*** Theuni2 has quit IRC | 13:35 | |
*** agroszer has joined #zope | 13:40 | |
*** touff has quit IRC | 13:40 | |
*** hever has joined #zope | 13:42 | |
*** TomBlockley has joined #zope | 13:42 | |
*** agroszer has quit IRC | 13:45 | |
*** agroszer_ has joined #zope | 13:45 | |
*** giampaolo has joined #zope | 14:00 | |
*** sashav has quit IRC | 14:01 | |
*** Theuni1 has joined #zope | 14:07 | |
*** agroszer_ is now known as agroszer | 14:12 | |
*** evilbungle has joined #zope | 14:26 | |
*** evilbungle has quit IRC | 14:26 | |
*** sim_sim has quit IRC | 14:28 | |
*** TomBlockley has quit IRC | 14:42 | |
*** touff has joined #zope | 14:44 | |
*** hever has quit IRC | 14:44 | |
*** timte has quit IRC | 14:53 | |
*** evilbungle has joined #zope | 14:54 | |
*** thetet has quit IRC | 14:55 | |
*** menesis has quit IRC | 15:00 | |
*** evilbungle has quit IRC | 15:00 | |
*** Arfrever has joined #zope | 15:01 | |
*** evilbungle has joined #zope | 15:13 | |
*** vigith has quit IRC | 15:16 | |
*** evilbungle has quit IRC | 15:18 | |
*** touff has quit IRC | 15:20 | |
*** evilbungle has joined #zope | 15:21 | |
*** evilbungle has quit IRC | 15:25 | |
*** _bluetouff has joined #zope | 15:27 | |
*** evilbungle has joined #zope | 15:27 | |
*** _bluetouff has quit IRC | 15:28 | |
*** _bluetouff has joined #zope | 15:32 | |
*** evilbungle has quit IRC | 15:37 | |
*** TomBlockley has joined #zope | 15:48 | |
*** menesis has joined #zope | 15:50 | |
*** mr_jolly has left #zope | 15:56 | |
*** _bluetouff has quit IRC | 15:58 | |
*** _bluetouff has joined #zope | 16:03 | |
*** TomBlockley has quit IRC | 16:04 | |
*** goschtl has joined #zope | 16:06 | |
*** evilbungle has joined #zope | 16:07 | |
*** hever has joined #zope | 16:10 | |
*** vigith has joined #zope | 16:11 | |
*** vigith has quit IRC | 16:11 | |
*** mgedmin has joined #zope | 16:12 | |
*** eperez has quit IRC | 16:16 | |
*** dunny has quit IRC | 16:21 | |
*** dayne has quit IRC | 16:25 | |
*** alvaro has joined #zope | 16:38 | |
*** skt_ has quit IRC | 16:39 | |
*** _bluetouff has quit IRC | 16:41 | |
*** _bluetouff has joined #zope | 16:46 | |
*** evilbungle__ has joined #zope | 16:56 | |
*** evilbungle has quit IRC | 16:58 | |
*** evilbungle__ has quit IRC | 17:00 | |
*** evilbungle has joined #zope | 17:03 | |
*** evilbungle has quit IRC | 17:04 | |
*** baijum has quit IRC | 17:06 | |
*** Theuni1 has quit IRC | 17:14 | |
*** digitalmortician has quit IRC | 17:15 | |
*** Theuni1 has joined #zope | 17:16 | |
*** menesis has quit IRC | 17:16 | |
*** JT has quit IRC | 17:24 | |
*** JT has joined #zope | 17:25 | |
*** phimic has quit IRC | 17:27 | |
*** alecm has joined #zope | 17:30 | |
*** JT has quit IRC | 17:30 | |
*** allisterb has quit IRC | 17:47 | |
*** JT has joined #zope | 17:49 | |
*** goschtl has quit IRC | 17:55 | |
*** evilbungle has joined #zope | 17:56 | |
*** _bluetouff has quit IRC | 17:59 | |
*** allisterb has joined #zope | 18:01 | |
*** grahal has joined #zope | 18:12 | |
*** MatthewWilkes has joined #zope | 18:14 | |
*** evilbungle has quit IRC | 18:29 | |
*** MJ has quit IRC | 18:30 | |
*** Theuni1 has quit IRC | 18:32 | |
*** zagy has quit IRC | 18:33 | |
*** zagy has joined #zope | 18:34 | |
*** evilbungle has joined #zope | 18:53 | |
*** Theuni1 has joined #zope | 18:53 | |
*** kleist has quit IRC | 18:57 | |
*** evilbungle has quit IRC | 18:57 | |
*** tisto has quit IRC | 19:02 | |
*** giampaolo_ has joined #zope | 19:09 | |
*** giampaolo has quit IRC | 19:09 | |
*** giampaolo has joined #zope | 19:10 | |
*** zagy has quit IRC | 19:13 | |
*** TomBlockley has joined #zope | 19:14 | |
*** TomBlockley has quit IRC | 19:17 | |
*** davisagli|away is now known as davisagli | 19:19 | |
*** huajie has quit IRC | 19:31 | |
*** Theuni1 has quit IRC | 19:38 | |
*** Theuni1 has joined #zope | 19:41 | |
CIA-46 | jacobholm * r112301 /z3c.dependencychecker/branches/ (5 files in 3 dirs): Branch for working on better detection of zcml and doctest dependencies. | 19:49 |
*** hever has quit IRC | 20:05 | |
*** tiwula has quit IRC | 20:06 | |
*** Theuni1 has quit IRC | 20:10 | |
*** mgedmin has quit IRC | 20:16 | |
CIA-46 | tseaver * r112302 /ZODB/branches/tseaver-better_repozo_tests: Branch for improving repozo unit test coverage. | 20:32 |
*** davisagli is now known as davisagli|away | 20:37 | |
*** lucmult has joined #zope | 20:38 | |
*** lucmult has left #zope | 20:41 | |
*** emrojo has quit IRC | 20:45 | |
CIA-46 | tseaver * r112303 /ZODB/branches/tseaver-better_repozo_tests: Get this in better. | 20:46 |
CIA-46 | tseaver * r112304 /ZODB/branches/tseaver-better_repozo_tests: Branch for improving repozo unit test coverage (redux). | 20:46 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112305 ZODB/src/ZODB/scripts/repozo.py: | 20:46 |
CIA-46 | Hooks for testability: | 20:46 |
CIA-46 | Raise an exception from 'do_full_backup' / 'do_incremental_backup' where | 20:46 |
CIA-46 | we would have called sys.exit(2) to avoid overwriting files. Catch the | 20:46 |
CIA-46 | exception in 'main' and do the same error reporting / exit. | 20:46 |
CIA-46 | Allow the 'options' object to pre-set the time used for generating the | 20:46 |
CIA-46 | backup filenames. | 20:46 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112306 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'do_full_backup' / 'do_incremental_backup'. | 20:46 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112307 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'dofile'. | 20:46 |
*** lucmult has joined #zope | 20:48 | |
*** daMaestro has joined #zope | 21:01 | |
*** MJ has joined #zope | 21:01 | |
CIA-46 | tseaver tseaver-better_repozo_tests * r112308 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'checksum'. | 21:02 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112309 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'copyfile'. | 21:02 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112310 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'concat'. | 21:02 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112311 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'gen_filename'. | 21:02 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112312 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'find_files'. | 21:02 |
CIA-46 | tseaver tseaver-better_repozo_tests * r112313 ZODB/src/ZODB/scripts/tests/test_repozo.py: Add tests for 'scandat'. | 21:02 |
*** MJ has quit IRC | 21:03 | |
*** runyaga has joined #zope | 21:04 | |
*** zagy has joined #zope | 21:23 | |
*** huajie has joined #zope | 21:31 | |
CIA-46 | jim * r112314 ZODB/src/ZODB/scripts/ (repozo.py tests/test_repozo.py): Merged the tseaver-better_repozo_tests branch. | 21:32 |
*** zagy has quit IRC | 21:33 | |
*** dayne has joined #zope | 21:38 | |
*** maiky has joined #zope | 21:39 | |
*** teix has quit IRC | 21:40 | |
*** RaFromBRC has joined #zope | 21:43 | |
*** TresEquis has joined #zope | 21:47 | |
*** evilbungle has joined #zope | 21:49 | |
*** menesis has joined #zope | 21:58 | |
*** davisagli|away is now known as davisagli | 21:59 | |
*** zagy has joined #zope | 22:04 | |
*** zagy has quit IRC | 22:07 | |
*** davisagli is now known as davisagli|away | 22:12 | |
*** tarek has joined #zope | 22:14 | |
*** tarek has left #zope | 22:22 | |
*** huajie has quit IRC | 22:22 | |
*** agroszer has quit IRC | 22:25 | |
*** MatthewWilkes has quit IRC | 22:27 | |
*** davisagli|away is now known as davisagli | 22:29 | |
*** alecm has quit IRC | 22:35 | |
*** lucmult has quit IRC | 22:37 | |
*** mcdonc has quit IRC | 22:51 | |
*** digilord has joined #zope | 22:54 | |
*** evilbungle has quit IRC | 22:56 | |
digilord | Is there a way to build a socket server in ZOPE that connects to another device over a socket and is still able to communicate to my ZOPE app? | 22:56 |
*** mcdonc has joined #zope | 22:56 | |
*** maiky has quit IRC | 23:00 | |
*** lucmult has joined #zope | 23:03 | |
*** tiwula has joined #zope | 23:07 | |
runyaga | digilord, sure | 23:12 |
digilord | runyaga: I am all eyes ;) | 23:12 |
runyaga | sockert server that connects to another device? | 23:13 |
runyaga | do you mean.. "open up a socket in Zope which connects to another device" ? | 23:13 |
digilord | runyaga: Yes | 23:13 |
runyaga | use a external methdo | 23:13 |
runyaga | external method | 23:13 |
runyaga | def mymethod(self): | 23:13 |
runyaga | socket.connect(..) | 23:13 |
runyaga | just regular python | 23:13 |
shen-long | no crap? | 23:14 |
digilord | runyaga: I need bi-directional comms | 23:14 |
runyaga | is this a long running communication? | 23:14 |
digilord | runyaga: I have an external twisted server but it needs data from zope. I am writing files to the filesystem right now | 23:14 |
digilord | runyaga: Yeah should run all the time | 23:14 |
digilord | runyaga: It's not polled comms | 23:14 |
runyaga | and you want zope to connect to twister; and twisted to connect to zope? | 23:15 |
shen-long | hmm, is there a way to spawn a twisted reactor in the same thread as a zeo client ? | 23:15 |
digilord | runyaga: The device will connect and talk to the server whenever it has data the server needs. | 23:15 |
runyaga | shen-long, yes.. see zc.async | 23:15 |
digilord | runyaga: Yes | 23:15 |
shen-long | checking now | 23:15 |
runyaga | digilord, unsure other than writing a zserver | 23:15 |
runyaga | filesystem sounds good to me | 23:16 |
runyaga | inotify + filesystem | 23:16 |
runyaga | super simple ;) | 23:16 |
shen-long | runyaga, we're connecting to a sip server | 23:17 |
runyaga | digilord, or maybe beanstalkd? amqp? | 23:17 |
shen-long | so it's got an event layer | 23:17 |
shen-long | and in it's config we can point events to sockets (ie, when this thing happens, take your session data and bring it to this socket) | 23:17 |
runyaga | it has an event layer but you need to react to the events across both processes | 23:17 |
shen-long | yup | 23:17 |
runyaga | in the sip server you can point it to a socket? | 23:18 |
shen-long | yes indeed | 23:18 |
shen-long | so perhaps two sockets? | 23:18 |
shen-long | or .. more, of course | 23:18 |
digilord | It's the control channel | 23:18 |
runyaga | i think filessystem + inotify still good idea ;) | 23:18 |
runyaga | http://svn.zope.org/Zope/trunk/src/ZServer/ | 23:18 |
runyaga | although i think this is more complicated than filesystem ;-) | 23:18 |
runyaga | sounds like your having a problem with zope "picking up" the events | 23:18 |
shen-long | so, inotify, I get | 23:18 |
runyaga | how about just sending zope http POST? | 23:19 |
shen-long | well, we were looking at twist for zope | 23:19 |
digilord | runyaga: The device has it's own protocol that we didn't design | 23:19 |
shen-long | so it doesn't seem like it will be too hard to have twisted reactors hit objects, validate and persisit | 23:19 |
shen-long | persist | 23:19 |
digilord | runyaga: It just opens a TCP socket and talks over that | 23:19 |
runyaga | well if its a socket... | 23:19 |
runyaga | write a long running tcp socket server that reads and marshalls it to PUTs ? | 23:20 |
shen-long | hmm | 23:20 |
shen-long | ok | 23:20 |
runyaga | i mean.. simple ;-) | 23:20 |
shen-long | lol | 23:20 |
runyaga | and super easy to debug | 23:20 |
runyaga | http://svn.zope.org/Zope/trunk/src/ZServer/ICPServer.py?rev=110402&view=auto | 23:20 |
shen-long | no crap | 23:20 |
runyaga | is probably the simplest "zserver channel" | 23:20 |
shen-long | because, we're very async already | 23:20 |
runyaga | but this is going to be more difficult to debug | 23:20 |
shen-long | anything sync is handled inside the sip server currently | 23:20 |
shen-long | I just feel like I'm asking the wrong question ;p | 23:21 |
runyaga | you could be | 23:21 |
runyaga | and i should be doing work | 23:21 |
runyaga | but i will talk to you for a few more minutes before getting back to work ;) | 23:21 |
shen-long | w00t! ;p | 23:22 |
shen-long | let me try and articulate the problem | 23:22 |
shen-long | instead of asking you for a solution | 23:22 |
runyaga | good mna | 23:22 |
shen-long | so, we're using zodb to store configuration data | 23:22 |
shen-long | it's ... f'ing amazing | 23:22 |
shen-long | so, now we're spoiled with objects and containment | 23:22 |
runyaga | yup | 23:22 |
runyaga | persistence - check | 23:23 |
shen-long | lol, yeah | 23:23 |
shen-long | so, we are generating config for the system from the zope objects | 23:23 |
shen-long | and that's also wonderful | 23:23 |
shen-long | we have a working implementation of a socket reactor in twisted (tcp) | 23:24 |
shen-long | that when an event in the system (go to bill's voicemail) | 23:24 |
shen-long | is fired, we wind up at that correct twisted reactor with our session vars, in python | 23:24 |
shen-long | to then cut the dictionaries up and spread the data where it needs to go for the actual call to work as expected by a user | 23:25 |
shen-long | press 1 for this, etc | 23:25 |
shen-long | catch button presses | 23:25 |
shen-long | we could love to have this data in zope | 23:25 |
shen-long | at the correct object | 23:25 |
shen-long | without too many middle man layers | 23:26 |
shen-long | like, bill was called by "number here" on "date.time" | 23:26 |
shen-long | crud like that | 23:26 |
runyaga | how about opening up a zeoclient in your sip server and jus write to the database? | 23:26 |
shen-long | that sounds spectacular | 23:26 |
shen-long | should I read up more on how a zeoclient is built ? | 23:26 |
runyaga | your already using ZEO, probably? | 23:27 |
shen-long | not yet, for this project | 23:27 |
shen-long | but I've used it before for plone | 23:27 |
runyaga | http://zodb.org/documentation/articles/index.html | 23:27 |
runyaga | instead of a FileStorage you will use a ClientStorage | 23:28 |
runyaga | but instead of doing all of this | 23:28 |
runyaga | you already have the sip server dumping events to FS, correct? | 23:28 |
runyaga | no other changes needed | 23:29 |
runyaga | it Just Works(tm) | 23:29 |
shen-long | wow | 23:29 |
digilord | runyaga: No events are only sent to socket connected devices | 23:29 |
shen-long | we could write something in twisted to dump those to the fs I guess | 23:29 |
runyaga | right | 23:29 |
runyaga | so what you could do | 23:29 |
runyaga | write a daemon that receives the socket comm from sip + writes to a*separate* ZEO database | 23:30 |
runyaga | then in the Zope/Plone/wahtever end; have a ZEO client connecting to the same database | 23:30 |
shen-long | yes | 23:30 |
shen-long | got it | 23:30 |
runyaga | voila - you get your objects and something fairly reasonable easy to debug | 23:30 |
runyaga | the only suck part is running another service | 23:30 |
runyaga | and if that is unbearable; your only other choice is to write a Zope ZServer channel | 23:31 |
shen-long | man, you got the wheels moving I think ;p | 23:31 |
runyaga | great | 23:31 |
shen-long | thank you very very much | 23:31 |
runyaga | and on that note i need to get back to work; have good weekend | 23:31 |
shen-long | ok, one more question though | 23:31 |
shen-long | we want to take the data from the middle man db, and then write the correct information into the configuration / ui zodb | 23:32 |
runyaga | no no no no | 23:32 |
shen-long | is that correct ? | 23:32 |
runyaga | so you have zope process - right? | 23:32 |
shen-long | k, thought I was missing that point ;) | 23:32 |
shen-long | right | 23:32 |
runyaga | and you have a UI there? | 23:32 |
shen-long | yes | 23:32 |
runyaga | so that is 1 database | 23:33 |
shen-long | right | 23:33 |
runyaga | you will need to setup another database in your zope that talks to a ZEO server | 23:33 |
runyaga | "another database" | 23:33 |
runyaga | so lets say you have | 23:33 |
runyaga | <db man> | 23:33 |
runyaga | your existing system | 23:33 |
runyaga | </db> | 23:33 |
runyaga | that was suppose to be <db main> | 23:33 |
shen-long | <db events> | 23:33 |
runyaga | right | 23:33 |
runyaga | which is a SEPARATE ZODB | 23:33 |
runyaga | and the only thing that it should have is BTree's (scalable containers) and PersistentMappings (your events) | 23:34 |
runyaga | then.. | 23:34 |
runyaga | your zope application UI simply needs to get a reference to this database (mounted database?) and do the needful | 23:34 |
shen-long | lol .. do the needful | 23:34 |
shen-long | I've been in that industry :D | 23:35 |
digilord | Bsed on the event type can we have something kick off a method? | 23:35 |
runyaga | today: you have 1 database, tomorrow: you need 2 database (original + "events db") | 23:35 |
runyaga | oh right | 23:35 |
runyaga | you need to "react" to these events in zope? | 23:35 |
shen-long | right | 23:35 |
digilord | Aye | 23:35 |
runyaga | what sort of "reaction" ? | 23:35 |
digilord | Decide what to do with a call | 23:36 |
runyaga | zope has all of this knowledge? | 23:36 |
runyaga | so its not just for UI | 23:36 |
shen-long | you know | 23:36 |
shen-long | I think we're over thinking this part of it | 23:36 |
runyaga | i hope so.. if you dont have a reason .. dont fiddle with it | 23:37 |
runyaga | just get the events there | 23:37 |
shen-long | we just want to move correlated data from one db, into the objects for another | 23:37 |
shen-long | so like, we have db1.somedomain.user | 23:37 |
shen-long | and all his caller id information and call log, voicemail is in the other db | 23:38 |
runyaga | but that person is siimply getting a "view" of the data - right? | 23:38 |
shen-long | right | 23:38 |
runyaga | i.e. they gto a UI and they see call log, voice mail, etc | 23:38 |
shen-long | I just don't know how that works codified | 23:38 |
shen-long | like, does zope care we're talking to db1 or db2 | 23:39 |
runyaga | so extend the UI to also do the lookup in the events database | 23:39 |
runyaga | no | 23:39 |
shen-long | we just use a relation/alias ? | 23:39 |
runyaga | once you have references to the database.. if your using the "standard plumbing" it works the same way you expect it to | 23:39 |
shen-long | ahh ok | 23:39 |
runyaga | no | 23:39 |
runyaga | just do the look up in your UI | 23:39 |
shen-long | so it's just a different 'file' | 23:39 |
shen-long | on the filesystem | 23:39 |
shen-long | on another machine, written to by another service | 23:39 |
shen-long | but it's still in the same zope land for us | 23:40 |
runyaga | yes | 23:40 |
shen-long | so we can write to each dbs objects and persist them as we need, as if by magic ? | 23:40 |
runyaga | maybe its not good enough | 23:40 |
runyaga | yes | 23:40 |
runyaga | well its not magic | 23:40 |
runyaga | you still need to commit transaction | 23:40 |
shen-long | right | 23:40 |
runyaga | and synchronize the db connection | 23:40 |
runyaga | and watch out for cnoflicterrors | 23:40 |
runyaga | I would HIGHLY suggest using ZODB 3.9.5 | 23:40 |
runyaga | if you move to this confniguration | 23:41 |
shen-long | I think we are | 23:41 |
runyaga | that can prevent accidental cross database references | 23:41 |
runyaga | iirc | 23:41 |
shen-long | using latest grok | 23:41 |
runyaga | just double check ;) | 23:41 |
shen-long | sure thing :p | 23:41 |
shen-long | looking now | 23:41 |
runyaga | allrighty | 23:41 |
runyaga | good luck guys | 23:41 |
shen-long | runyaga, thanks man :) | 23:41 |
shen-long | very much | 23:41 |
shen-long | nope | 23:42 |
shen-long | need to upgrade | 23:42 |
shen-long | heh | 23:42 |
shen-long | thanks again :) | 23:42 |
*** r0ver has joined #zope | 23:45 | |
*** regebro has quit IRC | 23:50 | |
*** davisagli is now known as davisagli|away | 23:51 | |
CIA-46 | jim * r112315 ZODB/src/ (6 files in 4 dirs): reverted a premature commit | 23:53 |
CIA-46 | jim * r112316 /ZODB/branches/jim-transform-wrapping: Try to sort out supporting wrappers that perform data transformation. | 23:53 |
CIA-46 | jim jim-transform-wrapping * r112317 ZODB/src/ (6 files in 4 dirs): moved premature commit to branch | 23:53 |
CIA-46 | jim jim-transform-wrapping * r112318 ZODB/src/ZODB/ (7 files in 3 dirs): checkpoint | 23:53 |
CIA-46 | jim jim-transform-wrapping * r112319 ZODB/src/ZODB/tests/hexstorage.py: checkpoint | 23:53 |
CIA-46 | jim * r112320 ZODB/src/ (7 files in 3 dirs): | 23:53 |
CIA-46 | Databases now warn when committing very large records (> 16MB). | 23:53 |
CIA-46 | This is to tr to warn people of likely design mistakes. There is a | 23:53 |
CIA-46 | new option (large_record_size/large-record-size) to control the | 23:53 |
CIA-46 | Index: src/CHANGES.txt | 23:53 |
*** mgedmin has joined #zope | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!