SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1904 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

If a problem is found, such as two files having the same function name, you are alerted
to the conflict, and the list displays only the older file. You have to correct the problem with the other action
and restart Dreamweaver before the file appears in the list again.
If your action is intended for distribution and not just your own personal use, you should expand your testing
considerably, especially on the user-interface side. As the action programmer, you know what values are
expected, and you also know??”often subconsciously??”how to avoid the pitfalls into which a new user
may easily stumble. Be especially mindful of accepting input through a text box. Unless you??™re just passing a
message to be displayed onscreen or in the browser status bar, you often have to validate the incoming text
string: Is it a number, a word without any special characters, a single name? And so on. Telling the user to
enter a number in a particular range doesn??™t guarantee correct results.
If you intend to distribute the extension publicly, do not assume that it will work in all
Dreamweaver versions (MX, MX 2004, 8 and so on) and platforms (Windows, Mac). Always
test on different platforms/versions before distributing!
Debugging the behavior
Finding a bug is every programmer??™s least favorite moment??”but getting rid of that bug can be the best.


Pages:
1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916