pcardune | any idea how I can make use of these things called widgets in my page templates? | 00:15 |
---|---|---|
pcardune | I see how to do it for an add and edit form, but what about just in a regular old page? | 00:16 |
tvon | widgets are only used for form elements | 00:16 |
tvon | hrm, I wonder if a batching widget would be useful | 00:17 |
*** matiasV has quit IRC | 00:17 | |
pcardune | right, and I want to include a widget in my form... | 00:17 |
* tvon is always looking for ways to make simple things more complicated | 00:17 | |
gintas | pcardune, widgets in Zope 3 are not trivial | 00:18 |
gintas | you might want to look around the existing code | 00:18 |
srichter | pcardune: basically you create a schema for your page template widgets | 00:19 |
gintas | basically, during initialization you call setUpEditWidgets (or setUpDisplayWidgets if you don't need editing) with a schema | 00:19 |
srichter | and then use the new browser:form directive | 00:19 |
pcardune | but they should be! widgets should be an easy thing, like widgets in wxpython or in Tkinter! | 00:19 |
srichter | gintas is right | 00:19 |
srichter | pcardune: no, widgets in wx or Tkinter is like writing the HTML manually | 00:20 |
gintas | and then use getFormData (or whatever it's called), to pull data into widgets from the submitted request | 00:20 |
srichter | widgets are reposnible for marshelling the value they represent to HTML format and back | 00:20 |
gintas | in SchoolTool we usually use mixins to abstract this low-level stuff | 00:20 |
srichter | they also verify the value | 00:20 |
gintas | I believe WidgetBasedForm is a fair example | 00:20 |
gintas | you can have a look and see how it uses widgets | 00:21 |
pcardune | see, this is where i begin to get lost, but i'll give it a shot anyways... | 00:21 |
gintas | ok, WidgetBasedForm is from a different project, it's not in schooltool ;) | 00:22 |
pcardune | it wouldn't happen to be in tiks? (this is what I'm trying to use a widget from) | 00:22 |
gintas | no | 00:23 |
gintas | have a look at PersonEditView | 00:23 |
gintas | and 'person_edit.pt' as the corresponding template | 00:23 |
pcardune | hello, that looks like the ticket, thanks | 00:23 |
gintas | it shows how to position individual widgets in your webpage | 00:24 |
gintas | don't look at the adding views, those are messy | 00:24 |
gintas | even I don't understand them completely ;) (maybe I did, but then I forgot) | 00:24 |
tvon | when exactly did all our forms grown their own css/layout? | 00:33 |
tvon | er, s/grown/grow/ | 00:33 |
tvon | it's like warring factions | 00:34 |
srichter | tvon: thanks for the beautification of the Developer Tools menu | 00:43 |
*** bskahan has joined #schooltool | 00:48 | |
bskahan | yay, new dsl finally installed | 00:50 |
bskahan | the neighbors will be pleased | 00:50 |
srichter | bskahan: check out the introspector in devmode | 00:52 |
bskahan | srichter: just did, very cool | 00:52 |
bskahan | I've never really used it because I generally work on schooltool in standalone | 00:53 |
bskahan | so I couldn't access the zope3 interface | 00:53 |
bskahan | this is cool | 00:53 |
srichter | note that I wrote this specifically for SB/ST | 00:53 |
srichter | this introspector is not available in Zope 3 yet | 00:54 |
srichter | though I will port it | 00:54 |
bskahan | there is an introspector for zope 3 though, right? | 00:54 |
srichter | but it is shitty :-) | 00:55 |
bskahan | aha | 00:55 |
srichter | no really, it just shows the directly provided interfaces right now | 00:55 |
bskahan | old and busted vs. new hotness | 00:56 |
*** alga has quit IRC | 00:57 | |
srichter | exactely | 00:57 |
tvon | nice | 00:58 |
srichter | let me know if you would like to see other things too | 00:59 |
tvon | @@configure.html for the error reporting tool | 00:59 |
srichter | ah, yes | 01:00 |
tvon | bbiab | 01:01 |
*** gintas has quit IRC | 01:08 | |
*** bskahan has quit IRC | 01:12 | |
*** pcardune has quit IRC | 01:17 | |
povbot | /svn/commits: * srichter committed revision 4528: | 01:18 |
povbot | /svn/commits: Created initial version of the book section about SchoolBell in apidoc. | 01:18 |
*** pcardune has joined #schooltool | 01:20 | |
*** pcardune has quit IRC | 01:26 | |
*** pcardune has joined #schooltool | 01:27 | |
*** pcardune_ has joined #schooltool | 01:27 | |
*** pcardune_ has quit IRC | 01:33 | |
povbot | /svn/commits: * srichter committed revision 4529: | 01:58 |
povbot | /svn/commits: Created to menu entries in schoolbell_actions that provide access to the configuration and errors list of the error reporting utility. | 01:58 |
*** SteveA has quit IRC | 02:30 | |
*** tvon has quit IRC | 03:18 | |
*** tvon has joined #schooltool | 03:46 | |
*** pcardune has quit IRC | 04:01 | |
*** tvon has quit IRC | 06:31 | |
povbot | /svn/commits: * srichter committed revision 4530: | 07:18 |
povbot | /svn/commits: Customized apidoc to schoolbell. This includes custom Code, Interface and Book module contents and a custom style sheet so that everything looks more like schoolbell. | 07:18 |
povbot | /svn/commits: * srichter committed revision 4531: | 07:25 |
povbot | /svn/commits: Oops, buglet crept in during renaming. | 07:25 |
povbot | /svn/commits: * srichter committed revision 4532: | 08:14 |
povbot | /svn/commits: Patch ZCMLModule code, since it depends on the way Zope 3 is started. | 08:14 |
*** admp has joined #schooltool | 10:58 | |
*** admp has quit IRC | 11:46 | |
*** ignas has joined #schooltool | 13:21 | |
*** thisfred has joined #schooltool | 13:29 | |
*** tvon has joined #schooltool | 13:32 | |
*** gintas has joined #schooltool | 14:18 | |
povbot | /svn/commits: * gintas committed revision 4533: | 14:19 |
povbot | /svn/commits: Added .txt suffix to text files for consistency with SchoolTool. | 14:19 |
povbot | /svn/commits: * gintas committed revision 4534: | 14:21 |
povbot | /svn/commits: Merged revision 4533 from trunk (add .txt suffix to text files). | 14:21 |
povbot | /svn/commits: * gintas committed revision 4535: | 14:29 |
povbot | /svn/commits: Cosmetic fixes. | 14:29 |
povbot | /svn/commits: * gintas committed revision 4536: | 14:29 |
povbot | /svn/commits: Include schoolbell.batching in dist. | 14:29 |
povbot | /svn/commits: * gintas committed revision 4537: | 14:51 |
povbot | /svn/commits: Debian stuff is now separate. | 14:52 |
povbot | /svn/commits: * tvon committed revision 4538: | 14:59 |
povbot | /svn/commits: title underline was too short | 14:59 |
povbot | /svn/commits: * gintas committed revision 4539: | 15:00 |
povbot | /svn/commits: Cosmetic fixes. | 15:00 |
povbot | /svn/commits: * gintas committed revision 4540: | 15:00 |
povbot | /svn/commits: Updated includes in MANIFEST.in. | 15:00 |
*** bskahan has joined #schooltool | 15:08 | |
srichter | gppd morning everyone | 15:09 |
srichter | good morning everyone | 15:09 |
srichter | I have finished yesterday the custom apidoc and some other developer goodies | 15:09 |
srichter | please check it out and let me know any criticism, so I can fix it. | 15:10 |
povbot | /svn/commits: * gintas committed revision 4541: | 15:11 |
povbot | /svn/commits: Ported revisions 4535, 4536, 4537, 4539 and 4540 (mostly distutils packaging fixes). | 15:11 |
*** SteveA has joined #schooltool | 15:20 | |
povbot | /svn/commits: * gintas committed revision 4542: | 15:24 |
povbot | /svn/commits: Debian stuff is now separate. | 15:24 |
povbot | /svn/commits: * gintas committed revision 4543: | 15:26 |
povbot | /svn/commits: Cosmetic fixes to setup.py. | 15:26 |
povbot | /svn/commits: * srichter committed revision 4544: | 15:33 |
povbot | /svn/commits: Tweaked the look a bit more. | 15:33 |
srichter | anyone here? | 15:33 |
srichter | I would like to discuss the RESTive API help | 15:33 |
srichter | SteveA: you are welcome, as original author, to join the discussion | 15:34 |
*** ignas has quit IRC | 15:35 | |
SteveA | srichter: sorry -- too busy at the launchpad sprintathon in brazil | 15:36 |
srichter | ok | 15:36 |
SteveA | thanks for the thought | 15:36 |
bskahan | srichter: what are you thinking? | 15:41 |
srichter | bskahan: not much right now | 15:42 |
srichter | bskahan: what would you think is the best way to document REST? | 15:42 |
srichter | how should the documentation be organized? | 15:43 |
srichter | I would say that you should be able to look up RESTive views by interface | 15:43 |
povbot | /svn/commits: * gintas committed revision 4545: | 15:43 |
povbot | /svn/commits: Updated MANIFEST.in and setup.py to reflect changes to the source tree. | 15:43 |
srichter | then maybe sort the views by HTTP verb in the details? | 15:43 |
bskahan | sorting on the HTTP verb would be useful | 15:44 |
srichter | what info would you like to see for each view? | 15:44 |
bskahan | looking at the code now | 15:45 |
bskahan | there aren't many interfaces in schoolbell.app.rest.interfaces | 15:46 |
srichter | now, I mean other schoolbell/tool interfaces | 15:46 |
srichter | like you click on IPerson | 15:46 |
srichter | and a screen comes up saying | 15:46 |
srichter | for IPerson, you have GET, POST, PUT, DELETE .... | 15:47 |
srichter | under each verb it lists the views it knows | 15:47 |
gintas | sounds good | 15:47 |
* bskahan nods | 15:47 | |
srichter | if we have the RNG schema, I can even provide info about that | 15:49 |
srichter | note that we do have the schema on several views | 15:49 |
srichter | I wonder whether we should make it a convention to always have the schema available | 15:50 |
gintas | schemas are not hard to create | 15:55 |
srichter | yep, that's why | 15:55 |
gintas | having it as a convention might be a good idea, I do not think it would be a big burden | 15:55 |
srichter | and it would greatly enhance the documentation | 15:55 |
gintas | and possibly reliability of code | 15:55 |
gintas | (in the case of invalid documents) | 15:56 |
srichter | also, how would you like the schema to appear in the documentation? | 15:56 |
srichter | Leave it as XML or try to interpret it? | 15:56 |
srichter | Can the interpretation offer some value in comparison to the XML? | 15:56 |
gintas | I'd say, make it XML, then we'll see | 15:56 |
srichter | (i.e. additional links to other documentations, reference to PYthon types, etc) | 15:57 |
srichter | ok | 15:57 |
gintas | displaying XML is a step towards displaying interpreted schemas, so we can improve this incrementally | 15:57 |
povbot | /svn/commits: * gintas committed revision 4546: | 16:00 |
povbot | /svn/commits: Export debian stuff instead of copying it to avoid .svn dirs. Skip the svn export if a corresponding directory is already available. | 16:00 |
srichter | ok | 16:03 |
povbot | /svn/commits: * gintas committed revision 4547: | 16:04 |
povbot | /svn/commits: Ported revisions 4542, 4543, 4545 (distutils packaging fixes). | 16:04 |
gintas | tvon, are you there? what's the status of issue 316 (calendar widgets not used in all views)? | 16:09 |
gintas | by the way, I guess I need more rights in schooltool.org to post releases | 16:11 |
gintas | is Tom Hoffman the only one who can grant the rights? | 16:12 |
srichter | gintas: did he arrive well over there? | 16:12 |
bskahan | gintas: Tom and maybe Marius | 16:13 |
gintas | well, Marius is on holiday | 16:13 |
srichter | gintas: Tom should be near | 16:14 |
gintas | srichter, he's in Vilnius, but I haven't had a chance to see him yet | 16:14 |
srichter | ok | 16:14 |
povbot | /svn/commits: * gintas committed revision 4548: | 16:34 |
povbot | /svn/commits: Added Japanese translation of debconf templates by Shimono Atsushi. | 16:34 |
povbot | /svn/commits: * gintas committed revision 4549: | 16:35 |
povbot | /svn/commits: Added the standard path to msttcorefonts in default ST/SB configuration files. A side-effect is that a warning will be printed when the server is started if the fonts are not available, but I think that this makes sense. | 16:35 |
*** ignas has joined #schooltool | 16:35 | |
*** eldar has joined #schooltool | 16:47 | |
povbot | /svn/commits: * gintas committed revision 4550: | 17:44 |
povbot | /svn/commits: Updated Debian changelogs, bumped version numbers to rc2. | 17:44 |
povbot | /svn/commits: * gintas committed revision 4551: | 17:45 |
povbot | /svn/commits: Bumped version to rc2. | 17:45 |
povbot | /svn/commits: * gintas committed revision 4552: | 17:46 |
povbot | /svn/commits: Bumped version to rc2. | 17:46 |
povbot | /svn/commits: * gintas committed revision 4553: | 18:05 |
povbot | /svn/commits: Removed an apparently extraneous quote in the new ja.po which msgmerge complains about. | 18:05 |
povbot | /svn/commits: * gintas committed revision 4554: | 18:12 |
povbot | /svn/commits: More references to .txt files that I missed earlier. | 18:12 |
tvon | Will reportlab work with non ms fonts? | 18:12 |
tvon | Can we just ship (or in Debian, set the path to) Bitstream Vera fonts? | 18:13 |
tvon | ah, we'd need to embed the fonts | 18:15 |
*** alga has joined #SchoolTool | 18:23 | |
*** th1a has joined #schooltool | 18:24 | |
th1a | Coming to you live from POV central in Vilnius. | 18:25 |
srichter | th1a: hello there! | 18:25 |
Aiste | :) | 18:25 |
srichter | th1a: I made some good progress on some of the documentation fronts | 18:31 |
povbot | /svn/commits: * srichter committed revision 4555: | 18:31 |
povbot | /svn/commits: - Added Annotations explorer to Introspector. Check it out; it's cool. I | 18:31 |
povbot | /svn/commits: finally understand what the introspector is all about: Inspecting the *state* (iow data) of the object, not the API. | 18:31 |
povbot | /svn/commits: - Started implementation od RESTive documentation. | 18:31 |
th1a | srichter: Good. | 18:31 |
srichter | it's all in schoolbell right now | 18:32 |
th1a | What should I do to see it? | 18:32 |
srichter | and you have to turn on devmode in schoolbell.conf[.in] | 18:32 |
th1a | Ah, nice. | 18:32 |
tvon | svn up, turn on devmode, start server | 18:32 |
srichter | yes | 18:32 |
tvon | :) | 18:32 |
srichter | th1a: tvon helped me with the UI a bit :-) | 18:32 |
tvon | srichter: it occours to me that the devmode menu could just as well be in the sidebar... | 18:33 |
tvon | then again it wouldn't show up on all pages that way | 18:33 |
bskahan | th1a: hey | 18:33 |
povbot | /svn/commits: * gintas committed revision 4556: | 18:33 |
povbot | /svn/commits: Tagging schoolbell 1.2rc2. | 18:33 |
th1a | bskahan: Hey. | 18:33 |
srichter | tvon: no, I really want it up there as an eycatcher, so you remember that it is turned on | 18:33 |
* tvon nods | 18:33 | |
th1a | I read through the new O'Reilly Moodle book on the way up. | 18:34 |
th1a | I think we can use their basic UI structure. | 18:34 |
th1a | Which is clean and straightforward. | 18:34 |
* tvon is working on a ui writeup | 18:35 | |
bskahan | I just got a moodle demo account, haven't tried it yet | 18:35 |
th1a | tvon: OK. | 18:35 |
srichter | I think I will port devmode and the new introspector to Zope 3 (or at least write a proposal for it) | 18:36 |
tvon | th1a: mostly layout/guidelines at this point (as opposed to application flow) | 18:36 |
tvon | srichter: that would be cool | 18:36 |
tvon | srichter: btw, what is the ZC pagelet system called or where might I find info on it? | 18:36 |
srichter | AC has not released it yet | 18:37 |
srichter | if we go pagelet/portlet I think we should look at cpsskin for Zope 3 | 18:37 |
srichter | or evaluate the stuff in the trunk | 18:37 |
srichter | which we do not know of whether it will be ever supported | 18:37 |
tvon | It looks interesting but I've gotten the impression that it is largely flash demos and almost-working-but-not-in-zope html/javascript | 18:38 |
srichter | mmh, I see | 18:38 |
tvon | I'm just going by what I've seen on the z3 lists though | 18:38 |
srichter | I think you should bring it up in the z3lab mailinglist and ask for it | 18:38 |
tvon | okay | 18:38 |
tvon | I'm on that | 18:38 |
srichter | tvon: did ya' see the annotations explorer in the introspector? | 18:39 |
tvon | srichter: was just updating to check it out | 18:39 |
srichter | I think this has much more potential | 18:39 |
tvon | srichter: a big reason to push on portlets is so that devmode doesnt have to override view_macros | 18:40 |
srichter | also, if an object implements IMapping or ISequence I would love to display the values | 18:40 |
* tvon spent about 30 mins the other day trying to figure out why his changes werent showing up ;) | 18:40 | |
srichter | tvon: yeah, I know | 18:40 |
srichter | we really need to discuss this and invite some other people to join the discussion | 18:41 |
srichter | I think a JimFultian restart is required here | 18:41 |
povbot | /svn/commits: * gintas committed revision 4557: | 18:42 |
povbot | /svn/commits: Tagging SchoolTool 0.11rc2. | 18:42 |
povbot | /svn/commits: * gintas committed revision 4558: | 18:43 |
povbot | /svn/commits: Added a clause to build binaries for libschooltool. Changed wrong e-mail in changelog. | 18:43 |
*** alga has quit IRC | 18:45 | |
tvon | th1a: the moodle nav is nice. I had been thinking that there might be ways for us to ditch the sidebar almost entirely | 18:49 |
tvon | even though I think it's pretty | 18:49 |
th1a | Ah, well, Moodle is sidebar intensive. | 18:50 |
tvon | ah, apparently I havent gone far enough | 18:50 |
th1a | Far enough into Moodle? | 18:50 |
povbot | /svn/commits: * gintas committed revision 4559: | 18:50 |
povbot | /svn/commits: Refactored my build-debs script. | 18:50 |
tvon | ah, there we go | 18:50 |
bskahan | its a 3 column layout, portlet based | 18:50 |
tvon | yeah, I see it now | 18:50 |
th1a | Actually, I guess I was specifically thinking about their left sidebar. | 18:51 |
th1a | I don't have it in front of me. | 18:51 |
tvon | in the course view? | 18:52 |
tvon | people/activities/administration.. | 18:52 |
th1a | I guess that's all I'm saying, really. | 18:52 |
th1a | "Activities" in particular looked right. | 18:52 |
bskahan | task based rather than location based | 18:53 |
bskahan | those links take you to the 'quizzes for this course' rather than 'all quizzes' | 18:53 |
tvon | makes sense | 18:54 |
srichter | hopefully SchoolTool will become big enough at some point that I can write a book about it :-) | 18:54 |
th1a | Yes... I guess I am just expressing a vague sense of approval. Nothing very specific or thought out. | 18:54 |
th1a | srichter: I'm writing the SchoolTool book. | 18:55 |
srichter | LOL :-) | 18:55 |
th1a | I haven't started it yet, though. | 18:55 |
th1a | I also want to write "School Hacks" for O'Reilly someday. | 18:55 |
bskahan | th1a: that one's mine ;) | 18:55 |
*** admp has joined #schooltool | 18:56 | |
th1a | Although when I mentioned it to someone who works on the Hacks series, he seemed dubious. | 18:56 |
srichter | he he | 18:56 |
* tvon goes afk to juggle the network | 19:01 | |
srichter | th1a: did you get the devmode to work? | 19:02 |
th1a | I'm afraid I'm going to be catching up on email and news for the next couple hours. | 19:03 |
th1a | I'll download everything from svn before I go so I can play with it tonight. | 19:03 |
th1a | Is your level stuff in the trunk now? | 19:04 |
srichter | yes | 19:04 |
srichter | I also backported testbrowser to Py 2.3 | 19:04 |
povbot | /svn/commits: * gintas committed revision 4560: | 19:05 |
povbot | /svn/commits: Removed app-log-file setting from default SchoolTool config, as this switch is not supported now. | 19:05 |
srichter | th1a: this week I really became to hate the SB/ST code split; it needs to be someones top priority to merge the two; it's just too insane | 19:05 |
th1a | Yes. | 19:06 |
th1a | SchoolTool is now the schwerpunkt. | 19:07 |
srichter | :-) | 19:07 |
bskahan | nice teacher website | 19:09 |
bskahan | http://www.w-train.com/ | 19:09 |
*** tvon has quit IRC | 19:12 | |
*** tvon has joined #schooltool | 19:13 | |
*** bskahan has quit IRC | 19:20 | |
*** thisfred has quit IRC | 19:22 | |
th1a | srichter: So Zope 3.1 will run as a Windows service? | 19:27 |
srichter | good question, but I think this was what | 19:28 |
srichter | Jim was working on | 19:28 |
th1a | srichter: Who would know the status of that? | 19:36 |
th1a | Should I ask on zope3-dev? | 19:36 |
srichter | yeah | 19:36 |
srichter | I think there are several Windows users there | 19:37 |
srichter | why isn't the Notes object itself a persistent list? | 20:04 |
*** bskahan has joined #schooltool | 20:10 | |
th1a | That CPSSkins portlet editor demo is pretty intense. | 20:18 |
srichter | yes | 20:18 |
srichter | I think we just need the portlet code beneath | 20:19 |
th1a | It does seem like more than we need. | 20:19 |
bskahan | dynamically reconfigurable interfaces are hard to write documentation for | 20:19 |
th1a | ;-) | 20:19 |
th1a | Yeah, is that the user's point of view of the site manager's? | 20:20 |
bskahan | i think that is the site manager | 20:23 |
bskahan | in the CPSS movie you mean? | 20:23 |
th1a | Yeah. | 20:23 |
bskahan | srichter: you think we're better off using that code than the pagelet code that's in trunk? | 20:23 |
srichter | unfortunately I do not understand enough about pagelets and portlets to give educated advice | 20:24 |
srichter | the trunk stuff looks very complex, but that could be because I do not understand it | 20:24 |
srichter | I have never looked at the cpsskin implementation | 20:24 |
bskahan | heh | 20:25 |
srichter | hold on ... | 20:25 |
bskahan | the Boston skin uses the pagelet code from trunk, correct? | 20:25 |
srichter | yes | 20:26 |
srichter | maybe it is time to start with a new page and develop one | 20:26 |
srichter | and once one system wins we migrate (hopefully it will be ours) | 20:27 |
srichter | the key point will be simplicity | 20:27 |
bskahan | srichter: that's my current inclination | 20:27 |
bskahan | I don't dislike the pagelets system used in Boston though | 20:28 |
srichter | mmh, so maybe we should use it and improve on it | 20:28 |
srichter | that's of course a second way to go | 20:28 |
bskahan | I'm going to dig through the pagelet code some more and think about it | 20:29 |
srichter | benji just told me privately that the cpsskin stuff is not worth considering, if you do not want the UI stuff | 20:30 |
srichter | ZC is also not convinced about the pagelet stuff currently in the trunk | 20:31 |
srichter | so maybe we should make our own design; | 20:31 |
srichter | bskahan: please write a proposal that we can all discuss | 20:32 |
srichter | I especially would like to see motivation and concrete use cases | 20:32 |
* bskahan nods | 20:34 | |
povbot | /svn/commits: * srichter committed revision 4561: | 20:36 |
povbot | /svn/commits: Added missing security declaration. | 20:36 |
povbot | /svn/commits: * srichter committed revision 4562: | 20:36 |
povbot | /svn/commits: Implemented inspection of data, if the inspected object is a sequence or mapping. | 20:36 |
*** pcardune has joined #schooltool | 20:36 | |
eldar | hey | 20:36 |
srichter | hi | 20:36 |
eldar | how do you pass arguments in zpt | 20:36 |
eldar | to a python function | 20:37 |
ignas | eldar, you should avoid that | 20:37 |
ignas | though | 20:37 |
ignas | <div tal:content="python: view.boo(bar, baz)" /> | 20:38 |
pcardune | but can you do tal:content="string:${something/@@absolute_url}--${python:somefunc(somearg)}" | 20:39 |
*** bska|mobile has joined #schooltool | 20:39 | |
srichter | eldar: never make real function calls in ZPT that require passage of arguments | 20:39 |
srichter | Page templates should only pull information, never push | 20:40 |
srichter | pcardune: eldar construct the URL in the view class | 20:40 |
*** gintas has quit IRC | 20:40 | |
pcardune | very well then | 20:40 |
*** bskahan has quit IRC | 20:41 | |
srichter | if you have many items, then create lists of info dictionaries | 20:41 |
srichter | this pattern is very common | 20:41 |
srichter | see the container contents view for example | 20:41 |
*** gpaci has joined #schooltool | 20:43 | |
gpaci | Hey, all. | 20:45 |
ignas | hi | 20:45 |
gpaci | Anyone working over at Yorktown HS? | 20:46 |
pcardune | i am... | 20:46 |
pcardune | except not | 20:46 |
gpaci | What country are you in today? | 20:46 |
gpaci | (Tonight?) | 20:46 |
pcardune | california | 20:46 |
gpaci | Do they speak English there? | 20:46 |
gpaci | I think their president is from Austria. | 20:47 |
eldar | hi george | 20:47 |
eldar | i don't see you in 217 | 20:47 |
gpaci | eldar: Hey. How's it going? I'll be at 217 around 5:00. | 20:47 |
pcardune | gpaci: you're so funny! | 20:47 |
gpaci | pcardune: Is that the best comeback you can come up with? The sun there must be frying your brain. | 20:48 |
*** th1a has quit IRC | 20:49 | |
ignas | pcardune, and if you want to do something EVIL you can allways use <div tal:define="foo python: bad_evil_foo(arg)" /> | 20:50 |
ignas | and use foo inside of strings | 20:51 |
ignas | but YOU SHOULD NOT! | 20:51 |
*** admp has quit IRC | 20:55 | |
gpaci | Are people actively programming at Yorktown 217? | 20:56 |
eldar | oh yes | 20:57 |
eldar | in the Austrian domain too | 20:57 |
gpaci | eldar: Who else is there? | 20:57 |
eldar | all the students that usually come | 20:58 |
eldar | jeff, of course | 20:58 |
eldar | and flit will be coming with out lunch soon | 20:58 |
eldar | out = our* | 20:59 |
bska|mobile | srichter: do you know what ZC's issues with the current pagelets system are? | 21:00 |
srichter | my guess would be it looks too massive to them | 21:00 |
srichter | bska|mobile: do you like the implementation? | 21:01 |
bska|mobile | I've gone through Boston pretty closely and it seems rational | 21:02 |
bska|mobile | this is the 3rd time I've heard that there's something lacking in the current pagelets implementation | 21:03 |
bska|mobile | but I haven't gotten a clear picture of _what_ people feel is missing | 21:03 |
srichter | no, nothing is missing | 21:04 |
srichter | but I think the implementation seems very complex | 21:04 |
bska|mobile | reading through the pagelets module now | 21:04 |
*** bska|mobile has quit IRC | 21:16 | |
*** bska|mobile has joined #schooltool | 21:18 | |
pcardune | what does the ':' in tal:define="user request/principal; | 21:20 |
pcardune | url context/schoolbell:app/@@absolute_url" | 21:20 |
pcardune | do? | 21:20 |
tvon | I have no real issues with the current trunk pagelets... I've also heard that they suck from a number of sources | 21:26 |
tvon | the ideas Netalley has seem to appeal to everyone but they seem less enthused about actually implementing it | 21:27 |
srichter | tvon: mmh, I have not heard any voices yet | 21:27 |
srichter | do you have concrete comments? | 21:27 |
tvon | heh, actually no.. | 21:27 |
tvon | I might have it all in my head from talking to Netalley folks | 21:28 |
srichter | pcardune: defines a variable user = request.principal and a veriable url that equals the default view's URL of the SchoolTool application object | 21:28 |
srichter | tvon: oh those guys; I could really care less about them | 21:28 |
srichter | tvon: they always promised things and never produced anything | 21:29 |
srichter | I can talk smart as well | 21:29 |
tvon | heh | 21:29 |
srichter | but doing something is totally different | 21:29 |
tvon | yeah... "show me the code" speaks volums in this community | 21:29 |
srichter | and it should | 21:30 |
tvon | yeah, definately | 21:30 |
srichter | or at least a design document | 21:30 |
srichter | they have promised since 2 years a design to disucuss; I am not waiting anymore | 21:30 |
tvon | well, I don't have any strong interest in doing a pagelet implementation... maybe if shortcomings show up during implementation the current system could get patches from us though | 21:31 |
tvon | I do have a strong interest in getting some sort of pagelet setup into schooltool though | 21:32 |
srichter | tvon: bska|mobile: okay, then maybe we should go with what's in the trunk | 21:32 |
tvon | I'm down with that | 21:32 |
srichter | I am sure Roger will be very supportive | 21:32 |
srichter | the advantage of his code is that it runs in production on a fairly complex site | 21:33 |
bska|mobile | srichter: what site? | 21:34 |
srichter | I forgot ;-) | 21:34 |
tvon | heh | 21:34 |
srichter | Amadeus Switzerland | 21:34 |
bska|mobile | thanks | 21:45 |
tvon | bska|mobile: is pageletifying ST something you are going to want to work directly on or should I include it in the UI stuff I'm working on? | 21:49 |
bska|mobile | what UI stuff are you working on? | 21:50 |
tvon | same stuff I touched on before; organizing the layout, putting things in proper places relative to context.. coming up with a guide that people can follow in the future | 21:51 |
*** gintas has joined #schooltool | 21:52 | |
*** bskahan_ has joined #schooltool | 21:55 | |
bskahan_ | sorry about that, connection issues | 21:56 |
bskahan_ | sure, moving to pagelets could be seperate from that | 21:56 |
tvon | and you want to do pagelets? | 21:56 |
bskahan_ | I'd be into moving to some sort of extensible system, pagelets in the zope tree seem to make sense now | 21:58 |
*** bska|mobile has quit IRC | 22:00 | |
tvon | I'm all about moving, it's pretty crucial if we expect people to contribute add-on type packages | 22:00 |
tvon | but what I meant was, is it work you in specific want to do? | 22:01 |
tvon | I think it would make sense to bundle with the UI work, but I guess it doesnt have to be | 22:02 |
*** bskahan has joined #schooltool | 22:04 | |
bskahan | re | 22:05 |
*** admp_ has joined #schooltool | 22:06 | |
tvon | what did you miss? | 22:07 |
bskahan | reading backlog | 22:08 |
bskahan | I'm happy to work on pagelets | 22:08 |
tvon | It would be easier for me to do it, if you are just happy to do it then I'll do it, if you *want* it then thats fine too | 22:09 |
bskahan | :) | 22:10 |
tvon | heh | 22:10 |
bskahan | ok, then I want to do the pagelets | 22:11 |
tvon | ok | 22:11 |
bskahan | still reading zope.app.pagelet | 22:11 |
* tvon nods | 22:11 | |
tvon | can get a little more by looking at boston or baltimore | 22:12 |
tvon | though baltimore didnt stray much from boston in terms of different pagelets or anything like that | 22:12 |
* bskahan nods | 22:12 | |
srichter | baltimore? | 22:12 |
tvon | srichter: a toy skin for a weblog system | 22:13 |
srichter | i see | 22:14 |
tvon | basically boston with different css and some other tweaks I don't recall | 22:14 |
srichter | I see | 22:15 |
srichter | anything public to see? | 22:15 |
* tvon isn't even sure it still works | 22:15 | |
tvon | heh | 22:15 |
bskahan | I'm not sure how different it ended up from boston in implementation | 22:15 |
tvon | It's not very different... same things are pagelets.. just some template/style changes | 22:16 |
bskahan | http://svn.etria.com/baltimore/trunk/ | 22:16 |
*** bskahan_ has quit IRC | 22:17 | |
srichter | so you have nothing online? | 22:19 |
tvon | runnig with the skin? no, it is very incomplete | 22:19 |
srichter | oh ok | 22:19 |
srichter | actually looking at your ZCML, the pagelet code starts to make sense | 22:20 |
tvon | srichter: maybe you can get to this: http://office.etria.com:8080/++skin++Baltimore/ | 22:21 |
tvon | normal z3 user/pass | 22:21 |
tvon | (but don't expect anything :) ) | 22:22 |
srichter | no, I can't; that's ok | 22:22 |
* tvon nods | 22:22 | |
*** tvon is now known as tvon|afk | 22:30 | |
*** bskahan has quit IRC | 22:33 | |
*** bskahan has joined #schooltool | 22:34 | |
*** ignas has quit IRC | 22:36 | |
*** bskahan has quit IRC | 22:42 | |
*** bskahan has joined #schooltool | 22:43 | |
*** admp_ has quit IRC | 22:58 | |
*** bskahan has quit IRC | 23:03 | |
*** tvon|afk is now known as tvon | 23:20 | |
*** admp_ has joined #schooltool | 23:23 | |
*** admp_ has quit IRC | 23:26 | |
*** bskahan has joined #schooltool | 23:33 | |
*** gpaci has quit IRC | 23:47 | |
*** bskahan has quit IRC | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!