World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
amacleod 13-Apr-2008 [2522] | I've tried to get it up and running (Magic!) but have never got it to work. Apachi always gives me a hard time. Since its CGI based I tried with Cheyenne but again unsuccessful. |
Dockimbel 13-Apr-2008 [2523] | The new framework will still use HTML for UI but without mixing it with REBOL code. |
BrianH 13-Apr-2008 [2524] | Doc, if you have specific complaints about LNS, please chime in - I am looking over the code now. |
Dockimbel 13-Apr-2008 [2525] | HTML templates will be static files and some advanced widgets (like those AJAX-based) may be generated dynamically. |
BrianH 13-Apr-2008 [2526] | Are you going towards a asp.net style special tags model for the dynamic widgets? |
Dockimbel 13-Apr-2008 [2527x2] | Brian, nothing specific, it just looked "too big" last time I've checked the source code which was a year ago. I should have a look in Devbase for the latest version of LNS. |
Nope, no custom tags, just plain HTML/xHTML. | |
BrianH 13-Apr-2008 [2529] | I put in some minor fixes yesterday, but I haven't yet had the chance to really look it over properly. Any advice would be appreciated, especially related to speed, size and security. |
Dockimbel 13-Apr-2008 [2530] | I didn't decided yet, but I may use <span> tag for extending the set of HTML standard widgets. |
BrianH 13-Apr-2008 [2531] | (Sorry, my internet connection died in the middle of the conversation.) |
Brock 13-Apr-2008 [2532x2] | I've been wondering what it would be like to have a rebol version of asp.net. I'd like to see a solution that separates the HTML and the logic as discussed, but also get rid of the css, javascript, xml and other languagues that get in the way of a streamlined solution. |
quoting btiffin, GO DOC GO!! | |
Dockimbel 13-Apr-2008 [2534x2] | Brock: trashing HTML, CSS and javascript, in favor of REBOL *is* the final goal ;-) First step is clean separation with HTML. |
with = from | |
btiffin 13-Apr-2008 [2536] | Quoting Brock. Go Doc Go! |
Dockimbel 13-May-2008 [2537] | Hi guys, there's a tiny issue with Cheyenne running on 2.7.6 due to a bug fixed in EXTRACT. To fix it just open %HTTPd.r file and find the following line : |
[unknown: 5] 13-May-2008 [2538] | what is the bug in extract? |
Dockimbel 13-May-2008 [2539x2] | extension-class: context list and replace it with : extension-class: context to-block list |
EXTRACT (on pre 2.7.6) was always returning a block! value. | |
[unknown: 5] 13-May-2008 [2541] | Ahh, yeah I think that change came about from discussions that me and BrianH had. |
Dockimbel 13-May-2008 [2542] | Next Cheyenne release will include this bug fix. The next release should be soon because I intend to make some deep internal changes in RSP to support different HTML processing engines (not only the current one with mixed HTML and REBOL code). This shouldn't affect the RSP API or behaviour, just the internal design. So, I plan to make a new release before starting these changes. |
[unknown: 5] 13-May-2008 [2543] | Great to hear Doc! |
Pekr 13-May-2008 [2544] | RSP? Ah, server pages ... I exchanged it with services protocol? Still do you plan on some remote protocol? Btw - will rebservices work upon cheyenne? It probably should, as it can work upon html? |
Dockimbel 13-May-2008 [2545x2] | The new RSP framework will borrow ideas from some top Java web frameworks, like XMLc or Wicked. It will follow the MVC design pattern. Currently the View part is almost ready (complete separation of HTML and REBOL code and 100% pure HTML templates). I plan to work soon on the Model part trying to make an abstraction layer similar to the Object-Relationnal mapping solution found in the Java worl like Hibernate. For the Controller part, I didn't yet decided on how it should be, I plan to release only the MV part first. |
I don't know if current rebservices can use HTTP protocol as transport. Rebservices can run in the same process as Cheyenne, but processing rebservices requests may slow down Cheyenne's performances a lot. R3 threading will solve that kind of issue, so we'll see in a few monthes. ;-) | |
Pekr 13-May-2008 [2547] | rebservices should theoretically work over http, cgi or other layers. We will see ... |
Dockimbel 13-May-2008 [2548] | Sure, but is it supported in current implementation ? |
BrianH 13-May-2008 [2549] | It's not used in the current implementation (in DevBase), but I've seen no evidence that it was removed. |
PeterWood 13-May-2008 [2550] | I'm pretty sure that Gregg uses Rebol/Services via HTTP & CGI. I believe that he found it slower but more reliable than via TCP. |
BrianH 13-May-2008 [2551x3] | Watch out with EXTRACT: There is a bug in the 2.7.6 version with binary values that was fixed, but the fix never made it into 2.7.6. You can get the working version from DevBase r2-mezz-series #396. |
The discussions that Paul and I had resulted in some R2 optimizations for EXTRACT, but those optimizations never made it into the 2.7.6 release. The semantic changes that prompted your bug fix originated in the R3 version of EXTRACT that we wrote back in November, and were a result of discussions of the severe limitations and bugs of the old EXTRACT. | |
Fortunately the binary bug only arose during the testing of the R2 version of the new EXTRACT - the old version of EXTRACT never really worked with anything other than blocks anyways. | |
Dockimbel 13-May-2008 [2554] | Thanks for the info. |
Oldes 14-May-2008 [2555] | Bug: it looks that reloading config does not updates databases. |
Dockimbel 14-May-2008 [2556] | True and there's a small limitation there that I will need to solve in the future versions. |
Oldes 14-May-2008 [2557x5] | Are you sure you want to set url, path, target and ext inside parse-request-line? If you do that, you cannot simply rewrite using mods. |
I mean path, target and ext. Url should be set here of course so it can be parsed after url-translate. | |
Although now I see I should use mod-alias. But somehow don't know how - only redirect seems to work here. | |
ok.. found it... BUG: if there is specified other alias type than 'file ot 'path - Cheyenne halts on uncatched error. | |
And it looks the Alias is not finished as it looks just for redirects:) | |
Dockimbel 14-May-2008 [2562x2] | Interesting comments, I should maybe move the URL parsing later in the processing pipeline or, instead, provide a hook for modules to be able to rewrite the URL before it is parsed. Anyway, you can change the URL, path, target and ext (+ req/vhost) in any module's phases if needed, but a clean way to do it is preferable. The hard part for making a good rewriting engine is, IMO, to invent a good clear, clean and compact dialect to achieve that...regexp are not really my taste. |
You're right about mod-alias, it's not completed yet. I found it might be redundant with a rewriting engine, so I left it unfinished until mod-rewrite comes. | |
Dockimbel 18-May-2008 [2564x2] | I'm letting the little indian go out : http://cheyenne-server.org ;-) |
This will be the new official web site for Cheyenne. I still needs some time to migrate all the old stuff, including the blog. | |
[unknown: 5] 18-May-2008 [2566] | Very nice Doc! |
Will 18-May-2008 [2567] | looks pretty 8-) |
PeterWood 18-May-2008 [2568] | Excellent. The graphics look really good. |
Kaj 19-May-2008 [2569] | Cool |
Oldes 19-May-2008 [2570] | If I have a proxy server made in Uniserve, what is the best way to join it with Cheyenne? |
Dockimbel 19-May-2008 [2571] | 1) Add you service in %UniServe/services/ 2) Edit %Cheyenne/cheyenne.r 3) Add in the 'set-cache block inside the %services/ section, the name of your service. 4) In 'do-cheyenne-app function : - find the line "do-cache %HTTPd.r" and add after that : "do-cache %your-service.r" - find the line "control/start/only 'task-master none" and add after that : "control/start/only 'your-service-name none" |
older newer | first last |