Thursday, August 3 - 0.2.14 Released

thread: 11 messages  |  last: about 5 years ago  |  started: thursday, august 3, 2006, 10:51 pm pdt


#1  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Thursday, August 3, 2006, 10:51 PM PDT

This is a maintenance release with mostly minor bug fixes and changes, many of which stem from the issues reported with 0.2.13.

Two small pieces of functionality that were added:
** Many to Many associations will now code generate a new “IsAssociated()” method, which will check to see if an association between two objects exists
** QLinkButton adds a new HtmlEntities boolean property/flag, which basically specifies whether or not to perform html_entities on the text of the linkbutton's link

For those upgrading from 0.2.13, the upgrade should be straightforward -- simply replace the entire /includes/qcodo directory.

For those upgrading from prior to 0.2.13, you're advised to read through the 0.2.13 release notes/announcement at <http://www.qcodo.com/forums/topic.php/759>

The latest release can be downloaded at <http://www.qcodo.com/downloads/category.php/1>.  Please post with questions and issues... thanks!

#2  |  gibran (Paris) Lebanon
Friday, August 4, 2006, 6:04 AM PDT

Great work ... thanks Mike for theses bug fixes !

#3  |  alex94040 (Seattle, WA) United States of America Qcodo Core Contributor
Friday, August 4, 2006, 10:59 PM PDT

Mike, bad news - new codegen freezes my Apache (LAMPP install on Windows), keeping it at 100% CPU for minutes... Had to revert back to 0.2.13. I'd love to help you debug - where can I send you the DDL of my database? Do you need me to share any other sys settings?

Thanks,
Alex

#4  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Saturday, August 5, 2006, 9:51 AM PDT

Alex,

Thanks for the report -- yeah, could you e-mail me the data model?  You can e-mail me at mike at my company (quasidea).

#5  |  alex94040 (Seattle, WA) United States of America Qcodo Core Contributor
Sunday, August 6, 2006, 8:37 PM PDT

Just sent you the DDL - let me know if you don't get it. Thanks!

#6  |  rodholm (Evergreen, CO)
Tuesday, August 8, 2006, 5:20 PM PDT

Is there a way to disable the generation of the SOAP specific code?

My implementation does not use web services and I would prefer not have the extra code in all of the generated classes.

#7  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Wednesday, August 9, 2006, 1:42 PM PDT

Yeah... you can simply override the object.tpl template in /includes/qcodo/codegen/templates by copying the file to /includes/codegen/templates

And then in the file, itself, you can either comment out or delete altogether the various SOAP methods.

But keep in mind, becuase PHP only parses class methods and does not evaluate them until needed at run-time, there is almost a trivial performance impact by having those functions simply residing in the class file.

But of course, it's up to you. =)  To each his/her own.

#8  |  alex94040 (Seattle, WA) United States of America Qcodo Core Contributor
Thursday, August 10, 2006, 1:58 AM PDT

I'm happy to report that the hang in codegen does not repro on updated versions of XAMPP for Windows - XAMPP 1.5.3a works just fine. Thanks for looking into the issue, Mike!

#9  |  VexedPanda (Calgary, AB) Canada
Friday, August 11, 2006, 1:53 PM PDT

No matter what I do, I seem to be getting the following error when trying to do a codegen:

PHP Fatal error:  Class 'QControlBase' not found in /var/www/html/includes/qform/QControl.inc on line 11

This happens with both the web-based codegen.php and the codegen.cli methods.

Even index.php dies with this error.

Any suggestions?

#10  |  Mike Ho (Sunnyvale, CA) United States of America Qcodo Administrator
Friday, August 11, 2006, 2:33 PM PDT

Which version of Qcodo are you using, and are u upgrading from a previous version?



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.