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: Peter B. <re...@f2...> - 2001-05-20 07:02:35
|
At 02:02 PM 5/19/01 -0700, you wrote: >uh, so if I can huff-and-puff for a moment, I really haven't seen anyone >even trying something as deep as r2 with php. that wasn't really true of r1, >i.e. it had tools that existed elsewhere in different code - but r2 is >entirely unique. Uh-huh. Just to throw in an odd question: why write a program such as Binarycloud in PHP rather than C/C++? >Once we get a functioning r2 install, we're going to start in on a cms >immediately, would you like to participate in its development? I'd love to. I think my skills are developed enough to do this - I don't think they are for writing the BC core - or I wouldn't like to attempt it :-( Still, once my exams are over for another year I'll be able to dedicate my time to programming ;-) >I think pear has a caching class, so we might just be able to plug it in! Ulf Wendel wrote it, so it should be good. The other one people seem to like is phpCache, which would be worth a look. >that means you can (fairly easily) wrap lightweight applications, as long as >they don't try to start a session. Why? If you called ob_start() wouldn't that solve the problem? >also, with the stuff we're doing, it will almost be easier to re-build a >simple app than to port it in. I think you're right. One last question: how does binarycloud compare to something like the Midguard project? Peter. -oOo- Maple Design - web design, hosting, domain names http://www.mapledesign.co.uk -oOo- |
From: alex b. <en...@tu...> - 2001-05-20 05:13:58
|
> if i am understanding this right, i think this is beautiful. it is > strangely familiar concept i've played with, but nothing has ever taken > off in code. alex, i wish you all the best and look forward to r2. you > seem to have a great scheme of things in mind very well. i hope to help > out when the time comes.. there's much to do. I'm trying to get a releasable r2 core available as soon as possible, the manager and builder classes will follow soon after. r2 will be capable of handling new core components and "plugins" white elegantly, so we can build some fairly groovy things (caching not least among them) toil, toil, boil and bubble! :) _alex > > Nico Galoppo wrote: > > > also, with the stuff we're doing, it will almost be easier to re-build a > > > simple app than to port it in. the new formbuilder will only spit xml out, > > > so we'll run that through a global xsl - that means you can write one xsl > > > for 90% of the forms on your site. one document. > > > > > > for example, a forum: > > > -define an entity: post > > > -another: thread > > > -another entity: forum > > > now, this i don't get. maybe i should take a look at your 'complex > > example' post. should i take the 'r2 path release' and untar the > > 'complex example' in that tree?? > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev > |
From: alex b. <en...@tu...> - 2001-05-20 05:11:12
|
> I also read quite a bit today about XML and XSL and it > seems to be the way to go for containing, controlling, > and expressing data. yep. xml + xsl is definitely the way to operate :) > I eagerly await the next version - which should give > me enough time to get caught up on the basics. Great > (and timely) project! danke > ERRORS ------------------------------------------- > > PHP Warning The length of the needle must not be 0 > file: > /usr/local/apache/htdocs/binarycloud/binarycloud/core/lib/bread_crumbs_and_t abs.lib > line 40 egh, I should post an r1c to get rid of this :) it was a release mistake on my part, the breadcrumbs you have is a baddie. > Warning Cannot send session cookie - headers already > sent by (output started at > > /usr/local/apache/htdocs/binarycloud/binarycloud/user/conf/file_permissions. conf:193) > file: > /usr/local/apache/htdocs/binarycloud/htdocs/index.php > line 49 this is because of whitespace at the end of that file. delete the whitespace, error goes away. |
From: jason <ja...@gr...> - 2001-05-20 02:54:39
|
if i am understanding this right, i think this is beautiful. it is strangely familiar concept i've played with, but nothing has ever taken off in code. alex, i wish you all the best and look forward to r2. you seem to have a great scheme of things in mind very well. i hope to help out when the time comes.. Nico Galoppo wrote: > > also, with the stuff we're doing, it will almost be easier to re-build a > > simple app than to port it in. the new formbuilder will only spit xml out, > > so we'll run that through a global xsl - that means you can write one xsl > > for 90% of the forms on your site. one document. > > > > for example, a forum: > > -define an entity: post > > -another: thread > > -another entity: forum > now, this i don't get. maybe i should take a look at your 'complex > example' post. should i take the 'r2 path release' and untar the > 'complex example' in that tree?? |
From: Curtis C. <c_c...@ya...> - 2001-05-20 02:32:14
|
I just installed binarycloud r1 and everything seems to work except for a few errors (which are listed at the bottom of this message). I've been reading through the code so as to try and figure out what is going on, but it will take some time for me to understand. I've just begun using PHP, read a couple of books, all the online docs I can, but it's going to take me time to figure out OOP, and the binarycloud structure, but once I do... I also read quite a bit today about XML and XSL and it seems to be the way to go for containing, controlling, and expressing data. I eagerly await the next version - which should give me enough time to get caught up on the basics. Great (and timely) project! Thanks, Curtis. ERRORS ------------------------------------------- PHP Warning The length of the needle must not be 0 file: /usr/local/apache/htdocs/binarycloud/binarycloud/core/lib/bread_crumbs_and_tabs.lib line 40 PHP Warning Cannot send session cookie - headers already sent by (output started at /usr/local/apache/htdocs/binarycloud/binarycloud/user/conf/file_permissions.conf:193) file: /usr/local/apache/htdocs/binarycloud/htdocs/index.php line 49 PHP Warning Cannot send session cache limiter - headers already sent (output started at /usr/local/apache/htdocs/binarycloud/binarycloud/user/conf/file_permissions.conf:193) file: /usr/local/apache/htdocs/binarycloud/htdocs/index.php line 49 __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ |
From: Alex B. <en...@tu...> - 2001-05-19 23:59:10
|
> I took a quick look at the 'SmartForm Builder' at phpSiteManager you > were talking about, and if the term 'entity' over there means the same > to you, i think i get the picture... it doesn't :) I believe 'sm entities' are sort of form elements. imagine a bc entitiy like a database schema, but xml, in a hierarchy, and with a lot more meta information. -alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Nico G. <sc...@ac...> - 2001-05-19 23:33:57
|
--* Alex Black (Sat, May 19, 2001 at 04:22:13PM -0700) *-- > can anyone think of anything to add to this debug output? >=20 > =3D Apache ENV > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC) > HTTP_COOKIE: session=3D16ff322cf4d4d7666da7b1c59b9650c4 > REDIRECT_STATUS: 200 > SERVER_PORT: 8001 > QUERY_STRING:=20 > REQUEST_URI: / >=20 hmm.. $REMOTE_ADDR? -- nico galoppo - tremelo/leuven, belgium - erasmus/socrates student in grenoble, france - 4, rue b=E9ranger -- phone: +33-(0)76-85 23 19 --------------------------------------------------------------- [bash]:~$ man woman nico at crossbar dot net No manual entry for woman debian linux :: vim powered |
From: Nico G. <sc...@ac...> - 2001-05-19 23:31:25
|
--* Alex Black (Sat, May 19, 2001 at 04:27:02PM -0700) *-- > oh, "complex example" is a quick xslt tutorial/show n' tell. >=20 > when I get the time I'll post a doc about entities. >=20 I took a quick look at the 'SmartForm Builder' at phpSiteManager you were talking about, and if the term 'entity' over there means the same to you, i think i get the picture... --nico -- nico galoppo - tremelo/leuven, belgium - erasmus/socrates student in grenoble, france - 4, rue b=E9ranger -- phone: +33-(0)76-85 23 19 --------------------------------------------------------------- [bash]:~$ man woman nico at crossbar dot net No manual entry for woman debian linux :: vim powered |
From: Alex B. <en...@tu...> - 2001-05-19 23:27:14
|
> ok, i was afraid you were going to say that ;) actually, i'm very > interesting in getting involved with binarycloud, especially because you > seem to be very groovy stuff with xml/xslt, although i don't fully > understand how it all fits together yet, especially the 'entity' > concept. This will be the subject of many posts, and detailed docs. > Now this is something very cool that I've tried out at > binarycloud.com/bc_edit... too bad it's only supported bye IE5.5+ yeah... ns is falling... > never done it, but i usually get convinced into using this kinda stuff > quite easily :) heh :) > i know pear has this, i think it was written by ulf wendel and that he's > got extensive docs online on his website, but all in german (argh!). > consequence: i don't even understand the concept of a 'caching module'. > anyone care to explain?? ok, say I have this nice page, which has 5 modules. each of these modules pulls content out of the database, and formats it with xslt. for a page that is 'static' i.e. you're just getting content from the database that doesn't rely on the userid or any session specific stuff.. it makes sense to take the html output of that page render, and put it in a file on the webserver. so next time a request comes in for that page, the cacher just pulls it out of the filesystem and serves it instead of going through: query xml xslt >> This is a point, but what we're trying to do is actually much more >> integrated with the system than "just a cms" > > true. all that i'm afraid of is that 'implementing' a cms with this > groovy state-of-the-art framework could be more timeconsuming and > 'banging-your-head-against-the-wall' than just trying to use something > that's been built allready. true, it takes the fun out of it, and limits > the extensibility of your system... You're welcome to do a quick conversion of another cms into binarycloud modules. :) But in this case, it makes sense to do it properly. > now, this i don't get. maybe i should take a look at your 'complex > example' post. should i take the 'r2 path release' and untar the > 'complex example' in that tree?? oh, "complex example" is a quick xslt tutorial/show n' tell. when I get the time I'll post a doc about entities. -a -- 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-19 23:23:16
|
can anyone think of anything to add to this debug output? note how there are categories - there will be Debug public methods associated with most of these categories, so you can pass debug variables, messages, constants, etc. this is intentionally plain text, because I want debug output to be "any format" - so we can spit it into <pre> at the bottom of html, or in <!-- --> for xml (or html even) etc. <pre> Debug -Page build time: .0012 seconds = Auth Info ========================================================================== User ID: 234 Role: god = Messages ========================================================================== message content message content message content = Page Errors ========================================================================== PHP Warning Cannot send session cache limiter - headers already sent (output started at /home/panteli/binarycloud/binarycloud/user/conf/file_permissions.conf:193) Filename: /home/panteli/binarycloud/htdocs/index.php ............................................................... PHP Warning Cannot send session cache limiter - headers already sent (output started at /home/panteli/binarycloud/binarycloud/user/conf/file_permissions.conf:193) Filename: /home/panteli/binarycloud/htdocs/index.php = Queries ========================================================================== Datasource: default Query Name: foo Predefined?: yes Query Location: user/db/qry/qryfile.php select foo from bar where foo='cheese'; ............................................................... Datasource: default Query Name: foo Predefined?: yes Query Location: user/db/qry/qryfile.php select foo from bar where foo='cheese'; = System Constants ========================================================================== BC_PATH: ../binarycloud/ BC_PATH_ETC... = USER CONSTANTS ========================================================================== BC_LANG: en BC_LANG_CURRENCY: us_dollar BC_LANG_DATE_TIME: mm/dd/yy,HH:MM BC_LANG_CHARSET: iso-8859-1 BC_PATH_STORM: /storm/ BC_PATH_DB_FAILURE_REDIRECT: /global/db_failure.php BC_PATH_SIGN_IN_REDIRECT: /index.php BC_VALUE_DIR_INDEX_FILENAME: index.php BC_VALUE_LOGGED_IN_LIMIT: 28800 BC_VALUE_INACTIVITY_LIMIT: 3600 BC_VALUE_ADMIN_EMAIL: BC_VALUE_ADMIN_FROM_EMAIL: From: binarycloud BC_VALUE_SHOW_CORE_ERRORS_TO: foo BC_FLAG_SET_INI: BC_FLAG_DEBUG: 1 BC_FLAG_DB_FAILURE_REDIRECT: 1 BC_FLAG_USE_SMTP_MAIL_CLASS: 1 BC_FLAG_LOG_ALL_ERRORS_TO_FILE: 1 BC_FLAG_SEND_ADMIN_ERROR_EMAILS: 1 BC_FLAG_SEND_DB_FAILURE_EMAILS: 1 = Core Classes ========================================================================== Init: loaded Page: not loaded Auth: loaded Perm: loaded Sess: loaded Err: loaded Lang: loaded = All Classes ========================================================================== Class name method name method name method name var name var name var name = Global Non-class Variables ========================================================================== $bc_page Array ( [init] => Array ( [ini] => 1 [auth] => [perm] => [sess] => 1 [lang] => 1 ) [templates] => Array ( [norm] => Array ( [path] => masters/binarycloud.html [handler] => html ) [printer] => Array ( [path] => masters/print.html [handler] => html ) [other] => Array ( [path] => masters/other.html [handler] => html ) ) [modules] => Array ( [content] => Array ( [0] => Array ( [path] => hello_world/HelloWorld.php [order] => 1 ) [1] => Array ( [path] => hello_world/HelloWorld.php [order] => 2 ) ) ) ) ............................................................... $variable: value ............................................................... $variable: value ............................................................... = Apache ENV ========================================================================== HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC) HTTP_COOKIE: session=16ff322cf4d4d7666da7b1c59b9650c4 REDIRECT_STATUS: 200 SERVER_PORT: 8001 QUERY_STRING: REQUEST_URI: / </pre> -- 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-19 23:19:12
|
hi all, if you're going to look at init, I might as well explain what this stuff does, which is best done by explaining this public method (Startup): btw, how interested is everyone in public cvs access at this point? I can do it so I synch to sourceforge on a daily/hourly/whatever basis - but I'm only going to do that if people want to commit :) class init... function Startup() { $this->_set_bc_path(); * this figures out BC_PATH based on Init.php's location $this->_start_timer(); * this includes core/lib/Timer.php and starts the timer $this->_load_debug(); * this includes core/lib/Debug, and makes a new instance of Debug * note that debug is, uh, so not done :) * the idea w/this, btw is to allow you do insert * $Debug->Capture("label","value") * in your code, and have debug print a nice message for you later * you can use this to track the execution of code, * or remind yourself to get more sprite when you go the the market! *eventually, debug output will be serious (i'll post this in the next message) $this->_start_ob(); * this starts output buffering $this->_set_user_constants(); * this require_once's user/conf/conf.php $this->_load_lang(); * this checks the user constants to see if BC_LANG has been set. * if not, it loads up the Lang class, which figures out * what to set it to, and based on that charset, date, and currency $this->_set_system_constants(); * this sets the system paths * the reason this is all the way down here, is because we use real * paths in the filesystem to deal with multiple languages. * you'll see a commented out BC_USER with a BC_LANG tagged on the * end. $this->_set_ini(); * this sets all of our ini settings $this->_load_error(); * this loads up PEAR_Error, which we will use for error handling. * ... assuming it doesn't piss us off. :) $this->_load_auth(); * this checks the $bc_page array to see if it should load auth, * and does it. it calls auth->Authenticate and ->Collect_Garbage * the auth class in the r2 shell isn't functional, it's copy+paste * from the old auth. $this->_load_perm(); * same thing, but for perm. // $this->_load_dispatch(); * I have decided that dispatch is a stupid name. no more dispatch $this->_load_page(); * this is exactly the same as dispatch, but it's called Page. * because it builds pages. $this->_load_sess(); * after all the classes are in, we load up the session class and * start a session. * this will include a session.save_handler (you can see the ugly- * thinking out loud code in there) :P have phun! ------------------------- -- 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-19 23:09:10
|
> Is there a cvs repository for r2 somewhere, or are you talking about the > 'r2 path release'? > > I'm anxious to try out your init class :) I've posted a rip of my working directory at: http://www.binarycloud.com/download/ click "binarycloud r2 shell" to get the tarball. what works: Init Page (enough to load a module, this is not "real" code) sample module user/mod/hello_world/HelloWorld.php this is a class with 2 methods: Init Output for the, uh, brave, you're welcome to play around with this... everything but init is funky :) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Nico G. <sc...@ac...> - 2001-05-19 23:08:09
|
--* Alex Black (Sat, May 19, 2001 at 02:02:21PM -0700) *-- > uh, so if I can huff-and-puff for a moment, I really haven't seen anyon= e > even trying something as deep as r2 with php.=20 > the concepts and the code that will come out for this release will allo= w you > to speed the development of your projects by a factor of 5. ok, i was afraid you were going to say that ;) actually, i'm very interesting in getting involved with binarycloud, especially because you seem to be very groovy stuff with xml/xslt, although i don't fully understand how it all fits together yet, especially the 'entity' concept. > It will have a number of groovy features: > -document version tracking > -multi-language versions of the same document > -an inline rich (read visual html) editor which works with IE5.5+ Now this is something very cool that I've tried out at binarycloud.com/bc_edit... too bad it's only supported bye IE5.5+ > -everything will be xslt never done it, but i usually get convinced into using this kinda stuff quite easily :) > -we might get around to building a caching module for ripping docum= ents > ...this would probably be generalized, though - so you can flag a page = as > "cached" in the page def xml, and the system will automatically create = a > repository for cached markup and check that first. >=20 > I think pear has a caching class, so we might just be able to plug it i= n! i know pear has this, i think it was written by ulf wendel and that he's got extensive docs online on his website, but all in german (argh!). consequence: i don't even understand the concept of a 'caching module'. anyone care to explain??=20 > This is a point, but what we're trying to do is actually much more > integrated with the system than "just a cms" true. all that i'm afraid of is that 'implementing' a cms with this groovy state-of-the-art framework could be more timeconsuming and 'banging-your-head-against-the-wall' than just trying to use something that's been built allready. true, it takes the fun out of it, and limits the extensibility of your system...=20 > also, with the stuff we're doing, it will almost be easier to re-build = a > simple app than to port it in. the new formbuilder will only spit xml o= ut, > so we'll run that through a global xsl - that means you can write one x= sl > for 90% of the forms on your site. one document. >=20 > for example, a forum: > -define an entity: post > -another: thread > -another entity: forum now, this i don't get. maybe i should take a look at your 'complex example' post. should i take the 'r2 path release' and untar the 'complex example' in that tree?? --nicolas -- nico galoppo - tremelo/leuven, belgium - erasmus/socrates student in grenoble, france - 4, rue b=E9ranger -- phone: +33-(0)76-85 23 19 --------------------------------------------------------------- [bash]:~$ man woman nico at crossbar dot net No manual entry for woman debian linux :: vim powered |
From: Nico G. <sc...@ac...> - 2001-05-19 22:51:24
|
--* Alex Black (Sat, May 19, 2001 at 02:55:31PM -0700) *-- > that's a direct copy out of r2, which does all of its own environment s= etup. > when you do an r2 install, (assuming you have the modules it needs) you= will > be able to just drop it into htdocs. Is there a cvs repository for r2 somewhere, or are you talking about the 'r2 path release'? I'm anxious to try out your init class :) --nicolas -- nico galoppo - tremelo/leuven, belgium - erasmus/socrates student in grenoble, france - 4, rue b=E9ranger -- phone: +33-(0)76-85 23 19 --------------------------------------------------------------- [bash]:~$ man woman nico at crossbar dot net No manual entry for woman debian linux :: vim powered |
From: Alex B. <en...@tu...> - 2001-05-19 21:55:14
|
> Is there anyway around having to add all of the php_value's in your > httpd.conf > or in an .htaccess, or actually changing your php.ini to the way binarycloud > needs them to be ? you can add this to the prepends: ini_set(magic_quotes_gpc, off); ini_set(variables_order, "GPCS"); ini_set(short_open_tag, true); ini_set(session.name, session); ini_set(session.entropy_length, 16); ini_set(default_charset, 'iso-8859-1'); ini_set(register_argc_argv, off); ini_set(allow_call_time_pass_by_reference, true); that's a direct copy out of r2, which does all of its own environment setup. when you do an r2 install, (assuming you have the modules it needs) you will be able to just drop it into htdocs. :) _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-19 21:03:16
|
> i've been following the mailinglist threads for a few months now, and i > must say it has gone up exponentially :) there's quite some action > on the road ahead, with the rc2 api taking form... hopefully the code > will start coming soon... > > in the meantime, i was wondering how you guys would compare binarycloud > to other webapp frameworks such as horde, zope; cms systems a la > phpgroupware and groupit or even weblogs like phpnuke... zope: mature used an annoying custom markup language (DTML I think it's called) uses its own database engine (?) it's OS, but if just feels proprietary. horde: I was not aware that a 'framework' existed, it does. but is seems empty? so, no idea. cms: binarycloud is not a cms. we are actually going to publish an extremely groovy xml-based cms for binarycloud in the future, but the system itself is not a cms. re: phpgroupware, I offered to share components with them, but I looked at the apps and they were full of echos for html, which is never a good sign :) no production experience with this. seems 'flat' i.e. a phplib competitor with a bit of structure added. overly oriented toward 'their' apps. phpnuke: headless monster. it grows really quickly, and some of the tools are useful, but it isn't really for "deep" application development. sort of like phplib if they had made it into a big collection of apps instead of just publishing the core libs. I should mention another tool, which though it is not mature, but has a couple good ideas: SiteManager. hyper-OO, they abstract html which I dislike, but they package modules nicely. XML Configuration too. but we do all that in r2 :) uh, so if I can huff-and-puff for a moment, I really haven't seen anyone even trying something as deep as r2 with php. that wasn't really true of r1, i.e. it had tools that existed elsewhere in different code - but r2 is entirely unique. the concepts and the code that will come out for this release will allow you to speed the development of your projects by a factor of 5. > i will start coding a web community site soon (for a youth movement), > with a lot of dynamic content such as photographs, bio's, shortstories, > communication between members.. cool. > another thing i will want to do is delegate the content, so i will need > some sort of cms system behind it, atleast for some area's of the site, > depending on the member and her/his role in the movement. Once we get a functioning r2 install, we're going to start in on a cms immediately, would you like to participate in its development? It will have a number of groovy features: -document version tracking -multi-language versions of the same document -an inline rich (read visual html) editor which works with IE5.5+ -everything will be xslt -we might get around to building a caching module for ripping documents ...this would probably be generalized, though - so you can flag a page as "cached" in the page def xml, and the system will automatically create a repository for cached markup and check that first. I think pear has a caching class, so we might just be able to plug it in! > i think binarycloud (especially r2) looks very promising indeed, but > don't you think the modules all by hand using the bc framework (or horde > for that matter) will take alot more time and effort than starting out > from a readymade cms system such as groupit? This is a point, but what we're trying to do is actually much more integrated with the system than "just a cms" we're going to build a generalized entity editor, that will edit any defined logical structure in the system. around that, we're going to wrap an artificial hierarchy-creator/browser, and we'll call the hierarchy browser plus the generalized entity editor "a cms". but the reality is that you'll just as easily be able to edit roles and users are you are able to edit articles. this all comes from the idea of entities, and the entitymanager. I think the most appropriate way to "wrap" other projects is to convert them to modules. The r2 module method spec is still a moving target, I just wrote some code today that breaks the published docs. But with the first r2 init/core release, it will be final. that means you can (fairly easily) wrap lightweight applications, as long as they don't try to start a session. however, part of the point of a system like r2 is to achieve complete integration within the system - so all these other tools like entityManager, rulemanager, eventmanager, etc won't be used by the code, and you won't gain the advantages that come with that. also, with the stuff we're doing, it will almost be easier to re-build a simple app than to port it in. the new formbuilder will only spit xml out, so we'll run that through a global xsl - that means you can write one xsl for 90% of the forms on your site. one document. for example, a forum: -define an entity: post -another: thread -another entity: forum immediately, you can get a list of posts and a list of forums without writing any more code. so far, you've spent 20 minutes writing 2 xml documents. then you spend another ~30 minutes creating modules which call the lister and form builder - which use global templates if you like, and 'bing' you have forums. now, granted, you could spend a couple days doing that if you wanted deluxe-o layouts, etc but overall the system will allow you to build applications at ridiculous speed. hope that clarifies a little for you :) > [bash]:~$ man woman > No manual entry for woman but that would take away all the fun! -alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Nico G. <sc...@ac...> - 2001-05-19 20:19:34
|
hi, i've been following the mailinglist threads for a few months now, and i must say it has gone up exponentially :) there's quite some action on the road ahead, with the rc2 api taking form... hopefully the code will start coming soon...=20 in the meantime, i was wondering how you guys would compare binarycloud to other webapp frameworks such as horde, zope; cms systems a la phpgroupware and groupit or even weblogs like phpnuke... i will start coding a web community site soon (for a youth movement), with a lot of dynamic content such as photographs, bio's, shortstories, communication between members..=20 another thing i will want to do is delegate the content, so i will need some sort of cms system behind it, atleast for some area's of the site, depending on the member and her/his role in the movement. i think binarycloud (especially r2) looks very promising indeed, but don't you think the modules all by hand using the bc framework (or horde for that matter) will take alot more time and effort than starting out from a readymade cms system such as groupit? thanks for your thoughts... --nicolas -- nico galoppo - tremelo/leuven, belgium - erasmus/socrates student in grenoble, france - 4, rue b=E9ranger -- phone: +33-(0)76-85 23 19 --------------------------------------------------------------- [bash]:~$ man woman nico at crossbar dot net No manual entry for woman debian linux :: vim powered |
From: Andreas A. <a.a...@th...> - 2001-05-19 19:20:05
|
Hi, > Does anyone have any basic exaples or references that utilize these presentation > tools effectively? http://www.w3schools.com/xsl might be a good start. Andi |
From: Alex B. <en...@tu...> - 2001-05-19 17:37:05
|
btw, all.. r2/init is functional... I've got constants, ini settings, etc etc. I'm probably going to make the first pass of dispatch and auth today, which will just be "class" ports of the existing code. then the real work will begin on the second revision of auth and perm. (roles!) _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-19 17:27:10
|
> Just got your latest example working and it rocks! Once I had corrected > the paths in form.php to suit my strange install, and changed the content > type to utf-8 (It told me straight out his time that it didn't recognize > yours :-) it worked well, apart from dotting =C2 through the output ;-) funky! but glad you can see it :) so you see, how if we start generating xml, you can write 1 xsl that will handle an infinite number of forms. and you can see why this is very good if you are lazy :) _alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Peter B. <re...@f2...> - 2001-05-19 13:35:05
|
Just got your latest example working and it rocks! Once I had corrected=20 the paths in form.php to suit my strange install, and changed the content=20 type to utf-8 (It told me straight out his time that it didn't recognize=20 yours :-) it worked well, apart from dotting =C2 through the output ;-) Peter. --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Peter's web page - Scottish narrow gauge in 009 http://members.aol.com/reywob/ --oOo-- |
From: Alex B. <en...@tu...> - 2001-05-18 23:25:51
|
> > Maybe I am an idiot, but I can't seem to view the form that was included in a > zip files several messages ago. I am on an W2K box and never got bc1 running > on it, but got it on Linux great. So I am waiting for my chance to install bc2 > on my Linux box, but in the mean time trying to figure out the xslt example. > > Is there any way to view this form right away? When I open it in IE it is just > the element hierarchy, or is that really all there is, then it gets translated > in HTML somewhere later down the line? > You need to have sablot installed on the machine you want to run the example on - sablot's the xslt processor. The xml->html via xsl transformation is done by php, not at the client side. _alex |
From: <al...@th...> - 2001-05-18 23:15:09
|
Maybe I am an idiot, but I can't seem to view the form that was included in a zip files several messages ago. I am on an W2K box and never got bc1 running on it, but got it on Linux great. So I am waiting for my chance to install bc2 on my Linux box, but in the mean time trying to figure out the xslt example. Is there any way to view this form right away? When I open it in IE it is just the element hierarchy, or is that really all there is, then it gets translated in HTML somewhere later down the line? |
From: Alex B. <en...@tu...> - 2001-05-18 21:11:51
|
> What does utf-8 mean? I copied it from another XSLT script that worked for > me, but don't understand a thing about it! It's character encoding. UTF means "universal text format" 8 is 8bit. there's also utf-16 but no one supports it :) > And upgrading is even more of a problem... I've stuck so many dlls in so > many different places that I haven't the faintest idea which are doing the > work and which I should leave alone :-) 'spect it's easy on Linux is it? not quite, but you can at least have hope of managing it :) > Same here. I'd love to rewrite my site using XSLT and phpcache or > PearCache, but my free web hosting provider doesn't support Sablotron :-(( erghlets. I think a php xslt processor is coming, but I can't imagine that would be fast. >> I fixed a little rule in there this morning that (for a select) checks to >> see if the next element is a select, and if so, prints a space - or if the >> next element is something else, prints a br, or if nothing, ptints nothing. >> >> it's extremely groovy, and efficient. > > And just what I need for one of my scripts, if only it didn't rely on > Sablotron being installed ;-) As they see demand, a number of those hosts will add that stuff, we'll see. -alex -- alex black, ceo en...@tu... the turing studio, inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 |
From: Peter B. <re...@f2...> - 2001-05-18 20:42:54
|
At 12:32 PM 5/18/01 -0700, you wrote: > > Finally hacked a working version, after adding better error handling to > > Alex's script :-) > >heh, post it! Add to form.php function xsl_error($parser, $code, $level, $errors) { echo "$parser [$code]: $level, <p>"; var_dump($errors); } and then remove: xslt_set_error_handler("xslt_error"); $processor = xslt_create(); and instead add $processor = xslt_create(); xslt_set_error_handler($processor, "xsl_error"); You'll want to comment out the xslt_set_error_handler after a while - it is really annoying output once everything is working :-) > > One of the problems was the encoding declaration - I used > > encoding="utf-8". I also removed the > > xmlns:fo="http://www.w3.org/1999/XSL/Format" reference and it seemed to > > work fine. > >The fo: is there for different reasons, and you're right, it won't effect >the current xsl. UTF, though I'm surprised by. What does utf-8 mean? I copied it from another XSLT script that worked for me, but don't understand a thing about it! >I'm willing to chock that up to a funky win php install. I haven't found any >installable version of php for win that didn't require a good deal of hand >tweaking and head scratching to get working. And upgrading is even more of a problem... I've stuck so many dlls in so many different places that I haven't the faintest idea which are doing the work and which I should leave alone :-) 'spect it's easy on Linux is it? >check out the "complex" example I posted earlier, as it appears to be >(gasp!) actually useful! > >the final xml output from the builder classes will be somewhat different >than that little hacked format (or at least at first) but I'm seriously >loving xslt. Same here. I'd love to rewrite my site using XSLT and phpcache or PearCache, but my free web hosting provider doesn't support Sablotron :-(( >I fixed a little rule in there this morning that (for a select) checks to >see if the next element is a select, and if so, prints a space - or if the >next element is something else, prints a br, or if nothing, ptints nothing. > >it's extremely groovy, and efficient. And just what I need for one of my scripts, if only it didn't rely on Sablotron being installed ;-) Peter. --oOo-- Narrow Gauge on the web - photos, directory and forums! http://www.narrow-gauge.co.uk --oOo-- Peter's web page - Scottish narrow gauge in 009 http://members.aol.com/reywob/ --oOo-- |