It also introduces the BaseEntity and AuditableEntity base classes, from which concrete persistent classes can be extended, depending on whether or not auditing information is required for an object.
还引入了BaseEntity和AuditableEntity基类,可以根据是否需要对象的审计信息,分别从这些基类派生出具体的持久化类。
The CPAN Persistent classes are powerful allies in your search for data persistence solutions.
CPANPersistent类是您搜索数据持久性解决方案时的有力帮手。
In the Persistent classes, the datastore is an abstract storage device, which can be a file or a database, for example.
在persistent类中,数据存储器是抽象存储设备,例如,它可以是文件或数据库。
The Persistent classes will automatically create the necessary functions ($equation->answer(), for example) to access the data members.
Persistent类将自动创建必要的函数(例如,$equation->answer())来访问数据成员。
Any other program that knows the attributes of our objects can use the same datastore (more on this under "Inheriting from Persistent classes").
任何知道对象属性的其它程序都可以使用同样的数据存储器(这方面的详细信息在“从persistent类继承”中)。
Remember that good design and a clear definition of the attributes are just as important as the Persistent classes in achieving successful data persistence.
请记住,在实现成功的数据持久性时,好的设计和属性的清晰定义与Persistent类同等重要。
Remember that good design and a clear definition of the attributes are just as important as the Persistent classes in achieving successful data persistence.
请记住,在实现成功的数据持久性时,好的设计和属性的清晰定义与Persistent类同等重要。
应用推荐