Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

metal-dev · MetaL Development

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 526 - 555 of 555   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
526 Miguel Oliveira
miguel@... Send Email
Mar 13, 2008
12:28 pm
Hello, My application, metastorage-based, is growing every day, and the main persistent component is getting bigger. In order do organize code and data flow,...
527 Manuel Lemos
mallemos Send Email
Mar 15, 2008
9:40 am
Hello, ... No, Metastorage generates different schema definitions for each component, but you can configure the schema installation classes to install all...
528 Sergey Klenin
scleann@... Send Email
Apr 21, 2008
6:08 pm
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...
529 Manuel Lemos
mallemos Send Email
Apr 21, 2008
10:41 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...
530 Kelly Jones
kelly.terry.jones@... Send Email
May 24, 2008
9:34 pm
Are there tools to convert PHP/Perl/Python/etc to Metal? When I see: function addargs ($x,$y) {$z=$x+y; return $z;} I think (using brackets because some mail...
531 Manuel Lemos
mallemos Send Email
May 28, 2008
7:13 am
Hello, ... AFAIK there are no tools for converting between languages. It is a possibility, but the MetaL project did not went into that direction. Nowadays,...
532 nixanz Send Email Sep 19, 2008
4:18 am
I'm new to Metastorage, so forgive me if I've overlooked something obvious. Anyhow, I can't get my persist function to work reliably. I've using the same...
533 Manuel Lemos
mallemos Send Email
Sep 19, 2008
4:24 am
Hello, ... If the variable can be set to NULL, it means it is optional. Are you defining it as <optional>1</optional&gt; ? The generated class should fail the...
534 Nik Sands
nixanz Send Email
Sep 19, 2008
4:33 am
it is optional: ... <variable> <name>grams</name> <type>integer</type> <optional>1</optional&gt; </variable> ... It is being assigned immediately before the...
535 Manuel Lemos
mallemos Send Email
Sep 19, 2008
4:35 am
Hello, ... That is the problem. If it is empty, don't assign it or set it to null . -- Regards, Manuel Lemos Find and post PHP jobs ...
536 Nik Sands
nixanz Send Email
Sep 19, 2008
4:48 am
I thought metastorage was supposed to set it to NULL when generating the SQL automatically? The debug output shows it as being a '?' in the prepared query, but...
537 Nik Sands
nixanz Send Email
Sep 19, 2008
5:01 am
Sorry, my last email was probably not very clear. Let me try again... :-) The code immediately below fails to save (and gives the debug output shown below),...
538 Manuel Lemos
mallemos Send Email
Sep 19, 2008
6:23 am
Hello, ... I think there is some confusion. An empty string is one thing. An undefined value is another thing. ... The above should be: if(strlen($grams)) ... ...
539 Nik Sands
nixanz Send Email
Sep 19, 2008
7:25 am
Hi Manuel, Thanks for your help... Is metastorage NOT supposed to replace this with a NULL in the SQL in this case? Is metastorage SUPPOSED to produce invalid...
540 Manuel Lemos
mallemos Send Email
Sep 19, 2008
7:47 am
Hello, ... I am not sure what you mean. The code generate by Metastorage sets the field to NULL if you set the respective optional variable to null or just not...
541 Nik Sands
nixanz Send Email
Sep 19, 2008
9:39 am
but in the situation I showed in my last example, it produces invalid SQL. Shouldn't this be avoided, no matter what the value of the variable? Metastorage...
542 Manuel Lemos
mallemos Send Email
Sep 19, 2008
8:44 pm
Hello, ... ? in the prepared query is just a place holder that will be placed by the real value when the query is executed. If the variable is set to a value,...
543 Nik Sands
nixanz Send Email
Sep 19, 2008
10:25 pm
Hi Manuel, Thanks for looking at this for me. The class definition is attached to this email. The '?' is not getting replaced by a value, or by NULL, which is...
544 Manuel Lemos
mallemos Send Email
Sep 19, 2008
10:42 pm
Hello, ... It seems not file was attached to the message. Can you paste the class definition so I can try to reproduce your problem? -- Regards, Manuel Lemos ...
545 Nik Sands
nixanz Send Email
Sep 19, 2008
10:52 pm
oops, sorry, I'll try again (and copy/paste as well)... <class> <name>inventory_item</name> <variable> <name>notes</name> <type>text</type> ...
546 Manuel Lemos
mallemos Send Email
Sep 20, 2008
1:45 am
Hello, ... I generated the code of the class and it is correct. If you set the grams variable to null or unset it, it will be set a NULL on the database...
547 Nik Sands
nixanz Send Email
Sep 20, 2008
4:11 am
But you said that a '?' in a PrepareQuery should be converted to either an SQL NULL, or to a valid value in the actual Query. This is not happening in this...
548 Manuel Lemos
mallemos Send Email
Sep 20, 2008
4:51 am
Hello, ... If you look at the generated code you can see this for setting the prepared query parameter of the grams field. if(IsSet($this->grams)) { ...
549 Nik Sands
nixanz Send Email
Sep 20, 2008
5:13 am
Good idea. :-) Below is the last few lines of the var_dump($inventory_item) output. To my inexperienced eye, it appears that it has the value of an empty ...
550 Manuel Lemos
mallemos Send Email
Sep 20, 2008
5:16 am
Hello ... As you may see the grams variable is set to an empty string "" and not null as it should be. Now you need to check your code to figure why it is not...
551 Nik Sands
nixanz Send Email
Sep 20, 2008
5:20 am
I already know why it is being set to an empty string: That is simply what has been stored by the formsgeneration class that I'm using. I would have expected...
552 m4r6u5 Send Email Nov 16, 2008
10:24 pm
Hi! I'm using the latest snapshot of Metastorage. The generated code doesn't contain function named MetabaseCreateLOB(). So the bug is probably in generation...
553 Manuel Lemos
mallemos Send Email
Nov 16, 2008
11:48 pm
Hello, ... You need to include metabase_lob.php to access objects with large data fields. -- Regards, Manuel Lemos Find and post PHP jobs ...
554 bob_bon2 Send Email Mar 19, 2010
7:18 am
hi to all plsss help me about my research i want to know about metal programming language i need sample programm tnx.......
555 Manuel Lemos
mallemos Send Email
Mar 29, 2010
8:32 pm
Hello, ... Sorry for the delay. The example is on the site. Take a look here: http://www.meta-language.net/sample.html -- Regards, Manuel Lemos Find and post...
Messages 526 - 555 of 555   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

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