ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] Re: [PEAR-DEV] Re: [FRC]Session module related issues
by Yasuo Ohgaki other posts by this author
Dec 20 2001 4:57PM messages near this date
[PHP-DOC] cvs: phpdoc /pl/functions .ubiknewsrc.time | [PHP-DOC] cvs: phpdoc /ru/appendices escaping.xml http-stuff.xml
Martin Jansen wrote:

>  On Thu, 20 Dec 2001 19:58:10 +0900, Yasuo Ohgaki wrote:
>  
>  
> >You missed issues here....
> >
>  
> >1) It highly depends on Session module.
> >
>  
>  I don't see a problem here. The developer has to take care
>  that session is available when he wants to use your module.
>  That's what dependencies are for :-).


Placing modules which have its parent is a cause of "Undefined
symbol error" as I mentioned in other mail.

If someone volanteer for answering all the bug reports like
"Hey, PHP don't run my scripts with 'Undefined symbol', why?"
I don't have problem :)

BTW, technically, it is possible not to raise undefined symbol
error even if child modules are in PECL. It's not clean way.
IMHO.

 
>  
> >2) It does not work as standalone module at all.
> >
>  
>  Note this down in the documentation and you are done.


If module is gracefully raise error, it is acceptable.

 
>  
> >3) It will fail to load with undefined symbol when PHP is
> >   compiled with --disable-session.
> >
>  
>  See my answer for 2)


Same :)

 
>  
> >3) It does not provide any function to users.
> >
>  
>  I can't see a reason here that is speaking against integrating
>  your module in PECL.


It's ok to me also for this reason ;)

 
>  
> >4) Where document should be?
> >
>  
>  See my reply to your first mail.


Will do.

 
>  
> >5) How to handle include files required for session save
> >   handler module?
> >
>  
>  I can't really answer that question since I'm not familiar
>  enough with PHP's internals.
>  

Ok. The issue is decent code management. Well designed software
should not raise "undefined symbol" error with usual installation.
IMHO. I also think source code shouldn't be a messy :)

-- 
Yasuo Ohgaki


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved