Re: future of LiveUser
| From: | Helgi Þormar Þorbjörnsson | Date: | Tue, 10 Apr 2007 18:15:31 +0000 |
| Subject: | Re: future of LiveUser | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46185@lists.php.net to get a copy of this message | ||
On Tue, 10 Apr 2007 19:11:04 +0200, Matthias Nothhaft wrote:
> Hi,
>
> I would like to start a small thread to think about some steps to go on
> with LiveUser developement.
>
> Are there any active LU developers listening to this list? ;-)
Yes
>
> My basic idea is to move to PHP 5 and the second is to support some of
> the "modern" ORMs like Doctrine and Propel.
Why PHP 5, I see no major benefits changing over at the moment.
> I also think we have to change the way the filter works. Imagine if you
> use Propel or Doctrine these nice packages have their own built in
> filter magic.
Nothing stopping you from doing that without any overhaul of LU, iirc we
have a SQL.php file that handles most of the query parts (queries the
DBAL LU has that redirects it to the proper dbal, factory method)
You could make your own SQL.php file (named something else, one specially
for Propel for example), only thing you'd have to make sure is that it
outputs the same as the SQL one
> We should do a further split with the admin package and move the storage
> containers into separate packages with some separate features.
The idea of the containers is not to provide special features, they are
suppose to be a kinda DBAL on top of other DBALs iirc
> Any ideas how / why / what could be improved?
>
>
> I guess the biggest question is whether one should do a major change in
> the existing packages or to start with a LiveUser2 branch? IMHO we
> should start with LiveUser2 and do a bit of nice PHP 5 refactoring!?
First, major refactoring = do it in LU2, even tho LU isn't stable then
too many people would be using it in production.
Again what PHP 5 features, I've discussed this with Lukas before and iirc
nothing important came up in terms of required PHP 5 features, if doing
ppp and exceptions is the idea then I vote for no, if you have any other
ideas in mind do share.
This post isn't suppose to be negative but well no need to update a
package that already is "solid" on PHP 4 and doing a "refactoring" would
only bring sugar instead of real usage of PHP 5 :)
--
There are no stupid questions, only stupid people