You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
(57) |
May
(287) |
Jun
(166) |
Jul
(286) |
Aug
(273) |
Sep
(254) |
Oct
(144) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: alex b. <en...@tu...> - 2001-05-03 04:59:30
|
> How to get a "hello world" out of it? How to save "hello world" into > Postgres? cd into binarycloud/user/mod/simple_message/ take a look at simple_message.php that's how to do hello world :) the only requirements of a module is that is has teo functions: -the module_name() function which _DOES_NOT_ output anything (for getting db resultsets, other hoo) -the module_name_print() function which, you guessed, it, is responsible for printing if there's going to be anything printed. > How to make sure that whoever sees "hello world" has permission to do so? You will then need to set up your own page, copy /index.php, as it's a simple page. you'll see the way to change what module you load (to your new file in user/mod/yournewmodule/yournewmodule.php) then you will need to edit user/conf/file_permissions.conf and add that file under /index.php (you'll see it at the top there) > How to make sure that the user seeing "hello world" in fact has permission to > view all of "hello world" and not just part? Now, that we don't do in r1. we will do that in r2. > The questions begin to roll off the tongue with surprising ease... > > (slides finger up and down between lips, saying "e", so it sounds like > EEBEEBEEBEEBEEBEE..) heheheh. :) _a |
From: alex b. <en...@tu...> - 2001-05-03 04:55:23
|
yes, there is > As a long time user of PHPLIB templates, is there really that much of a > performance increase using smarty or other "compiled" template program? |
From: Benjamin D. S. <be...@be...> - 2001-05-03 01:18:30
|
How to start? Got the thing installed, compiled PHP with the necessary parameters, have a virtual domain setup, etc. and it seems to work. (I see the "flaming home page") How to get a "hello world" out of it? How to save "hello world" into Postgres? How to make sure that whoever sees "hello world" has permission to do so? How to make sure that the user seeing "hello world" in fact has permission to view all of "hello world" and not just part? The questions begin to roll off the tongue with surprising ease... (slides finger up and down between lips, saying "e", so it sounds like EEBEEBEEBEEBEEBEE..) -Ben -- "Life is short. Live it!" |
From: Benjamin D. S. <be...@be...> - 2001-05-03 01:14:48
|
As a long time user of PHPLIB templates, is there really that much of a performance increase using smarty or other "compiled" template program? -Ben On Wednesday 02 May 2001 16:16, you wrote: > This is what Smarty has been doing for a while. > > -----Original Message----- > From: Luke Francl [mailto:fra...@tc...] > Sent: Wednesday, May 02, 2001 12:41 PM > To: bin...@li... > Subject: Re: [binarycloud-dev] the xsl decision > > On Wed, 2 May 2001, Peter Bowyer wrote: > > Have a look at a new PHP template engine that appeared in the last couple > > of weeks: PHP Server Pages Cooker (PSPCooker) > > > > "PSPCooker is a new template engine for PHP, that mimics Sun's JSP > > functionality. External template files (static HTML files) are compiled > > into PHP files when requested. Then and on subsequent requests, the > > generated PHP files are executed. PSPCooker is able to detect when a HTML > > source file has been modified and will recompile the associated PHP file > > automatically." > > Do you have a link? > > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev -- "Life is short. Live it!" |
From: Alex B. <en...@tu...> - 2001-05-03 00:09:35
|
> I'm inclined to use smarty because I respect it's author. ^^^ egh, its. |
From: Alex B. <en...@tu...> - 2001-05-02 23:27:37
|
> This is what Smarty has been doing for a while. I'm inclined to use smarty because I respect it's author. in any case, the TemplateManager won't care about what kind of templates you like, as all of the actual template processing will be done by subclasses the use a generalized api. _a -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Blake B. <Bla...@De...> - 2001-05-02 23:16:28
|
This is what Smarty has been doing for a while. -----Original Message----- From: Luke Francl [mailto:fra...@tc...] Sent: Wednesday, May 02, 2001 12:41 PM To: bin...@li... Subject: Re: [binarycloud-dev] the xsl decision On Wed, 2 May 2001, Peter Bowyer wrote: > Have a look at a new PHP template engine that appeared in the last couple > of weeks: PHP Server Pages Cooker (PSPCooker) > > "PSPCooker is a new template engine for PHP, that mimics Sun's JSP > functionality. External template files (static HTML files) are compiled > into PHP files when requested. Then and on subsequent requests, the > generated PHP files are executed. PSPCooker is able to detect when a HTML > source file has been modified and will recompile the associated PHP file > automatically." Do you have a link? _______________________________________________ binarycloud-dev mailing list bin...@li... http://lists.sourceforge.net/lists/listinfo/binarycloud-dev |
From: Alex B. <en...@tu...> - 2001-05-02 21:47:53
|
> Actually, I think Dallas was looking for an example of a BC vhost config. > Perhaps you could forward one to him? #alex's binarycloud release port <VirtualHost _default_:8001> php_value auto_prepend_file /path/binarycloud/user/conf/prepend.inc php_value auto_append_file /path/binarycloud/user/conf/append.inc php_value magic_quotes_gpc off php_value variables_order "GPCS" php_value session.name session php_value session.entropy_length 16 php_value session.entropy_file /dev/urandom php_value default_charset "iso-8859-1" php_value register_argc_argv off php_value allow_call_time_pass_by_reference true DocumentRoot /home/alex/binarycloud/htdocs <Directory /home/alex/binarycloud/htdocs> Order allow,deny Allow from all </Directory> ServerAdmin yo...@ex... </VirtualHost> that's a mod on what I use, i actually use that without all the php_flags, because I run the binarycloud distro php.ini _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-05-02 21:43:40
|
no shit? both those tidbits will be on the bc site this afternoon :) thanks! _alex > In addition, if you're working in a shared environment (no access to php.ini), > I believe you need to have 4.04 or above to be able to change the > allow_call_time_pass_by_reference value in an .htaccess file with the > php_value directive. This bit me big time. Found it in the changelog for php. > Ugh. >> Alex, >> Found the problem! The web-site instructions for installation indicate this >> variable is called "allow_call_time_pass_reference", when in fact it should >> be "allow_call_time_pass_by_reference". >> Looks like a typo. >> Up and running w/o errors - THANKS! -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: <st...@st...> - 2001-05-02 20:45:29
|
In addition, if you're working in a shared environment (no access to php.ini), I believe you need to have 4.04 or above to be able to change the allow_call_time_pass_by_reference value in an .htaccess file with the php_value directive. This bit me big time. Found it in the changelog for php. Ugh. >Alex, >Found the problem! The web-site instructions for installation indicate this >variable is called "allow_call_time_pass_reference", when in fact it should >be "allow_call_time_pass_by_reference". >Looks like a typo. >Up and running w/o errors - THANKS! >-Ben >On Wednesday 02 May 2001 13:27, you wrote: >> php.ini: >> >> allow_call_time_pass_by_reference = On >> >> This is a metabase thing. >> >> _alex >> >> > Have the following defined block in httpd.conf... >> > >> > <SNIP> >> > >> > NameVirtualHost * >> > >> > <VirtualHost *> >> > ServerName bc.benjamindsmith.com >> > ServerAdmin be...@be... >> > DocumentRoot /home/httpd/bc/htdocs >> > >> > php_value auto_prepend_file >> > /home/httpd/bc/binarycloud/user/conf/prepend.inc php_value >> > auto_append_file /home/httpd/bc/binarycloud/user/conf/append.inc >> > >> > php_value magic_quotes_gpc off >> > php_value variables_order "GPCS" >> > php_value session.name session >> > php_value session.entropy_length 16 >> > php_value session.entropy_file /dev/urandom >> > php_value default_charset "iso-8859-1" >> > php_value register_argc_argv off >> > php_value allow_call_time_pass_reference true >> > </VirtualHost> >> > >> > </SNIP> >> > >> > And all seems to be working - but when I look at the site, I get a large >> > (I mean large) amount of complaints about pass-by-reference errors - all >> > of which are fairly similar. Here's a sample: >> > >> > <SNIP> >> > Warning: Call-time pass-by-reference has been deprecated - argument >> > passed by value; If you would like to pass it >> > by reference, modify the declaration of [runtime function name](). If you >> > would like to enable call-time >> > pass-by-reference, you can set allow_call_time_pass_reference to true in >> > your INI file. However, future versions >> > may not support this any longer. in >> > /home/httpd/bc/binarycloud/core/base/db/xml_parser.php on line 98 >> > </SNIP> >> > >> > At the bottom, I see the BC "flames" page, there are some errors about >> > "headers already sent" -which makes sense given the errors up above. >> > >> > Any ideas? >> > >> > The last php_value in httpd.conf (allow_call_time_pass_reference) I've >> > tried as "on" (which is how the documentation at the site says to set it) >> > and "true" (which is what the error message indicates) >> > >> > If it helps any, this is a 7.1 RH install, php 4.0.5, Apache 1.3.19, >> > Postgres 7.1, 2.4.x Linux kernel. PHP compiled as follows: >> > >> > ./configure \ >> > --with-apxs=/usr/sbin/apxs \ >> > --enable-ftp \ >> > --with-zlib=/usr/ \ >> > --enable-bcmath \ >> > --enable-calendar \ >> > --with-jpeg-dir=/usr/lib \ >> > --with-tiff-dir=/usr/lib \ >> > --with-openssl \ >> > --with-mhash=/usr/local/mhash \ >> > --with-mcrypt=/usr/bin/mcrypt \ >> > --enable-debug=no \ >> > --with-postgres \ >> > --without-mysql >> > >> > apachetl start reports no errors. >> > >> > Again, thanks! >> > >> > -Ben >> >> -- >> 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 >-- >"Life is short. Live it!" >_______________________________________________ >binarycloud-dev mailing list >bin...@li... >http://lists.sourceforge.net/lists/listinfo/binarycloud-dev |
From: Benjamin D. S. <be...@be...> - 2001-05-02 20:36:31
|
Alex, Found the problem! The web-site instructions for installation indicate this variable is called "allow_call_time_pass_reference", when in fact it should be "allow_call_time_pass_by_reference". Looks like a typo. Up and running w/o errors - THANKS! -Ben On Wednesday 02 May 2001 13:27, you wrote: > php.ini: > > allow_call_time_pass_by_reference = On > > This is a metabase thing. > > _alex > > > Have the following defined block in httpd.conf... > > > > <SNIP> > > > > NameVirtualHost * > > > > <VirtualHost *> > > ServerName bc.benjamindsmith.com > > ServerAdmin be...@be... > > DocumentRoot /home/httpd/bc/htdocs > > > > php_value auto_prepend_file > > /home/httpd/bc/binarycloud/user/conf/prepend.inc php_value > > auto_append_file /home/httpd/bc/binarycloud/user/conf/append.inc > > > > php_value magic_quotes_gpc off > > php_value variables_order "GPCS" > > php_value session.name session > > php_value session.entropy_length 16 > > php_value session.entropy_file /dev/urandom > > php_value default_charset "iso-8859-1" > > php_value register_argc_argv off > > php_value allow_call_time_pass_reference true > > </VirtualHost> > > > > </SNIP> > > > > And all seems to be working - but when I look at the site, I get a large > > (I mean large) amount of complaints about pass-by-reference errors - all > > of which are fairly similar. Here's a sample: > > > > <SNIP> > > Warning: Call-time pass-by-reference has been deprecated - argument > > passed by value; If you would like to pass it > > by reference, modify the declaration of [runtime function name](). If you > > would like to enable call-time > > pass-by-reference, you can set allow_call_time_pass_reference to true in > > your INI file. However, future versions > > may not support this any longer. in > > /home/httpd/bc/binarycloud/core/base/db/xml_parser.php on line 98 > > </SNIP> > > > > At the bottom, I see the BC "flames" page, there are some errors about > > "headers already sent" -which makes sense given the errors up above. > > > > Any ideas? > > > > The last php_value in httpd.conf (allow_call_time_pass_reference) I've > > tried as "on" (which is how the documentation at the site says to set it) > > and "true" (which is what the error message indicates) > > > > If it helps any, this is a 7.1 RH install, php 4.0.5, Apache 1.3.19, > > Postgres 7.1, 2.4.x Linux kernel. PHP compiled as follows: > > > > ./configure \ > > --with-apxs=/usr/sbin/apxs \ > > --enable-ftp \ > > --with-zlib=/usr/ \ > > --enable-bcmath \ > > --enable-calendar \ > > --with-jpeg-dir=/usr/lib \ > > --with-tiff-dir=/usr/lib \ > > --with-openssl \ > > --with-mhash=/usr/local/mhash \ > > --with-mcrypt=/usr/bin/mcrypt \ > > --enable-debug=no \ > > --with-postgres \ > > --without-mysql > > > > apachetl start reports no errors. > > > > Again, thanks! > > > > -Ben > > -- > 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 -- "Life is short. Live it!" |
From: Alex B. <en...@tu...> - 2001-05-02 20:27:43
|
php.ini: allow_call_time_pass_by_reference = On This is a metabase thing. _alex > Have the following defined block in httpd.conf... > > <SNIP> > > NameVirtualHost * > > <VirtualHost *> > ServerName bc.benjamindsmith.com > ServerAdmin be...@be... > DocumentRoot /home/httpd/bc/htdocs > > php_value auto_prepend_file /home/httpd/bc/binarycloud/user/conf/prepend.inc > php_value auto_append_file /home/httpd/bc/binarycloud/user/conf/append.inc > > php_value magic_quotes_gpc off > php_value variables_order "GPCS" > php_value session.name session > php_value session.entropy_length 16 > php_value session.entropy_file /dev/urandom > php_value default_charset "iso-8859-1" > php_value register_argc_argv off > php_value allow_call_time_pass_reference true > </VirtualHost> > > </SNIP> > > And all seems to be working - but when I look at the site, I get a large (I > mean large) amount of complaints about pass-by-reference errors - all of > which are fairly similar. Here's a sample: > > <SNIP> > Warning: Call-time pass-by-reference has been deprecated - argument passed by > value; If you would like to pass it > by reference, modify the declaration of [runtime function name](). If you > would like to enable call-time > pass-by-reference, you can set allow_call_time_pass_reference to true in your > INI file. However, future versions > may not support this any longer. in > /home/httpd/bc/binarycloud/core/base/db/xml_parser.php on line 98 > </SNIP> > > At the bottom, I see the BC "flames" page, there are some errors about > "headers already sent" -which makes sense given the errors up above. > > Any ideas? > > The last php_value in httpd.conf (allow_call_time_pass_reference) I've tried > as "on" (which is how the documentation at the site says to set it) and > "true" (which is what the error message indicates) > > If it helps any, this is a 7.1 RH install, php 4.0.5, Apache 1.3.19, Postgres > 7.1, 2.4.x Linux kernel. PHP compiled as follows: > > ./configure \ > --with-apxs=/usr/sbin/apxs \ > --enable-ftp \ > --with-zlib=/usr/ \ > --enable-bcmath \ > --enable-calendar \ > --with-jpeg-dir=/usr/lib \ > --with-tiff-dir=/usr/lib \ > --with-openssl \ > --with-mhash=/usr/local/mhash \ > --with-mcrypt=/usr/bin/mcrypt \ > --enable-debug=no \ > --with-postgres \ > --without-mysql > > apachetl start reports no errors. > > Again, thanks! > > -Ben -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Benjamin D. S. <be...@be...> - 2001-05-02 20:15:58
|
Have the following defined block in httpd.conf... <SNIP> NameVirtualHost * <VirtualHost *> ServerName bc.benjamindsmith.com ServerAdmin be...@be... DocumentRoot /home/httpd/bc/htdocs php_value auto_prepend_file /home/httpd/bc/binarycloud/user/conf/prepend.inc php_value auto_append_file /home/httpd/bc/binarycloud/user/conf/append.inc php_value magic_quotes_gpc off php_value variables_order "GPCS" php_value session.name session php_value session.entropy_length 16 php_value session.entropy_file /dev/urandom php_value default_charset "iso-8859-1" php_value register_argc_argv off php_value allow_call_time_pass_reference true </VirtualHost> </SNIP> And all seems to be working - but when I look at the site, I get a large (I mean large) amount of complaints about pass-by-reference errors - all of which are fairly similar. Here's a sample: <SNIP> Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/httpd/bc/binarycloud/core/base/db/xml_parser.php on line 98 </SNIP> At the bottom, I see the BC "flames" page, there are some errors about "headers already sent" -which makes sense given the errors up above. Any ideas? The last php_value in httpd.conf (allow_call_time_pass_reference) I've tried as "on" (which is how the documentation at the site says to set it) and "true" (which is what the error message indicates) If it helps any, this is a 7.1 RH install, php 4.0.5, Apache 1.3.19, Postgres 7.1, 2.4.x Linux kernel. PHP compiled as follows: ./configure \ --with-apxs=/usr/sbin/apxs \ --enable-ftp \ --with-zlib=/usr/ \ --enable-bcmath \ --enable-calendar \ --with-jpeg-dir=/usr/lib \ --with-tiff-dir=/usr/lib \ --with-openssl \ --with-mhash=/usr/local/mhash \ --with-mcrypt=/usr/bin/mcrypt \ --enable-debug=no \ --with-postgres \ --without-mysql apachetl start reports no errors. Again, thanks! -Ben -- "Life is short. Live it!" |
From: Luke F. <fra...@tc...> - 2001-05-02 19:41:57
|
On Wed, 2 May 2001, Peter Bowyer wrote: > Have a look at a new PHP template engine that appeared in the last couple > of weeks: PHP Server Pages Cooker (PSPCooker) > > "PSPCooker is a new template engine for PHP, that mimics Sun's JSP > functionality. External template files (static HTML files) are compiled > into PHP files when requested. Then and on subsequent requests, the > generated PHP files are executed. PSPCooker is able to detect when a HTML > source file has been modified and will recompile the associated PHP file > automatically." Do you have a link? |
From: Peter B. <re...@f2...> - 2001-05-02 19:40:39
|
Ooops - forgot the link :-) http://yapbb.sourceforge.net/article.php?sid=5&mode=threaded&order=0 or http://www.hotscripts.com/Detailed/9932.html At 01:02 PM 5/2/01 -0500, you wrote: >I'm partial to a JSP-style on-the-fly recompilation based on file >modification dates (is that how JSP works? I'm not really sure, but I hope >you understand what I mean). Have a look at a new PHP template engine that appeared in the last couple of weeks: PHP Server Pages Cooker (PSPCooker) "PSPCooker is a new template engine for PHP, that mimics Sun's JSP functionality. External template files (static HTML files) are compiled into PHP files when requested. Then and on subsequent requests, the generated PHP files are executed. PSPCooker is able to detect when a HTML source file has been modified and will recompile the associated PHP file automatically." Hope that's useful, Peter. ---oOo--- Do you sendcard? http://www.sendcard.f2s.com/ PHP postcard script supporting 9 databases! ---oOo--- |
From: Peter B. <re...@f2...> - 2001-05-02 19:38:52
|
At 01:02 PM 5/2/01 -0500, you wrote: >I'm partial to a JSP-style on-the-fly recompilation based on file >modification dates (is that how JSP works? I'm not really sure, but I hope >you understand what I mean). Have a look at a new PHP template engine that appeared in the last couple of weeks: PHP Server Pages Cooker (PSPCooker) "PSPCooker is a new template engine for PHP, that mimics Sun's JSP functionality. External template files (static HTML files) are compiled into PHP files when requested. Then and on subsequent requests, the generated PHP files are executed. PSPCooker is able to detect when a HTML source file has been modified and will recompile the associated PHP file automatically." Hope that's useful, Peter. ---oOo--- Do you sendcard? http://www.sendcard.f2s.com/ PHP postcard script supporting 9 databases! ---oOo--- |
From: Alex B. <en...@tu...> - 2001-05-02 18:17:50
|
> I'm willing, but I haven't thought about how I would do it yet...any > thoughts? I'll include detailed specs in the next revision of the r2 docs. Anyway, the short answer is I have a very clear idea of how it would work. > I'm partial to a JSP-style on-the-fly recompilation based on file > modification dates (is that how JSP works? I'm not really sure, but I hope > you understand what I mean). I like this method as well, it's clean and allows updates simply. >>> I hate the XSL syntax, but it is the standard, so we web developers >>> are going to have to live with it, I guess. >> >> Well, I'm not in love with it either, but it's a hell of a lot more >> efficient than (even cached) "block style" templates. > > Definately. I'm just a paranoid delusional who thinks XML is a conspiracy > to take the web back from the masses (see: idiotic, complex, verbose > syntax, case sensitivity, etc.) heh :) From working with it, I'm pretty happy with the whole "cloud" (pardon the expression) of apps, _especially_ Xpath which I think is very well done. _a -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Luke F. <fra...@tc...> - 2001-05-02 18:02:11
|
On Tue, 1 May 2001, Alex Black wrote: > > By this you mean droping "smarty"-style templates, right? I'm cool with it > > as long as we can compile the XSL templates... :) > > Heh, you want to write the code? :) I'm willing, but I haven't thought about how I would do it yet...any thoughts? I'm partial to a JSP-style on-the-fly recompilation based on file modification dates (is that how JSP works? I'm not really sure, but I hope you understand what I mean). > > I hate the XSL syntax, but it is the standard, so we web developers > > are going to have to live with it, I guess. > > Well, I'm not in love with it either, but it's a hell of a lot more > efficient than (even cached) "block style" templates. Definately. I'm just a paranoid delusional who thinks XML is a conspiracy to take the web back from the masses (see: idiotic, complex, verbose syntax, case sensitivity, etc.) Luke |
From: <be...@be...> - 2001-05-02 18:00:40
|
(Already sent this question, but there was an error, so I'm asking again) Setting up RH 7.1 Linux, 2.4x kernel, postgres 7.1, php 4.0.5, apache 1.3.19, Binary Cloud r1b. (the latest everything) Using a single IP, and name-based virtual hosting. I want to have the binary cloud stuff working in one name-based host, but not in another, so the BC prepend stuff isn't global to all sites. Can this be done? (if the above doesn't make sense, I'll define how I want it set up) httpd.conf: (rough) virtual host 1) name www.domain.com directory /home/httpd/html // don't want BC to run here /virtual host 1) virtual host 2) name bc.domain.com directory /home/httpd/bc // want BC stuff to run here /virtual host 2) Is there a way to do this? ----------------------------------- http://www.benjamindsmith.com |
From: Alex B. <en...@tu...> - 2001-05-02 18:00:16
|
everything you have just said is correct. I run a virtualhost with the binarycloud prepend flags, and the "normal" htdocs don't use them. if you have trouble setting that up, I'm happy to send an example virtualhost def for apache. _alex > Running a RH 7.1/Apache1.3.19/php4.0.5/postgres 7.1 (Linux 2.4x kernel) > system, and want to have BC working in a virtual host, w/o operating in > another. EG: > > Virtual host bc.mydomain.com points to > /home/httpd/bc > and I want to have the auto_prepend stuff for BC working here, but > > virtual host www.mydomain.com points to > /home/httpd/html > and I DON'T want the BC stuff to load. > > Is there a way to do this? Perhaps, but the php_value stuff in the virtual > host definition block at the end of httpd.conf? > > Thanks guys! > > -Ben > > ----------------------------------- > http://www.benjamindsmith.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: <be...@be...> - 2001-05-02 17:49:24
|
Running a RH 7.1/Apache1.3.19/php4.0.5/postgres 7.1 (Linux 2.4x kernel) system, and want to have BC working in a virtual host, w/o operating in another. EG: Virtual host bc.mydomain.com points to /home/httpd/bc and I want to have the auto_prepend stuff for BC working here, but virtual host www.mydomain.com points to /home/httpd/html and I DON'T want the BC stuff to load. Is there a way to do this? Perhaps, but the php_value stuff in the virtual host definition block at the end of httpd.conf? Thanks guys! -Ben ----------------------------------- http://www.benjamindsmith.com |
From: Alex B. <en...@tu...> - 2001-05-01 21:58:41
|
> No, admittedly I only know what the acronym means. I do know it has been > said to be overly complex. And quite frustrating to work with. People say > the same things of linux but I have no problems there. So perhaps it > requires a bit more investigation on my part. XSL has problems, absolutely. It is also the most powerful template tool I have come across, so it warrants attention. The syntax isn't complex, it's verbose, which bothers some people (including me). But when you work with it for a little while, you realize that in combination with some necessary tools, it's extremely powerful and flexible. You can render WML, HTML, and PDF from the _same_ document with XSL. That's beefy. > I think using XSL for other capabilities and still allowing people to have a > simple template system is a good solution. Though it probably means twice > (or more) as much work for you. The way that will need to go is I put the smarty templates in the spec, and see who in the community is willing to construct the subclass for TemplateManager. Starting with r2, there's going to be more code spec'd than will be generated inside turing. _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Blake B. <Bla...@De...> - 2001-05-01 21:37:57
|
No, admittedly I only know what the acronym means. I do know it has been said to be overly complex. And quite frustrating to work with. People say the same things of linux but I have no problems there. So perhaps it requires a bit more investigation on my part. I think using XSL for other capabilities and still allowing people to have a simple template system is a good solution. Though it probably means twice (or more) as much work for you. * Blake -----Original Message----- From: Alex Black [mailto:en...@tu...] Sent: Tuesday, May 01, 2001 11:27 AM To: binarycloud-dev Subject: Re: [binarycloud-dev] the xsl decision > Without simplicity for the "dumb" web developer you'll lose marketability. > Smarty has been working quite well for us, the speed is excellent. We get Which is why I have note made a decision to ditch parsed templates. However, with XSL, you gain a _huge_ range of capabilities that are not available from parsed templates. (think on the fly PDFs, etc) > complex page renders in 0.02-0.8 seconds, with multiple DB queries. We > never could have finished our site within deadlines without an extremely > simple template system. Smarty has both the simplicity and the required > level of sophisication to offer a good solution to anyone, especially since > you can define your own tag delimiters and basically add anything that is > required by a specific installation. (Smarty.addons.php is nice for this.) > > There may be other superior technologies and more well-defined > specifications but the simplicity is the selling feature of a template > system IMHO. Have you used XSL? _alex -- 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: Alex B. <en...@tu...> - 2001-05-01 18:34:34
|
I think it's worth clarifying that the TemplateManager will use subclasses for each template type - so like almost everything else in binarycloud, there's nothing that _prevents_ anyone from doing anything they want. What I'm talking about with regard to XSLT and the like is, will _I_ be using this in production, i.e. do I need to build this code for myself? The answer is increasingly no where parsed templates are concerned, especially in light of a few other projects that are part of r2. When I'm done with the r2 specs (which should be quite soon, despite their condition on the site) - I'm going to see what kind of support there is on this list and in the community for building some of these advanced tools, including an XSLT->PHP makefile, Smarty extensions to the TemplateManager, etc. Once the specs are done, the full power of the system will be evident (hm, did I steal that from darth vader, or was it the scary old general guy running the death star). anyway: the idea with the managers, and indeed all of the subsystems in binarycloud is that they should make the most basic assumptions they can to get a cohesive system functioning - so people can work within the system (benefiting from all the tools, etc.) without it getting in their way. /rant _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Alex B. <en...@tu...> - 2001-05-01 18:26:32
|
> Without simplicity for the "dumb" web developer you'll lose marketability. > Smarty has been working quite well for us, the speed is excellent. We get Which is why I have note made a decision to ditch parsed templates. However, with XSL, you gain a _huge_ range of capabilities that are not available from parsed templates. (think on the fly PDFs, etc) > complex page renders in 0.02-0.8 seconds, with multiple DB queries. We > never could have finished our site within deadlines without an extremely > simple template system. Smarty has both the simplicity and the required > level of sophisication to offer a good solution to anyone, especially since > you can define your own tag delimiters and basically add anything that is > required by a specific installation. (Smarty.addons.php is nice for this.) > > There may be other superior technologies and more well-defined > specifications but the simplicity is the selling feature of a template > system IMHO. Have you used XSL? _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |