*** replaceafill has quit IRC | 02:34 | |
*** th1a has quit IRC | 07:36 | |
*** th1a has joined #schooltool | 07:36 | |
*** yvl has joined #schooltool | 07:51 | |
*** replaceafill has joined #schooltool | 18:21 | |
th1a | hi replaceafill. | 18:25 |
---|---|---|
replaceafill | hey th1a | 18:25 |
th1a | Just finishing an article about another group of K'iche' workers that voted in the union in their workplace. | 18:25 |
th1a | CCT is on a roll. | 18:26 |
replaceafill | ah | 18:26 |
th1a | How are you doing? | 18:28 |
replaceafill | almost done with the new pdf report | 18:28 |
th1a | Any issues? | 18:29 |
replaceafill | i've started thinking api-wise | 18:29 |
replaceafill | no | 18:29 |
th1a | Formatting surprises? | 18:29 |
replaceafill | and fees is small enough to do that | 18:29 |
replaceafill | no | 18:29 |
replaceafill | at the moment it's just a table | 18:29 |
th1a | OK. | 18:29 |
replaceafill | not much formatting | 18:29 |
replaceafill | i'll try to keep it as simple as possible and show it to Fran | 18:29 |
th1a | I liked the part on the Plone api where they point out they're going for the 80/20 API. | 18:30 |
replaceafill | yeah | 18:30 |
th1a | I think just working from their model is probably a good idea. | 18:30 |
replaceafill | one of the core plone devs gave a really nice talk last month in pycon | 18:30 |
replaceafill | mostly history | 18:30 |
th1a | I just never really know where to start with an API. | 18:30 |
th1a | I can't believe Plone still exists. | 18:30 |
replaceafill | and how someone raised the api issue | 18:31 |
th1a | Better to just start with a good model than try to make all the decisions yourself. | 18:31 |
replaceafill | and that they started documenting "how it should work" instead of coding it first | 18:31 |
th1a | Yeah. | 18:31 |
replaceafill | plone had like 3-4 different ways to get "users" | 18:32 |
th1a | That's why I wouldn't have us just start doing it as a SIELibre project. | 18:32 |
th1a | It would really be better to have real users. | 18:32 |
th1a | But if that's what Ark wants to pay for, I think we can do an good job if we keep it simple and follow a good model. | 18:32 |
replaceafill | my only concern at this point is if we should try to make it pluggable | 18:33 |
th1a | Meaning? | 18:33 |
replaceafill | it's like the selenium browser extensions we have | 18:33 |
replaceafill | you can define callables from the plugins | 18:33 |
replaceafill | and everything gets called from the selenium browser ui attribute | 18:34 |
replaceafill | like | 18:34 |
replaceafill | browser.ui.gradebook.score(...) | 18:34 |
replaceafill | browser.ui.schoolyear.add(...) | 18:34 |
replaceafill | and so on | 18:34 |
replaceafill | everything is under brower.ui | 18:34 |
replaceafill | browser.ui | 18:34 |
replaceafill | or gets registered | 18:34 |
replaceafill | but i don't mind having | 18:34 |
replaceafill | from schooltool.gradebook.api import grade_activity | 18:35 |
replaceafill | or whatever | 18:35 |
replaceafill | from schooltool.lyceum.journal.api import xxx | 18:35 |
th1a | Does plone do it in the pluggable way? | 18:36 |
replaceafill | it'd be nice to just call schooltool.api and somehow have all the plugin functionality there | 18:36 |
replaceafill | no | 18:36 |
replaceafill | they just have like 4 main "components" | 18:36 |
th1a | It seems like it would be nice -- the pluggable way. | 18:36 |
replaceafill | right | 18:36 |
replaceafill | simpler to learn | 18:36 |
replaceafill | it bet it would be possible | 18:36 |
th1a | We should also probably think about what would make it easier to write external scripts on the zodb. | 18:36 |
replaceafill | this is zope 3 after all :) | 18:36 |
replaceafill | ah | 18:37 |
replaceafill | to fix things? | 18:37 |
replaceafill | like the cando issue? | 18:37 |
th1a | Or make reports. | 18:37 |
th1a | Import/export themselves. | 18:37 |
replaceafill | hhmm | 18:37 |
replaceafill | i wouldn't promise such low level access to ark though | 18:38 |
replaceafill | just some higher level like the plone one | 18:38 |
replaceafill | i mean, for starters at least | 18:38 |
th1a | If you could write a script externally with a few imports at the top and then be able to do | 18:39 |
th1a | st.get_students() | 18:39 |
th1a | st.get_students(2015) | 18:39 |
th1a | db.get_students(2015) | 18:40 |
th1a | or whatever... | 18:40 |
replaceafill | problem with low level access is that you need most of the "machinery" enabled anyway | 18:40 |
replaceafill | but that could be boilerplate i guess | 18:40 |
replaceafill | (enabling the machinery) | 18:40 |
th1a | In terms of just a ton of imports? | 18:40 |
replaceafill | imports and set up | 18:40 |
replaceafill | for adapters to be registered, utilities, etc | 18:41 |
th1a | We can discuss that in detail if the time comes. | 18:41 |
th1a | It'll be fun! | 18:41 |
replaceafill | :S | 18:41 |
th1a | I can be the customer. | 18:41 |
th1a | What would I need to write some scripts! | 18:41 |
replaceafill | good idea | 18:41 |
replaceafill | and write examples in the book, etc | 18:41 |
replaceafill | ah dreams... | 18:42 |
replaceafill | tomorrow they'll move the target again and i'll get pissed, etc etc | 18:42 |
th1a | lol | 18:42 |
th1a | Yeah... | 18:42 |
replaceafill | "i quit! (again..)" | 18:42 |
replaceafill | anyway | 18:42 |
th1a | Maybe you should just mute your headphones for that discussion. | 18:42 |
replaceafill | or leave ;) | 18:42 |
replaceafill | i guess that's all i have | 18:44 |
replaceafill | ah, i updated the hours sheet | 18:44 |
th1a | Good. | 18:44 |
replaceafill | oh | 18:44 |
replaceafill | we have a name for the Salvadorean company we're creating with jelkner | 18:45 |
replaceafill | "P-o-E-S" | 18:45 |
replaceafill | rip off of "P-o-V" :P | 18:45 |
th1a | That works. ;-) | 18:45 |
replaceafill | :D | 18:45 |
replaceafill | such lack of creativity... ;) | 18:46 |
replaceafill | ok, done | 18:46 |
th1a | Probably is not trademarkable either way. | 18:46 |
th1a | Thanks replaceafill. | 18:46 |
replaceafill | ok, thanks th1a | 18:47 |
*** zerkalo has quit IRC | 22:30 | |
*** zerkalo has joined #schooltool | 22:32 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!