From: Alex <ale...@ya...> - 2003-10-02 18:46:56
|
Hi Sergio, > Yes, "your" Phrame work well with Log4php 0.7 after > replacing > LoggerFactory::getLogger with LogFactory::getLog They changed the method names since version 0.2! This explains the requested change. Go for it! > There is only one little modification of the define > (in webapp), but nothing > in phrame-lib Okay, looking forward to your modifications. > I agree with you that there is no need to change > everything, but several > packages use pear Naming Conventions (ie. > Phrame_ClassThis), so seem better > to rename all functions before the next release. Indeed. > Why you say that the namespace problem will be > solved by php5 ? I have not > read anything about it ... Well, if I am not mistaken, they implemented namespaces in php5. (like c++) I could be wrong. > I am working on two others things: > - application configuration (with a web.xml file), > used instead of > modification of the WEB-INF/options.php file. Cool, up until now, I've placed everything I needed in the phrame-config.xml. For example, the welcome-file, users and roles. And seeing as we integrate Struts and Java servlet functionality into one php app, we should consider building one config file for it as well. The split between Java Webapp config and Struts ServletController config is not in fact present with Phrame. Also, keep in mind the extra overhead. There is less need for XML config files with PHP then there is with Java. So you might want to consider building alternatives for the XML webapp config as well. > - authentication & authorization (like jaas), to be > integrated in > HttpServletRequest: I am registering a new sf > project for this. I implemented some of the user and role code already. I had the authentication and authorization working based on basic userauthentication. The users and roles were listed in the phrame-config.xml. I added quite some code for it in my big modification package but I didn't yet port it all over to the v2.1 controller I wrote. But there is a working example for it in the big package! Roles, users, authentication and authorization. Take a look at it. Sounds like you have some fun features lined up! Kind regards, Alex __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |