World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Maxim 15-Oct-2009 [6240] | but I mean where does the information end-up? |
Dockimbel 15-Oct-2009 [6241x2] | loaded configuration file can be accessed from mod functions using this path: service/conf |
Additionnaly, from mod functions, you can get your domain or webapp config block using req/cfg (you don't have to search in the whole config file which part applies to the request, it's already done by Cheyenne). | |
Maxim 15-Oct-2009 [6243x5] | ok... with this info I've done a few tests and I see the config files allows you to dump pretty much any thing anywhere... is the 'in keyword only for the 'do to be recognized within one of the setup blocks? |
ah just noticed a little "conf-parser" error line within the wealth of prints on startup :-) I see my previous statement isn't quite true :-) hehehe | |
if you're accepting ideas for cheyenne... it would be cool for the conf dialog to allow us to add items in the systray, which fork to a system event within the mod. many uses for this come to my mind :-) | |
is there any documentation on the concepts of web-apps? is this an rsp-specific cheyenne concept? | |
can I get a login for cheyenne's website wiki? I would love to help you out with the docs, as I build up my mod... | |
Dockimbel 15-Oct-2009 [6248x2] | extend tray icon menu from mod : good idea. |
seems doable. | |
Maxim 15-Oct-2009 [6250x2] | I'd use it to switch debug modes in real-time... and maybe even build a small view config/debug pane, if I detect a view version running cheyenne. |
very usefull for development cycles :-) | |
Dockimbel 15-Oct-2009 [6252x2] | Webapps: you can find some docs in the Java world (look for JSP/Servlets), concepts are similar to RSP webapps. See http://caucho.com/resin/doc/webapp-overview.xtp |
View debug panel: I thought about that too a while back, never had time to try that concept. | |
Pekr 15-Oct-2009 [6254] | doc - could bind or bind-extern be used to invoke CGI handler for .html files? |
Maxim 15-Oct-2009 [6255] | I'm adding a lot of debug options within the config file directives right now... would be nice to be able to give an interactive face to those options :-) |
Dockimbel 15-Oct-2009 [6256] | Pekr: maybe, never tried such approach. ;-) |
Maxim 15-Oct-2009 [6257] | (for remark that is) |
Dockimbel 15-Oct-2009 [6258] | View debug panel: definitely a useful tool. |
Pekr 15-Oct-2009 [6259] | Doc - old story - need .html to be called thru central dispatch script, or the index.html can't be dynamic ... |
Maxim 15-Oct-2009 [6260] | pekr, remark will be doing this by days end. specifically, the file is parse once, until its saved out and cache is older than source. once processed, normal cheyenne will continue with remark simply handling the url-to-file callback. |
Dockimbel 15-Oct-2009 [6261] | Pekr: it would not work that way, the CGI handler in worker process will try to DO the file. |
Maxim 15-Oct-2009 [6262x5] | ok I looked at web apps... remark is basically an uber web-app architecture... all it needs are a few more configs. I'll add this in the second release of the mod |
pekr, why not just specify the index to be an rsp script instead? since it seems to be dynamic in the first place? | |
default: index.rsp | |
sorry... bad syntax above... default %index.rsp | |
I want to thank you doc for this exceptional piece of software which is cheyenne. I have been playing around with it for months, on and off, at varying levels, and its always been able to cope with my client's and my own needs. Both in capacity and how flexible it is to adapt and extend to custom server requirements. | |
Pekr 15-Oct-2009 [6267] | Max - never mind. If I want to use only Cheyenne, it is not a problem. I was thinking around the lines of producing rebol aproach, which would be interchangable easily between Apache and Cheyenne, for those who can't afford to push their provider to run Cheyenne for them. So I thought that following Apache equivalent would be useful. But my request surely is not a priority .... AddHandler rebol-cgi-dispatch .html Action rebol-cgi-dispatch /cgi-bin/rebol-cgi-dispatch.cgi |
Dockimbel 15-Oct-2009 [6268x2] | Max: thanks for the cheering up. :-) I've been also quite satisfied by the way Cheyenne evolved, a lot of thanks to patient users who report issues and propose fixes or new ideas. I wouldn't have got so far without community support! |
Pekr: that's in my todo list, I just need to find some free time to think more deeply about how to support such feature efficiently. Btw, I have built a XMLC (XML Compiler) engine inspired by enhydra (http://www.enhydra.org/tech/xmlc/index.html) which should fit perfectly your needs. It's a working prototype but need some significant work to be integrated within Cheyenne, so it's low priority for now. | |
Maxim 15-Oct-2009 [6270] | well... the main call to remark is ... compile hehehe... I do plan on making an XML document model eventually. basically, it would convert XML elements into your current Remark document models, so you can leverage the same code base but with another data model as input. optionally you could build direct XML document models for a bit more speed. all that needs to be done to make it easy for you guys is to build a few simple base XML tags which allow you to build the dialect based on xml element names. |
Pekr 15-Oct-2009 [6271] | Doc - do you have any feedback from outside the REBOL community users? Are there any? |
Robert 15-Oct-2009 [6272x2] | I run Cheyenne as reverse proxy, which works very well. |
And, I agree it's a very nice piece of software. | |
Dockimbel 15-Oct-2009 [6274x2] | Only from close friends living in the java world, beyond them, no one. I don't expect much from outside REBOL world yet, Cheyenne is mainly useful for REBOL programmers. Once it reaches 1.x, Cheyenne will have features that would make it more interesting for outsiders (like a simple web control panel, web sites and webapp packaging in one unique executable, on-demand ready-to-use web application loading from our servers: blog, forum, bugtracker,...). I may also add a FTP service in a future 1.x version and a lot of other innovating new features I have in mind. ;-) |
I'd like especially to make it a one-click solution for corporate users that need a blog, wiki, bug or task tracker,etc on LAN. | |
Maxim 15-Oct-2009 [6276x2] | I honestly hope that remark can be a driving force for cheyenne btw... remark was never designed for rebolers. the fact that its tightly integrated into html makes it very appealing for non-programmers, as well as the fact that it can use rebol's extremely rich datatype system. |
I see it as the next evolution of markup no less. It just happens to use Rebol as its scripting engine, but it could, in fact be adapted to other languages as well. | |
Graham 15-Oct-2009 [6278] | Is there a XMLRPC service available from Uniserve? |
Dockimbel 15-Oct-2009 [6279] | I don't remember seen one. |
Graham 15-Oct-2009 [6280] | I thought you had mentioned some years ago you were going to write a rpc service ...??? |
Dockimbel 15-Oct-2009 [6281] | Really? I don't see the need for one (at least for my own usage). |
Pekr 15-Oct-2009 [6282] | yes, it was supposed to replace Rugby and/or R/Services :-) |
Graham 15-Oct-2009 [6283] | That's what I remember as well. |
Dockimbel 16-Oct-2009 [6284] | Digging into UniServe's repository, I've found one : RMC service (Remote Method Call). Can't find the client part thought. It was just an exercice to test the concept, never used it, so I've forgot it totally. |
Graham 16-Oct-2009 [6285x2] | :) |
Pekr and my memory appear to be accurate in this case. | |
Dockimbel 16-Oct-2009 [6287] | It's equivalent to Rugby but without encryption. R/Services is much higher level. If someone is interested, I can search my older backups for the whole thing. |
Graham 16-Oct-2009 [6288x2] | I don't need the encryption as it will be used as localhost |
So, yes, I am interested. | |
older newer | first last |