Paul Alfille escreveu:
> Hello Roberto,
>
> Very nice work.
>
> I found the documentation at the end of the file (as you had said) and 
> have a few comments:
> A. I dont believe there is a default port for owserver.
>   
OK :) i used my default port :)
> B. The difference between the "scheme" stream and ow-stream must make sense 
> in PHP context (it doesn't to me). Would this be obvious to a PHP programmer, 
> or should you make an arbitrary decision for them and offer this only as an 
> "advanced" configuration option?
>   
that's an advanced configuration, user can use "tcp://172.16.0.1" too 
any scheme is allowed "hello_world_schema://172.16.0.1"
ow-stream is just to allow users that don't like socket library, but 
socket library (the prefered library) is faster than stream library

> C. Your "get" method is "overloaded" -- directory lists and file contents. We 
> do this in owphp because we link in the OWFS library and have the path 
> parsing engine available. I see that you have a primative test (trailing 
> slash) for distinguishing directories, but probably realized that allowing 
> users to specify made more sense.
>   
just to avoid an connect and disconnect (~0.001 seconds or more)
> In the owshell programs, which also don't have the library linked in, I just 
> separate out read, dir and presence. That may be more intuitive to your users.
> The actual design and interface is entirely your choice, and perhaps an 
> overloaded "get" makes more sense in PHP.
>   
i will put read function (dir and presence are there) all will be an 
right call to get function, i will put an setUseDirLikeSwigPHP to return 
dir like swig (dir,dir,dir,dir) and not like owphp (array(dir,dir,dir))
>
> When it's ready, I'd like to include this in the mainline OWFS package.
>   
ok :) very fine
> Paul Alfille
>   

ROBERTO SPADIM

can the class be called :
IN MY LAST EMAIL! CHANGE FILENAME OWPHP.PHP.TXT TO OWNet.php  When 
putting in mainline OWFS Package!!! thankx




-------------------------------------------------------------------------
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

Reply via email to