Hi Sebastian,

we generate most of the code dynamically on the server-side. Therefore, 
neither migration scripts nor the optimizing generator serves(:

As a quick solution I re-introduced the qx.constant classes which works. 
Would You recommend to 'inline' them? Is there a memory or performance 
difference between using constants and literal strings?

I am wondering if it isn't quite unsafe to use string literals, since 
when using constants a parser or validator could at least find 
misspelled constant names.

Thanks,
Rüdiger

Sebastian Werner wrote:
> The constant stuff is not needed anymore. The string optimizer built 
> into the generation process automatically optimizes strings - which was 
> the original intention of these constants. Normally the migration 
> scripts should automatically remove these constants and replace them 
> with their value.
> 
> Sebastian
> 
> 
> Rüdiger Herrmann schrieb:
>> Hi all,
>>
>> in the process of migrating from 0.6 to 0.6.5 I am wondering
>> where the qx.constant class has gone.
>> for example I search the whole source tree for ORIENTATION_VERTICAL
>> and ORIENTATION_HORIZONTAL but they didn't show up.
>>
>> Thanks in advance
>> Rüdiger
>>
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to