By adding that one library, Dreamweaver can
now work with the support files necessary to power a wide range of associated programs. DWfile is
described in detail in the following section.
C-level extensions are also used in combination with Dreamweaver??™s translator feature. As discussed earlier
in this chapter, translators handle the chore of temporarily converting nonstandard code to HTML that
Dreamweaver can present onscreen??”while maintaining the original code in the file. Much of this functionality
isn??™t impossible for JavaScript; the conversion would be too slow to be effective. C-level extensions are
definitely the way to go when looking for a powerful solution.
A discussion of programming in C or C++, as required by C-level extensions, is beyond the
scope of this book. Developers are encouraged to scour the Dreamweaver Support Center for
relevant information: www.Adobe.com/support/dreamweaver/.
Calling C-level extensions
C-level extensions, properly stored in the Dreamweaver 9\Configuration\JSExtensions folder, are read into
Dreamweaver during initialization when the program first starts. The routines contained within the custom
NOTE NOTE
NOTE NOTE
1046
Extending Dreamweaver Part VII
libraries are accessed through JavaScript functions in commands, behaviors, objects, translators, and other
Dreamweaver extensions.
Pages:
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776