Search the web
Sign In
New User? Sign Up
metal-dev · MetaL Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
obj. relations question   Message List  
Reply | Forward Message #529 of 553 |
Re: [metal-dev] obj. relations question

Hello,

on 04/21/2008 08:12 AM Sergey Klenin said the following:
> I feel like I'm inventing a wheel because it seems I'm trying to do the thing
that is always done.
> I see that it will be meta meta system, but how to handle my needs in more
effective way?
> Maybe the way I'm trying to solve this problem now is fundamentaly mistaken
and I have to use native metastorage capabilities to achieve end user
fuctionality?
> In short, I'm stuck.

This is a bit confusing, not because of your definitions, but rather
because you do not tell me what exactly what you want to do and you are
not able to do it.

Anyway, if you want a meta type system, first you need to have classes
that describe your types. Then you to have classes that store the type
values.

You separated each thing in two components but that is inconvenient
because the factory of one component will not be able to fetch objects
of the other component. You can pass OID back and forth but that may be
a drag.

Anyway, I think first you should design a class model with some UML tool
like Umbrello or others, than you move on to the model implementation
using Metastorage.

Once you have your model diagram ready it is easier to see what do you
want to do and what your model is not allowing, so I can advise. So,
just design your model and show your diagram when you get stuck.


--

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/



Mon Apr 21, 2008 10:41 pm

mallemos
Offline Offline
Send Email Send Email

Forward
Message #529 of 553 |
Expand Messages Author Sort by Date

Hello, Manuael and everybody, I have the question regarding how to set up classes relationship. I'm designing the system that must provide to end user the...
Sergey Klenin
scleann@...
Send Email
Apr 21, 2008
6:08 pm

Hello, ... This is a bit confusing, not because of your definitions, but rather because you do not tell me what exactly what you want to do and you are not...
Manuel Lemos
mallemos
Offline Send Email
Apr 21, 2008
10:41 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help