From: Alex B. <en...@tu...> - 2001-06-29 00:24:52
|
hi all, http://www.binarycloud.com/download/ for your downloading pleasure. This is r2, with make and the second revision of Page. have at it :) -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Angel H. <an...@ho...> - 2001-06-29 01:39:12
|
Urghhh... I feel lame asking this question. BUT what does one need to do in order to get a basic install. I tried going into the binarycloud dir and typing "make", but the errors seem to imply I need to do more than that ;-) Also, does anyone have any good references to URLs, etc that explain Makefiles and how to use them - especially in a context as it may apply to r2. As you can probably tell, I don't really understand r2 yet (or anything that deals with make), but I'm convinced it's really worth learning. So any help, pointers, etc would be most appreciated. Thanks! -- Angel on 6/28/01 5:25 PM, Alex Black at en...@tu... wrote: > hi all, > > http://www.binarycloud.com/download/ > > for your downloading pleasure. > > This is r2, with make and the second revision of Page. > > have at it :) > > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev |
From: Angel H. <an...@ho...> - 2001-06-29 11:00:51
|
Angel, try setting the path to BCHOME before typing make. Don't you love it when the obvious stares you in the face? -- Me on 6/28/01 6:39 PM, Angel Hernandez at an...@ho... wrote: > > Urghhh... I feel lame asking this question. BUT what does one need to do in > order to get a basic install. I tried going into the binarycloud dir and > typing "make", but the errors seem to imply I need to do more than that ;-) > > Also, does anyone have any good references to URLs, etc that explain > Makefiles and how to use them - especially in a context as it may apply to > r2. > > As you can probably tell, I don't really understand r2 yet (or anything that > deals with make), but I'm convinced it's really worth learning. So any help, > pointers, etc would be most appreciated. Thanks! > > -- Angel > |
From: Alex B. <en...@tu...> - 2001-06-29 17:03:11
|
> Urghhh... I feel lame asking this question. BUT what does one need to do in > order to get a basic install. I tried going into the binarycloud dir and > typing "make", but the errors seem to imply I need to do more than that ;-) I meant to post earlier this morning... :) You need these two variables in your ENV: PHPRC = path to directory with command-line php.ini BCHOME = /path/to/binarycloud/ For example: PHPRC=/home/alex/r2/tools/cli_php/ BCHOME=/home/alex/r2/binarycloud You must also be able to call php -q from the command line. > Also, does anyone have any good references to URLs, etc that explain > Makefiles and how to use them - especially in a context as it may apply to > r2. Odysseas, can you recommend any reading? > As you can probably tell, I don't really understand r2 yet (or anything that > deals with make), but I'm convinced it's really worth learning. So any help, > pointers, etc would be most appreciated. Thanks! Once you have those env's set, and you know you have php command line working, you should be fine: cd /path/to/binarycloud/ make :) -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Odysseas T. <ody...@ya...> - 2001-06-29 23:35:58
|
> Odysseas, can you recommend any reading? > A friend of mine here is using the "Managing Projects with Make" from O'Reilly Have check it out a couple times and it is the usual quality that you can expect from the O'Reilly animal books. About $11 from fatbrain: http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0937175900&vm= In your unix box you can get help using info "gnu make" or sth similar Alex, we could also put the info2html cgi in some place in the binarycloud site so as everybody can get some help about the various utilities that we are using. Until then, here is a nice fellow that has it already up there (fround him from google). http://www.cs.dartmouth.edu/~jonh/info2html/info2html-demo/info2html.cgi?(make.info)Top and http://www.cs.dartmouth.edu/~jonh/info2html/info2html-demo/infocat.cgi odysseas P.S. Keep in mind that gnu make is much more fancy than the standard unix make __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ |
From: Alex B. <en...@tu...> - 2001-06-29 23:45:40
|
agreed, though I think as soon as things are more pegged down, I'd like to take stock of all ENV, necessary utilities in PATH, etc etc etc :) ... I will post bc_edit/2 in just a moment. _alex >> Odysseas, can you recommend any reading? >> > > A friend of mine here is using the "Managing Projects > with Make" from O'Reilly > Have check it out a couple times and it is the usual > quality that you can expect from the O'Reilly animal > books. > About $11 from fatbrain: > http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0937175900&vm= > > In your unix box you can get help using > info "gnu make" > or sth similar > > Alex, we could also put the info2html cgi in some > place in the binarycloud site so as everybody can get > some help about the various utilities that we are > using. > Until then, here is a nice fellow that has it already > up there (fround him from google). > > http://www.cs.dartmouth.edu/~jonh/info2html/info2html-demo/info2html.cgi?(make > .info)Top > > and > > http://www.cs.dartmouth.edu/~jonh/info2html/info2html-demo/infocat.cgi > > odysseas > > P.S. Keep in mind that gnu make is much more fancy > than the standard unix make > > > __________________________________________________ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail > http://personal.mail.yahoo.com/ > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Andreas A. <a.a...@th...> - 2001-06-29 17:04:35
|
Cool, It works ! :-) But I don't understand the following. After running make there is the build dir with the language rips r2/binarycloud/build/en/ r2/binarycloud/build/da/ thats clear to me, but there are also: binarycloud/ htdocs/ Why that ? Under the language rips there are: htdocs/ user/ binarycould/ So far, so good. The second thing I don't understand is this: en/binarycould/lib/Timer.php en/binarycould/lib/binarycloud/lib/ClientSniffer.php The first line seems logical. The second kinda confusing. The bcp.xml files are also within htdoc of the language rips. Thought they're only used for make not for 'production'!? Andi |
From: Alex B. <en...@tu...> - 2001-06-29 17:31:15
|
> But I don't understand the following. After running make there is the build > dir with the language rips > > r2/binarycloud/build/en/ > r2/binarycloud/build/da/ > > thats clear to me, but there are also: > > binarycloud/ > htdocs/ > > Why that ? because /path/to/r2/binarycloud/base/* is the source tree, it is not used in production. if you look in build/en/binarycloud/* you'll notice that the organization is different. the make system does all kinds of interesting things in that regard. > Under the language rips there are: > > htdocs/ > user/ > binarycould/ > > So far, so good. The second thing I don't understand is this: > > en/binarycould/lib/Timer.php > en/binarycould/lib/binarycloud/lib/ClientSniffer.php The second is a bug :) > The first line seems logical. The second kinda confusing. > > The bcp.xml files are also within htdoc of the language rips. Thought > they're only used for make not for 'production'!? They aren't used at all yet. Some xml2php is working, but not for page definitions. and you are correct, bcp.xml does not belong in the build htdocs :) _a -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Andreas A. <a.a...@th...> - 2001-06-30 12:12:12
|
Hi Alex, >> r2/binarycloud/build/binarycloud/ >> r2/binarycloud/build/htdocs/ >> Why that ? > because > /path/to/r2/binarycloud/base/* > is the source tree, it is not used in production. ok, thats clear > if you look in build/en/binarycloud/* you'll notice that the organization is > different. Yepp. But I don't get it right now how the build arch is handled with the webserver config. If I understand right the language rips are completly standalone systems. Thats good and no problem if you have different docroots/vhosts vor each language. e.g. foo.com points to build/htdocs/ -> determines language and switches to en.foo.com points to build/en/htdocs or de.foo.com points to build/en/htdocs etc. but what if you want to have language switching capabilities within one site e.g. foo.com and foo.de points to the same docroot: foo.com -> derminte language and set internally user switches foo.com?.lang=de or another organization: foo.com/de/ foo.com/en/ How is this handled within the build-tree. I only want the htdocs directory accessible by the user. The directories above should be out ouf user scope. Maybe this is a stupid question and I'm missing something obvious. But I don't get it right now :-( .andi -- When we eliminate the impossible, whatever remains, however improbable, must be true. -- Sherlock Holmes |
From: Andreas A. <a.a...@th...> - 2001-06-30 13:08:04
|
Hi, is it planned to strip comments from the .php files within the build tree? I think that should be done to reduce parsing time. .andi |
From: alex b. <en...@tu...> - 2001-06-30 17:12:55
|
I think I did some tests once, it was some unbelieveably small amount of time.. but yes, that is certainly a possibility :) we will also provide the option to run the make through zend encoder automatically. _alex ----- Original Message ----- From: "Andreas Aderhold" <a.a...@th...> To: <bin...@li...> Sent: Saturday, June 30, 2001 6:11 AM Subject: [binarycloud-dev] Stripping comments in build > Hi, > > is it planned to strip comments from the .php files within the build tree? I > think that should be done to reduce parsing time. > > .andi > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |
From: Andreas A. <a.a...@th...> - 2001-06-30 18:06:26
|
> I think I did some tests once, it was some unbelieveably small amount of > time.. hmm. you're a speed-freak allright! ;-) > but yes, that is certainly a possibility :) a switch, or better: make strip > we will also provide the option to run the make through zend encoder > automatically. groovy!! .andi |
From: alex b. <en...@tu...> - 2001-06-30 17:11:08
|
> > if you look in build/en/binarycloud/* you'll notice that the organization > is > > different. > Yepp. But I don't get it right now how the build arch is handled with the > webserver config. > > If I understand right the language rips are completly standalone systems. > Thats good and no problem if you have different docroots/vhosts vor each > language. e.g. > > foo.com points to build/htdocs/ -> determines language and switches to > en.foo.com points to build/en/htdocs or > de.foo.com points to build/en/htdocs > etc. > > but what if you want to have language switching capabilities within one site > e.g. foo.com and foo.de points to the same docroot: 2 ways of dealing with that: -a script at docroot that abstracts the (x) 'build' htdocs for each language -use a subdir: http://www.example.com/en/ etc > foo.com -> derminte language and set internally > user switches foo.com?.lang=de > > or another organization: > foo.com/de/ > foo.com/en/ right. > How is this handled within the build-tree. I only want the htdocs directory > accessible by the user. The directories above should be out ouf user scope. And that's coming a bit later, we will very likely abstract the entire htdocs/ tree (except resources/) so it is within the user directory. > Maybe this is a stupid question and I'm missing something obvious. But I > don't get it right now :-( Make works, but the system isn't done - so there is behavior that doesn't reflect the final state of everything. _a |
From: Andreas A. <a.a...@th...> - 2001-07-01 11:51:24
|
Hi Alex, >> How is this handled within the build-tree. I only want the htdocs >> directory accessible by the user. The directories above should be out ouf user >> scope. > And that's coming a bit later, we will very likely abstract the entire > htdocs/ tree (except resources/) so it is within the user directory. Ah ok, now it's clear to me. Tnx Andi |