*** Joins: giallu (~giallu@fedora/giallu) | 03:58 | |
*** Quits: sezuan (bouncer@irc.scheff32.de) (Quit: ...) | 04:13 | |
*** Joins: sezuan (bouncer@irc.scheff32.de) | 04:13 | |
*** Joins: Paul24 (~IceChat09@2001:470:9310:aaaa:ddec:3829:5564:9b8c) | 04:34 | |
dhx1 | Paul24: hey | 04:34 |
---|---|---|
Paul24 | . | 04:35 |
dhx1 | Paul24: trying out XSLT for a new ExceptionHandler | 04:38 |
dhx1 | Paul24: you'd love it haha | 04:38 |
Paul24 | mm | 04:39 |
Paul24 | for display? | 04:39 |
dhx1 | yeah | 04:39 |
dhx1 | there is a .xsl file that transforms the XML structure of an exception into XHTML5, SOAP, etc output | 04:40 |
dhx1 | it'd also be possible to plug in other exception handlers for JSON, php-cli, etc | 04:41 |
dhx1 | (that don't use XML formatting) | 04:41 |
Paul24 | i still want to have a look at twig | 04:41 |
dhx1 | an .xsl file can also take parameters from PHP (and can even call PHP functions) | 04:42 |
dhx1 | so the XML structure of the page is content only - no language strings, settings, configuration, etc | 04:42 |
dhx1 | those are handled with parameters | 04:42 |
dhx1 | much cleaner to the user that way because the XML output is consistent, clean, simple, etc | 04:42 |
dhx1 | Paul24: one of the main advantages of XSLT is that the templates/stylesheets are XML compliant | 04:44 |
dhx1 | this is an advantage because it makes it easier to execute scripts on our templates to replace content on bulk, automatically perform testing/checking for consistency, etc | 04:45 |
Paul24 | if you've got an xml script that is but yea | 04:46 |
Paul24 | [btw, i'd still like to look at 'twig' for email templates for endusers due to it's sandboxing stuff] | 04:46 |
dhx1 | well XSLT could be used to work with templates on a bulk/scripted basis | 04:46 |
dhx1 | whereas we'd have a trickier time with non-compliant markup like PHP templating, TWIG, etc | 04:47 |
dhx1 | XSLT again solves that issue - we specifically give each template a set of data to work with... it doesn't have access to the entire PHP "session" (globals, etc) | 04:48 |
dhx1 | so each page load of MantisBT performs instructions in this order: | 04:49 |
dhx1 | 1) perform access/data validation/sanity checks | 04:49 |
dhx1 | 2) perform actions (write to database, etc) | 04:50 |
dhx1 | 3) retrieve data to display to the user | 04:50 |
dhx1 | 4) build an XML structure of the data being returned | 04:50 |
dhx1 | 5) build a list of parameters/configuration settings/etc that the template needs | 04:50 |
dhx1 | 6) transform the XML structured data using the specified template | 04:51 |
dhx1 | 7) return the transformed output to the user | 04:51 |
dhx1 | I should have specified that HTML headers and so forth are handled right before output... giving us maximum possible time to add/remove/replace headers as needed | 04:51 |
dhx1 | this is important for error handling where we want full control over headers being returned | 04:52 |
dhx1 | at the moment an error could occur after we've called header() a few times... and we're forced to use those headers that have already been sent (even if they break the error page) | 04:52 |
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 260 seconds) | 06:24 | |
*** Quits: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) (Quit: siebrand) | 06:55 | |
*** Quits: hardyNH (~hardyNH@c-24-128-108-178.hsd1.nh.comcast.net) (Quit: www.GaryJohnsonGrassRoots.com) | 07:36 | |
Paul24 | dhx1: you still around? | 08:46 |
dhx1 | Paul24: yeah | 08:46 |
Paul24 | when you off? | 08:47 |
*** Joins: dregad1_ (~damien@98-251.76-83.cust.bluewin.ch) | 08:47 | |
dhx1 | Paul24: trying to finish up my new exception handler :) | 08:47 |
Paul24 | I still think this is wrong approach or well | 08:48 |
dhx1 | Paul24: working on creating a detailed stack trace representation (+ pretty printed) | 08:48 |
dhx1 | Paul24: having individual exception classes, XSLT stuff, or both? | 08:48 |
Paul24 | well, doing it 'now' | 08:49 |
dhx1 | ah, more important things to do? | 08:52 |
Paul24 | yea :P | 08:53 |
Paul24 | I'm more interested to see where my playing with trying to make objects takes things | 08:53 |
dhx1 | oohh major rework | 08:54 |
dhx1 | IMO most things need to be done from scratch | 08:54 |
dhx1 | there is little point trying to hack the old code into OO | 08:55 |
dhx1 | just create new classes side-by-side with the existing code | 08:55 |
dhx1 | and slowly transition across to new classes | 08:55 |
*** Quits: dregad1_ (~damien@98-251.76-83.cust.bluewin.ch) (Read error: Connection reset by peer) | 09:03 | |
*** Joins: dregad1 (~damien@98-251.76-83.cust.bluewin.ch) | 09:08 | |
*** Joins: siebrand (~siebrand@188.200.34.66) | 09:14 | |
dregad1 | hi everyone | 09:22 |
dhx1 | dregad: hi | 09:23 |
dhx1 | dregad1: hi | 09:23 |
dregad1 | dhx1: thanks for catching the ?> I inadvertantly deleted | 09:24 |
dhx1 | :) | 09:24 |
dregad1 | got sidetracked at work as I was testing the change, and when I got back I thought I had finished, but I had only done 1.2 :-/ | 09:24 |
*** Quits: siebrand (~siebrand@188.200.34.66) (Ping timeout: 255 seconds) | 09:24 | |
dhx1 | no worries | 09:26 |
dregad1 | sloppy though.. | 09:26 |
dregad1 | Paul24: not sure if you saw my update following your comment in http://www.mantisbt.org/bugs/view.php?id=12544#c29695 | 09:27 |
dregad1 | Paul24: do you think you'll be able to push your changes to master or next? | 09:28 |
*** Joins: siebrand (~siebrand@188.200.34.66) | 09:30 | |
*** Quits: dregad1 (~damien@98-251.76-83.cust.bluewin.ch) (Ping timeout: 255 seconds) | 09:53 | |
*** Joins: dregad1 (~damien@98-251.76-83.cust.bluewin.ch) | 09:55 | |
GitHub45 | [mantisbt] dregad pushed 1 new commit to master: http://git.io/IcyqNA | 10:03 |
GitHub45 | [mantisbt/master] Enhanced plugin_config_get() function - Dominik Blunk | 10:03 |
GitHub91 | [mantisbt] dregad pushed 1 new commit to master-1.2.x: http://git.io/6GiA1w | 10:03 |
GitHub91 | [mantisbt/master-1.2.x] Enhanced plugin_config_get() function - Dominik Blunk | 10:03 |
*** Quits: dregad1 (~damien@98-251.76-83.cust.bluewin.ch) (Quit: Ex-Chat) | 10:03 | |
*** Joins: giallu (~giallu@fedora/giallu) | 10:28 | |
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 256 seconds) | 10:47 | |
*** Joins: giallu (~giallu@fedora/giallu) | 11:01 | |
*** Joins: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) | 11:28 | |
*** Joins: hippyjim (~chatzilla@82.71.235.93) | 12:48 | |
hippyjim | hi all - irc noob here, looking for some help with setting up svn integration in mantisbt on a windows server | 12:50 |
hippyjim | i have a windows xp server, running mantis 1.2.6, and the latest version of the source control integration plugin. websvn is installed & happy, using local paths to read the repo from the same server. i tried several different ways to config the repo settings on mantis, but each time i try to import, I get 0 changesets. no errors or indication of the problem. tried both using the file paths... | 12:54 |
hippyjim | ...to the repo, and also using the https url. anyone got any suggestions either how to diagnose, or what the problem is? | 12:54 |
hippyjim | I don't wish to be rude could someone acknowledge the question - or am I not using irc right? | 13:00 |
*** Quits: siebrand (~siebrand@188.200.34.66) (Ping timeout: 248 seconds) | 13:02 | |
hippyjim | ok, can anyone suggest a web forum i can use for this? all my google seraches find are the same few blogs with basic howtos. i can't keep irc open very long as i share this pc | 13:09 |
hippyjim | ok, well thanks all for reading. not sure if it's my irc client, or if you're all just too busy being creative somewhere else. i give up now | 13:11 |
*** Quits: hippyjim (~chatzilla@82.71.235.93) (Quit: ChatZilla 0.9.87 [Firefox 6.0.2/20110902133214]) | 13:12 | |
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Remote host closed the connection) | 15:22 | |
*** Joins: kirillka (~Miranda@129-66-52-95.baltnet.ru) | 16:14 | |
*** Quits: [KK]Kirill (~Miranda@239-64-52-95.baltnet.ru) (Ping timeout: 248 seconds) | 16:18 | |
*** Quits: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) (Ping timeout: 276 seconds) | 19:39 | |
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection) | 20:00 | |
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) | 20:00 | |
*** Quits: Paul24 (~IceChat09@2001:470:9310:aaaa:ddec:3829:5564:9b8c) (Quit: IceChat - Keeping PC's cool since 2000) | 20:46 | |
*** Quits: tsnfoo (~fulekia@ws-imac27.test.denison.edu) (Quit: tsnfoo) | 22:09 | |
*** Joins: tsnfoo (~fulekia@ws-imac27.test.denison.edu) | 22:10 | |
*** Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) | 22:43 | |
*** Joins: mgomez244 (be374c68@gateway/web/freenode/ip.190.55.76.104) | 23:20 | |
mgomez244 | hi all | 23:21 |
*** Quits: mgomez244 (be374c68@gateway/web/freenode/ip.190.55.76.104) (Client Quit) | 23:22 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!