Well, few people knows about the logic operator “||=”. I’ll try to explain a little more about it.
In the adobe documentation, this operator is described like: “Assigns expression1 the value of expression1 || expression2″. Just to remember, the sintaxe to logic operator is “expression1 operator expression2“.
Compile error? Runtime Error? Nothing. The trace result is "Name: Bruno Sales". The variable was created even if the code inside the IF was never executed.
Thats happens because ActionScript has just 2 types of scope: Global and Local; remembering that Local is everything inside a function.
However, I suggest never using something like this in your development process. Your code logic will be very confusing and will cause problem to maintenance and debug.
Everyone that uses Firefox to make test while developing Adobe Flex applications, for sure already had problems with cache. This become more frustrating when the application is so big that, to make the test, you need to go through some steps before and finally when it get at the test point, you find out that loaded a cached version of your app.
Obviously that have some ways to solve this problem but, I'll show the solution I use.
Open the firefox and in the address bar type: about:config. An alert message will shows up, but we need to keep going on to make the configuration.
Look in the search bar for these items: browser.cache.memory.enable, browser.cache.disk.enable. If you haven't change it before, they will be with the value true, what you must do is, set this values to false.
Then, to confirm that the changes were made, just type in the address bar: about:cache, the result must be a info message saying that the cache was disabled.
Done. Now the firefox's cache was disabled, in a fast and simple way.
EULA - End User License Agreement, that is the 60-page text that you probably never read, which appears on unavoidable dialog when you installing applications, which contains "I Agree" button. You know it, you clicked it so many times.
Question is, did you actually read it?
Of course, that you know that you agreed to:
1. "Do not criticize this product publicly."
2. "Using this product means you will be monitored."
3. "Do not reverse-engineer this product."
4. "Do not use this product with other vendor's products."
5. "By signing this contract, you also agree to every change in future versions of it. Oh yes, and EULAs are subject to change without notice."
6. "We are not responsible if this product messes up your computer."
...among other things.
You may wish to see some explications on the mentioned things. If so, visit:
Some time ago, I wrote a small introduction about 3D effects from Flash Player 10. Moving on with my studies and understanding better how FP10 works, I did this component that, even being commun to 3D framework users, works good as native and consequently low weight.
The component can receive any DisplayObject, letting the interactivity works fine.
The follow demo shows the component and some of its properties:
You can see here the source code.
(Don't forget it is a FP10 project. To make it works go to Project Properties > Flex compiler > Require Flash Player and fill with 10.0.0).
The Spring Framework makes JDBC development easier by using IoC to eliminate low-level code. If you don't use an ORM framework, this API is highly recommended. Now let's see a comparison sample between pure JDBC and JDBC with Spring JdbcTemplate class:
On the second PDC 2008 day, Microsoft has announced that the new Microsoft Office 14 will come with a built-in Silverlight Web version. It’s probably a “compact" Office version, but nobody knows it for sure yet.
Microsoft announced the web version of Word, Excel, PowerPoint and OneNote, and we can also expect that all those applications will run on any operational system with Silverlight support. What do you think about it? Check out some screenshots here.
I don’t think it’s a big deal that other web application developers have to worry about, because people hardly change from Microsoft Office to a very limited office web application, like Google Docs.