From: Chris B. <bi...@ze...> - 2005-06-24 09:21:56
|
Hi Josef, the problem with moving the main code base to PHP 5 is that we would = loose backward compatibility with PHP 4. So before doing this step we really = have to consider the pros/cons. RAP could gain from PHP 5: - better integration of the iterators with the core PHP language = constructs, by replacing all "costom" interators with iterators with implement the = PHP 5 iterator interface. - better error handling using the PHP 5 exceptions instead of our = current home grown error handling. =20 - speed improvements on database backed models by moving from ADO DB to = PDO (PHP Data Objects). - maybe speed improvements by using PHP 5 new object features (???) I think that RAP would only gain from the changes if they were applied consistently over the whole code base, which would mean quite some work = and would require lots of testing/additional test cases afterwards.=20 I think it would be great to have a PHP 5 version of RAP, but the one = who touches this topic has to be aware of the amount of work a clean port = would require. Chris --=20 Chris Bizer Freie Universit=E4t Berlin Phone: +49 30 838 54057 Mail: ch...@bi... Web: www.bizer.de > -----Urspr=FCngliche Nachricht----- > Von: Josef Petr=E1k [mailto:jsp...@gm...] > Gesendet: Freitag, 24. Juni 2005 10:51 > An: Chris Bizer > Betreff: Re: [Rdfapi-php-interest] re:[rdfapi-php - Help] RE: RAP with > PHP5 >=20 > Well, >=20 > primarily I was thinking about some clean-ups or rewriting existing > code into PHP5. E.g. I was working with current common vocabularies > and rewrited them into pure PHP5 (using constant for NS, static > functions ...). I also saw somewhere into list request to rewrite the > model into PHP5. >=20 > It doesn't matter ... >=20 > Iterators, Exception what exacly you need and how they should look > like or what everything is necessary to do. Tell me more. >=20 > Best regards >=20 > Josef >=20 > On 6/24/05, Chris Bizer <bi...@ze...> wrote: > > > > > My question is: "Do you need some help in rewriting RAP into = PHP5?" > > > > Any help is always appreciated. What where you concretely thinking = to > do? > > Iterators and Exeptions would be great topics .... > > > > Cheers, > > > > Chris > > > > -- > > Chris Bizer > > Freie Universit=E4t Berlin > > Phone: +49 30 838 54057 > > Mail: ch...@bi... > > Web: www.bizer.de > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration = Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&opclick > > _______________________________________________ > > Rdfapi-php-interest mailing list > > Rdf...@li... > > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > > >=20 >=20 > -- > *** jspetrak (HW) *** >=20 > Weblog: http://zapisky.info/ > Homepage: http://zapisky.info/home/ >=20 > ICQ: 179271149 > Jabber: Imp...@nj... |