Thanks for the quick reply Joel.
I think I will move to PHP 5 objects in the coming projects and see how
things go.
Even thought I have lots of objects relating to each other I opted to go
along without using pog relations since they are not helping a lot.
I have e.g. content types that need to relate with most of my objects, i.e.
image, document, meta_tags, video, contact, category. i.e an article object
will have its usual fields, but if its going to have
images,documents,metatags,category related to it the these objects are
generated with field type=article and id=article id so i can fetch the
images for this article using a normal get list filtering type=article and
id=articleid.
Regards,
Paris Paraskeva
Managing Director
M.E. & E. United Worx Ltd
33, Apostolou Pavlou Avenue, Office 103, 8046 Paphos, Cyprus
Tel.: +357 26220707, +357 26221313, Mob.: +357 99575501
Fax.: +357 26221002
pa...@unitedworx.com
www.unitedworx.com
The information contained in this email message(and any attachments) is
legally privileged and confidential information intended only for the use of
the addressee(s) listed on this email. If the reader of this message is not
the intended recipient you are hereby notified that any dissemination,
distribution or copy of this email is strictly prohibited. If you have
received this email in error, please notify us by telephone or email on the
contact details shown on the end of this email. Thank you.
-----Original Message-----
From: Php-Object-Generator@googlegroups.com
[mailto:Php-Object-Generator@googlegroups.com] On Behalf Of Joel
Sent: Wednesday, June 13, 2007 9:47 AM
To: Php Object Generator
Subject: [Php-Object-Generator:1139] Re: php 5, php 4 enerated objects
diferences
A differences that relate to pog code are:
- usage of private/public for methods and variables, making the
functions and variables more secure
- support for interfaces
- if you're using lots of relations (parents/children/siblings etc) i
would strongly suggest your use php5 generated code for the reasons
reported here:
http://groups.google.com/group/Php-Object-Generator/browse_thread/thr...
2df410837293c
- if you plan to use plugins (in 3.0), i again suggest you use php5
generated code.
else, almost everything in terms of performance, security, reliability
is the same.
regards
On Jun 13, 12:29 am, "Paris Paraskeva" <p...@unitedworx.com> wrote:
> Hi all,
> I was just wondering what are the differenced in code generated for PHP 4
> and code generated for PHP 5. I had PHP 5 locally and PHP 4 online so i
was
> generating PHP 4 objects, however now I am using PHP 5 both locally and
> on-line. I am keep generating objects for PHP 4 like I always did since it
> works fine. Should I regenerate my objects to PHP 5 is there an advantage
to
> do so? What's different in generated objects code?
> Sorry if this question sounds stupid but I want to make sure what
different
> with PHP 4 and PHP 5 POG generated code.
> Regards,
> Paris Paraskeva
__________ NOD32 2325 (20070612) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com