World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Graham 14-Mar-2009 [4258x5] | I've been writing a web app which I have been distributing as a zip archive. People just unzip the latest over their copy, and I ask them to write protect their own changes. |
I don't really want to setup git or Mercurial or what ever. Any alternatives? | |
Of course I'm hoping that the users will contribute their changes but realistically that is not going to happen. | |
Perhaps a Cheyenne rsp script that downloads a catalog, and then downloads any changes to the local site? | |
I'm guessing that is what bulletin board software does ? | |
Gabriele 14-Mar-2009 [4263x2] | any reason you don't want to set up git or mercurial? (windows? then I'd suggest mercurial) |
(git has been making progress on win but i don't know how much) | |
Graham 14-Mar-2009 [4265] | NYAS - not yet another server :( |
Gabriele 14-Mar-2009 [4266] | none of them needs a server |
Graham 14-Mar-2009 [4267x2] | oh ? |
Ok, time to check them out. | |
Gabriele 14-Mar-2009 [4269] | that's the D in DVCS |
Graham 14-Mar-2009 [4270] | I assumed it also meant always on |
Gabriele 14-Mar-2009 [4271x2] | no, you can start a server to let other people access *your* repository |
it's like turning samba on to let other people access *your* files | |
Graham 14-Mar-2009 [4273] | Ok. |
Gabriele 14-Mar-2009 [4274x3] | you can still just publish zip files, or patches, or work with other in many different ways. or, you simply do not work with others. ;) |
mercurial in particular works fine as a simple CGI if you want to give read access to the repository | |
and with some configuration for the auth part, you can also use the CGI for write access. | |
Graham 14-Mar-2009 [4277x2] | needs a web server? |
or is that embedded inside Hg? | |
Gabriele 14-Mar-2009 [4279x5] | both are supported. |
you can use the embedded web server, or use the CGI with an existing web server | |
http://hgbook.red-bean.com/ | |
(i really suggest reading that) | |
git is faster and has more features (hg has been closing the gap on the features but not the speed), but windows people tend to hate it. | |
Graham 14-Mar-2009 [4284x2] | and mercury is not poisonous to my system |
no security issues I hope | |
Gabriele 14-Mar-2009 [4286x3] | not that i know of, it's the usual if you keep it running, but you don't need to have the server running at all to use it. |
you can still just send any changes from a given revision forward as a single file (bundle) | |
ie. just use email | |
Graham 14-Mar-2009 [4289x4] | pdf downloaded ... bed time reading it is then. |
My users are even less technical than I am ... need something really easy :) | |
I should try and find my old replication script I wrote for uniserve | |
If anyone has the stamina, I did a few videos linked to here http://synapsedirect.com/forums/permalink/7870/7869/ShowThread.aspx#7869 1. Shows the creation of an interactive PDF using Acrobat Pro 9 2. How to register the PDF on my Cheyenne web site 3. How the new registered PDF can be prefilled on download, completed, submitted and retrieved | |
Robert 15-Mar-2009 [4293] | Kaj, looks interesting. Thanks. I'll check it out. |
Gabriele 15-Mar-2009 [4294x2] | well, for your users i'd let the app itself download the updates and so on. |
even if you don't collaborate with anyone, it's still very useful to have the code in a VCS, and a DVCS allows you doing so without needing to set up a server. | |
Kaj 16-Mar-2009 [4296] | Robert, Paul Graham is an investor in Disqus |
Janko 17-Mar-2009 [4297x7] | I am trying to move my webapp to the real server (which runs on debian linux) ... and I have some problems with making cheyenne work with SQLITE on linux.. did anyone do that already? cheyenne runs fine but when I come to the part that includes sqlite.r it crashes... I installed sqlite3 via apt-get, I copied rebol core into same directory as cheyenne (exec) is and also in same directory where sqlite.r is (because after some testing with >> do %sqlite.r << in normal rebol I saw that it searches it in that directory) ... but I get the same error .. I can't test including sqlite in ordinary rebol fully because when I set the right path rebol says >> feature not available in this REBOL << (I have rebol core 2.7.6) |
Did anyone try using sqlite.r from Dobeash in free rebol code 2.7.6 on linux. (debian). I get "feature not available in this REBOL" but it works on windows. | |
uh.. I wanted to write the last in the sqlite group | |
( just for reference , as Doc figured out and can be seen in SQLite group I was having problems because I was using too old version of libsqlite3.so) | |
Can the compression of RSP output be disable in the new cheyenne? | |
I was looking at settings and didn't see anything like that but I saw no-compress in new RSP docs | |
so I guess I could put that in on-page-start if I would want to disable it for the whole app.. | |
Dockimbel 17-Mar-2009 [4304] | Untested, but that should work. |
Janko 17-Mar-2009 [4305] | I want server to "flush" responses as fast as it can and client render them without compressing/decompressing ... I might be wrong and I will test if there are any differences, but I had bad exper. when we tried to minimize and *gzip* js libs (like they usually) do the website latency actually became much worse with gzip than without |
Dockimbel 17-Mar-2009 [4306] | Unless your server CPU is heavily loaded or you're serving only very small files, having compression on usually improves performances. You should benchmark it first before turning it off. Btw, currently, compression in Cheyenne only applies to RSP scripts output, it's not yet available for static files. |
Graham 17-Mar-2009 [4307] | is there an existing mechanism for basic authentication? |
older newer | first last |