From: Justin F. <je...@ey...> - 2001-06-29 21:14:12
|
From Andris Spruds/Alex dialog: [== snip, snip ==] > > Another thing - as I understand - it's impossible to write any functional > > modules for R2 simply because it does not feature any managers yet and in > > such case I would have to rewrite 50-60% of the db access code later anyway? > > Am I right? > > Sort of, but it wouldn't be "re-write" because you woudn't have to write > queries :) [== snip, snip==] Now I am writing modules already, (SILLY BOY) for BC/r2, facinated enough with the concept. This means that I am putting PHP into the module, willing to suffer the potential nuisance of "rewriting" when managers are introduced. And, as well, to suffer the nuisance of tweaking as r2 changes. Obviously, all my modules broke with the disposal of $SomeMod->Init(), as this functionality moved over into a constructor. But, I don't mind. I will tell you my experience in a day or two. The point is, I don't think it is as bad as it may appear to you. But, my friends, BC has been a good experience so far. I wrote a module over the last weekend that can browse any MySQL database.table, allowing ADD'ing, UPDATE'ing, DELET'ing, sorting datasets on any field via radio button, finding datasets in any field. Now this impressed me, cause we are always having to build these "Control Panels" for customers to administer their (dynamic) site/shopping cart/news site/auction site/whatever. NOW I ONLY HAVE TO ADD ONE FLIPPIN' LINE in the $bc_page array. This is the promise of BC, for us. If BC stopped developing right now, we would still use it (waal, probably, anyway) Alex has made some rather startling claims for these (I will still call them mythical) Managers. I am a bit sceptical. If they do what is claimed, heck, I will rewrite to adapt them. But don't think that you are wasting your time writing modules right now. You will learn a lot. </ADVOCACY> Error: No opening <ADVOCACY> tag. _jef -- Justin Farnsworth - Technical Director Eye Integrated Communications 321 South Evans - Suite 203 Greenville, NC 27858 | Tel: (252) 353-0722 |