• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 19. JavaScript and Other Languages > JavaScript and ColdFusion

JavaScript and ColdFusion

In Chapters 14–19, different types of server-side or database applications were viewed working with JavaScript. JavaScript’s main role was that of a preprocessor in a client-side environment. Another popular server-side program is one from Macromedia called ColdFusion. Like PHP, CGI, and ASP, ColdFusion works only with a special server that processes its code. However, unlike the other server-side languages discussed so far, ColdFusion has some JavaScript keywords that it adds to the JavaScript lexicon when used in a CF context. The keywords, however, are designed to work exclusively with CF and do not have a wider application.

If you decide to take up ColdFusion, you will be happy to learn that much of the server-side scripting is done in JavaScript. Unlike some of the other middleware examined in this book, JavaScript plays a server-side role in ColdFusion as well as a client-side role. The SQL commands will look virtually identical to MySQL and the SQL statements used in ASP pages.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint