Re: [Owfs-developers] PHP Library
On 9/19/06, Roberto Spadim <[EMAIL PROTECTED]> wrote: > could we put in ./configure script to build owfs something like > --php-suffix=OW_ > > or something like it? > the default could be > ./configure --php-suffix= > if we want with OW_ we should use: > ./configure --php-suffix=OW_ > > :D i'm using init today, but is very ugly :( OW_init could be more > pretty and is _ Here's another option, add ow_* functions to call the current function set in ow.i. Notify users that the current functions are going away in 3 months (or some period.) Change the existing perl, php, python and tcl bindings to use the new ow_* functions. And possibly add print statements to stderr which show a depreciation warning message whenever someone calls into the old ow.i functions. Something like: [EMAIL PROTECTED]:~/src/owfs/module/swig> diff ow.i ow.i.experiment 30a31,34 > char *ow_version( ) { > return version(); > } > 40a45,49 > int ow_init(const char *dev) { > return init(dev); > } > > 55a65,69 > int ow_put(const char *path, const char *value) { > return put(path, value); > } > > 114a129,134 > char * ow_get(const char * path) { > return get(path); > } > > > 120a141,145 > void ow_finish(void) { > finish(); > } > > 130a156,161 > extern char *ow_version( ); > extern int ow_init( const char * dev ) ; > extern char *ow_get( const char * path ) ; > extern int ow_put( const char * path, const char * value ) ; > extern void ow_finish( void ) ; > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] PHP Library
could we put in ./configure script to build owfs something like --php-suffix=OW_ or something like it? the default could be ./configure --php-suffix= if we want with OW_ we should use: ./configure --php-suffix=OW_ :D i'm using init today, but is very ugly :( OW_init could be more pretty and is _ > Message: 4 > Date: Tue, 19 Sep 2006 11:41:47 -0400 > From: "Alfille, Paul H.,M.D." <[EMAIL PROTECTED]> > Subject: Re: [Owfs-developers] PHP Library > To: > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > There is the slight problem of breaking existing code. > > I don't know how extensively owphp is deployed. > > Paul Alfille > > > -Original Message- > From: [EMAIL PROTECTED] on behalf of Roberto Spadim > Sent: Mon 9/18/2006 1:16 PM > To: owfs-developers@lists.sourceforge.net > Subject: [Owfs-developers] PHP Library > > Hello guys > could we change function of php lib?? > > today php functions are something like _ like: > mysql_connect > mysql_result > mysql_num_rows > > the ow library is just: > > version > init > finish > get > put > > it could be > > OW_version > OW_init > OW_finish > OW_get > OW_put > > > i never used SWIG so i couldn't change php lib > thanks, put it on next version too :) > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] PHP Library
could we put in ./configure script to build owfs something like --php-suffix=OW_ or something like it? the default could be ./configure --php-suffix= if we want with OW_ we should use: ./configure --php-suffix=OW_ :D i'm using init today, but is very ugly :( OW_init could be more pretty and is _ > Message: 4 > Date: Tue, 19 Sep 2006 11:41:47 -0400 > From: "Alfille, Paul H.,M.D." <[EMAIL PROTECTED]> > Subject: Re: [Owfs-developers] PHP Library > To: > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > There is the slight problem of breaking existing code. > > I don't know how extensively owphp is deployed. > > Paul Alfille > > > -Original Message- > From: [EMAIL PROTECTED] on behalf of Roberto Spadim > Sent: Mon 9/18/2006 1:16 PM > To: owfs-developers@lists.sourceforge.net > Subject: [Owfs-developers] PHP Library > > Hello guys > could we change function of php lib?? > > today php functions are something like _ like: > mysql_connect > mysql_result > mysql_num_rows > > the ow library is just: > > version > init > finish > get > put > > it could be > > OW_version > OW_init > OW_finish > OW_get > OW_put > > > i never used SWIG so i couldn't change php lib > thanks, put it on next version too :) > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers
Re: [Owfs-developers] PHP Library
There is the slight problem of breaking existing code. I don't know how extensively owphp is deployed. Paul Alfille -Original Message- From: [EMAIL PROTECTED] on behalf of Roberto Spadim Sent: Mon 9/18/2006 1:16 PM To: owfs-developers@lists.sourceforge.net Subject: [Owfs-developers] PHP Library Hello guys could we change function of php lib?? today php functions are something like _ like: mysql_connect mysql_result mysql_num_rows the ow library is just: version init finish get put it could be OW_version OW_init OW_finish OW_get OW_put i never used SWIG so i couldn't change php lib thanks, put it on next version too :) - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers <>- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers