I wrote an article, that introduces the relation featuresw of our ORM compoenent "PersistentObject" to you, using a practical example application. For me the coolest feature of PersistentObject is, that the component does not require you're ORM enabled classes to inherit from a certain base to allow your objects to be stored in a database (made persistent). PersistentObject simply allows you to configure any of your applications objects to be persistent and you keep a nice an clean OO structure. If you are interessted in learning more, just follow my trip into PersistentObject on ez.no.
If you liked this blog post or learned something, please consider using flattr to contribute back: .
Fields with bold names are mandatory.
Johannes
Hi,
Link to commentI'm just a bit curious. You write: "For me the coolest feature of PersistentObject is, that the component does not require you're ORM enabled classes to inherit from a certain base to allow your objects to be stored in a database" but i the article I read "The PersistentObject component does not require you to inherit from a specific base class, nor to stick to a given naming scheme. The only requirement is to implement two methods in the object class" except the fact tat I'd prefer having an interface for such two methods I can see a inconsistence between thees two statements...
Toby
Hi Johannes!
Link to comment"I can see a inconsistence between thees two statements". I don't see it. We do not require people to extend a certain baseclass (that's what I wrote), but we require them to implement 2 methods in their persistent object classes. That's a huge difference:
For example if you have a class "A3Sportsback", which extneds "A3", which extends "Audi", which extends "Car". Now you want to store objects of "A3Sportsback" into a database, we do not require you to a) change your inheritence and make "A3Sportsback" directly from our common base class or b) make you inherit your most bottom base class ("Car") from this one. Instead, you can simply implement the named 2 methods in "A3Sportsback" and are done and your inheritence scheme stays nice and clean.
We do not require an interface for setState() and getState(), because we will most propably create a technique in the future, where you can define the methods/properties/whatever that are accessed by PersistentObject on your own.
Hope that clearifies it?
Thanks for your comment!
Regards,
Toby
Ahmad Al Jayousi
Ahmad Al Jayousi
Link to commentPhiladelphia University Jordan
http://www.philadelphia.edu.jo
E-mail: aaljayousi@philadelphia.edu.jo
brand experience
Thanks so much for this! I have not been thrilled by a blog post for quite some time! You’ve got it, whatever that means in blogging. Anyway, You’re definitely someone that has something to say that people should hear. Keep up the wonderful job.
Link to comment<a href="http://www.msf-ltd.co.uk">brand experience</a>
brand experience
Thanks so much for this! I have not been thrilled by a blog post for quite some time! You’ve got it, whatever that means in blogging. Anyway, You’re definitely someone that has something to say that people should hear. Keep up the wonderful job.
Link to commentpower meters
you probably have invested a lot of time in the procedure and the downtime is really impressive. What interests me is one thing further - how did you make those nice picture for the tutorial. It's really impressive.
Link to commentpayday loans
Great write-up, I am a big believer in commenting on blogs to assist the weblog writers know that they’ve added one thing worthwhile to the world large net!Anyway, in my language, there aren’t a lot good source like this.
Link to commentpayday loans
This is my first opportunity to visit this website. I found some interesting things and I will apply to the development of my blog. Thanks for sharing useful information.
Link to commentArbiterBlog.com
Using the cache stack with an appropriate replacement strategy allows you to simply ignore which items are stored where and simply use the stack as your only cache storage
Link to commentHazardous Blog
Your article shows tells me you must have a lot of background in this topic. Can you direct me to other articles about this? I will recommend this article to my friends as well. Thanks
Link to commentDomain name lookup
This post is really something special and more information gathering by your site and also useful. I want to some more information thanks.
Link to comment