home *** CD-ROM | disk | FTP | other *** search
/ Shocking The Web CD-ROM / SHOCK_CD.ISO / pc / softdemo / macromed / backstg / readme.txt < prev    next >
Encoding:
Text File  |  1996-04-25  |  20.2 KB  |  484 lines

  1.                               Backstage 1.0
  2.                                 April 1996
  3.  
  4. This file contains late-breaking information about Backstage 1.0 for 
  5. Windows. Information in this file supplements and supersedes the 
  6. Using Backstage manual and online Help system.
  7.  
  8. For the most up-to-date information about Backstage please visit 
  9. our web site at http://www.macromedia.com/.
  10.  
  11. Included with the Trial version of Backstage is an online version
  12. of the Using Backstage Studio manual.  By default, the online manual
  13. is installed in C:\Program Files\Macromedia\BackstageTrial\Docs.
  14. The Docs folder contains an installable version of Adobe Acrobat 
  15. reader and the Backstage.pdf online manual.
  16.  
  17. Contents
  18. --------
  19. 1. Installation Instructions
  20. 2. A Note on Windows NT Installation
  21. 3. Web Server Configuration
  22. 4. Removing the Backstage Server Service From Within Windows NT
  23. 5. A Note About Netscape Plug-Ins
  24. 6. HTML Validation
  25. 7. HTML Comment Tag 
  26. 8. Making Use of Formatting and Expressions to Generate Variable Tags
  27. 9. Image Maps
  28. 10. Path Names
  29. 11. Supported Database Data Types
  30. 12. Database Updates and Inserts
  31. 13. Configuring Your Web Server for Shockwave
  32. 14. Configuring Backstage Designer as Default Editor for HTML files
  33. 15. Configuring xRes S.E. as Default Editor for GIF and JPEG files
  34. 16. ActiveX Support
  35. 17. Web Server Compatibility
  36. 18. Database Compatibility
  37. 19. A Note about HTML Attribute Usage
  38.  
  39.  
  40. 1. Installation Instructions
  41. ----------------------------
  42. To install Backstage, launch SETUP.EXE located on the Backstage 
  43. CD-ROM. The Install Wizard  will guide you through the installation 
  44. process.
  45.  
  46. Backstage requires that you have 32-bit ODBC installed on your 
  47. system. If ODBC is not present on your machine, the Backstage 
  48. installer will automatically install it for you, along with the ODBC 
  49. driver for Microsoft Access. This ODBC driver is necessary for use 
  50. in the Backstage tutorial and example files. 
  51.  
  52. As a convenience, we provide the Microsoft ODBC driver pack in a 
  53. separate installer. The installer includes version 2.5 of Microsoft 
  54. ODBC drivers for desktop databases including Microsoft Access and 
  55. FoxPro, and Borland Paradox and dBase. This installer requires that 
  56. you have a 32-bit ODBC-compatible Microsoft product installed on 
  57. your system such as Word for Windows 95, Excel for Windows 95, 
  58. Access for Windows 95, Office for Windows 95, Project for 
  59. Windows 95, Visual FoxPro 3.0, Visual Basic 4.0, or Visual C++ 
  60. versions 2.0, 2.1, 2.2, 4.0 or greater. To install the Microsoft ODBC 
  61. driver pack, go to the Util\ODBC directory on the Backstage CD, 
  62. and launch SETUP.EXE. 
  63.  
  64. If you currently own Access 2.0 you will need to update you ODBC 
  65. drivers to use 32-bit ODBC instead of 16-bit ODBC.
  66.  
  67.  
  68. 2. A Note on Windows NT Installation
  69. ------------------------------------
  70. Before installing Backstage on Windows NT, you must log on to 
  71. your Windows NT system as the administrator, or as a user with 
  72. the full rights of the administrator. In subsequent Windows NT 
  73. sessions you must continue to log on with administrator rights in 
  74. order to access your Backstage configuration.
  75.  
  76. After the administrator has installed Backstage, users who log on 
  77. as someone other than the administrator must enter the path to the 
  78. document root the first time they use Backstage.
  79.  
  80.  
  81. 3. Web Server Configuration
  82. ---------------------------
  83. To configure your web server to work with the Backstage server, 
  84. you must set up virtual paths to two Backstage directories.  See 
  85. your web server documentation and the Backstage Introduction chapter
  86. of the Using Backstage manual for information on how to do this.  
  87. Use the administration program for your web server to specify mapping 
  88. for virtual paths as follows:
  89.  
  90. Assuming you installed to the default location here are the 
  91. assignments:
  92.  
  93. Standard CGI Mapping:  /ibbin to C:\Program 
  94. Files\Macromedia\BackstageTrial\Bin
  95. Document Mapping:  /ibimages to C:\Program 
  96. Files\Macromedia\BackstageTrial\Images
  97.  
  98. If you installed to a different location on your hard disk adjust the 
  99. above directory assignments accordingly. 
  100.  
  101. O'Reilly & Associates' WebSite Web Server installed on Windows 
  102. NT will not work properly with virtual mappings to pathnames 
  103. containing spaces. If you are using WebSite on NT, change the 
  104. Backstage installation directory from C:\Program Files\ to 
  105. C:\ProgramFiles\. Make sure to make this change during 
  106. installation of Backstage, when prompted by the Install Wizard. 
  107. Changing the name of a directory in the path to Backstage after 
  108. Backstage has been installed will break important links to 
  109. Backstage files. If you need to change the name of a directory in 
  110. the path to Backstage, you must first uninstall Backstage before 
  111. reinstalling it into the correct path.
  112.  
  113.  
  114. 4. Removing the Backstage Server Service From Within Windows NT
  115. ---------------------------------------------------------------
  116. If you wish to remove the Backstage Server service from within 
  117. Windows NT, the only way to do so is to run the IBINSSVC 
  118. program at the DOS prompt. 
  119.  
  120. 1. Go to a DOS prompt.
  121. 2. Change to the BackstageTrial\Bin directory, which is installed by 
  122.    default in Program Files\Macromedia\BackstageTrial\Bin. 
  123. 3. Type IBINSSVC "Backstage Server" REMOVE and press ENTER. 
  124. 4. If successful, you will receive a confirmation. If unsuccessful, you 
  125.    will get a cryptic error message.
  126.  
  127. Make sure the words "Backstage Server" are surrounded by 
  128. quotes.
  129.  
  130.  
  131. 5. A Note About Netscape Plug-Ins
  132. ---------------------------------
  133. Netscape Shockwave Plug-ins are not included in the Backstage 
  134. Trial version.
  135.  
  136. When including a Netscape plug-in file in your web page, such as 
  137. a Shockwave for Director movie or Shockwave for FreeHand file, 
  138. you need to specify the dimensions of  the file in the Netscape 
  139. Plug-Ins Properties Dialog box. The plug-in file will always scale to 
  140. the width and height values in that dialog box. 
  141.  
  142.  
  143. 6. HTML Validation
  144. ------------------
  145. Backstage Designer conforms strictly to the Hypertext Markup 
  146. Language 2.0 specification, RFC 1866, published in November 
  147. 1995. All HTML entered manually in HTML Source mode or 
  148. opened into Designer from a pre-existing HTML file will be 
  149. validated by Designer according to this specification. This ensures 
  150. that each file created or edited by Designer will be reliably 
  151. interpreted by all web browsers. 
  152.  
  153. If Designer encounters improperly formatted HTML, a dialog will 
  154. appear listing the errors encountered. After the dialog is dismissed, 
  155. Designer will attempt to fix the errors. 
  156.  
  157. To access the HTML 2.0 specification, point your web browser to 
  158. the URL http://www.w3.org/.
  159.  
  160.  
  161. 7. HTML Comment Tag
  162. -------------------
  163. Using the HTML comment tag, you may enter comments or 
  164. notations in your HTML code that will not appear in Designerís 
  165. WYSIWYG mode or in the end userís web browser. To enter a 
  166. comment into your web page, choose HTML Source from the Edit 
  167. menu in Designer. You may manually enter the comment tag and 
  168. comment in HTML Source mode. The syntax for a comment looks 
  169. like this:
  170.  
  171. <!-- Text of comment here -->
  172.  
  173. Additional comments may be entered within a comment tag in this 
  174. way:
  175.  
  176. <!-- First Comment Here -- -- Second Comment Here -->
  177.  
  178. The following is an excerpt from section 3.2.5 of the HTML 2.0 
  179. Specification which further clarifies comment construction. 
  180. Deviations from this format may cause unexpected results within 
  181. Designer. Please take note of and adhere to these guidelines:
  182.  
  183. To include comments in an HTML document, use a comment 
  184. declaration. A comment declaration consists of `<!' followed by zero 
  185. or more comments followed by `>'. Each comment starts with `--' 
  186. and includes all text up to and including the next occurrence of `--'. 
  187. In a comment declaration, white space is allowed after each 
  188. comment, but not before the first comment.  The entire comment 
  189. declaration is ignored.
  190.  
  191.    For example:
  192.  
  193.     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
  194.     <HEAD>
  195.     <TITLE>HTML Comment Example</TITLE>
  196.     <!-- Id: html-sgml.sgm,v 1.5 1995/05/26 connolly Exp  -->
  197.     <!-- another -- -- comment -->
  198.     <!>
  199.     </HEAD>
  200.     <BODY>
  201.     <p> <!- not a comment, just regular old data characters ->
  202.  
  203.  
  204. 8. Making Use of Formatting and Expressions to Generate Variable Tags 
  205. ---------------------------------------------------------------------
  206. To display a variable tag (for example, a link whose 
  207. destination varies at runtime or a bitmap whose location varies at 
  208. runtime), display the variable part in a text object and use the 
  209. format specification of the text object to provide the HTML tag. 
  210.  
  211. For example, suppose you had a URL column containing a users 
  212. home page you wished to display as a link. You could assign this 
  213. column to a text object, then format it with a string format. 
  214. Make the format string: 
  215.  
  216. <A HREF="%s"> Home Page </A>
  217.  
  218. This produces the appropriate results at runtime and displays in 
  219. the Designer as a link. If you had the URL in one column and a 
  220. variable label in another column, you could use adjoining text 
  221. objects which formatted the two parts of the URL: 
  222.  
  223. <A HREF="%s">
  224. %s</A>
  225.  
  226. This works at runtime, but creates problems for the Designer 
  227. display, which will not display anything that looks like a 
  228. link. In general, if you use formatting to provide partial syntax for 
  229. HTML tags or unclosed tags, their display in the Designer 
  230. may not look like a link, though the objects will work at runtime. 
  231.  
  232. You also have the option of designing your database queries in SQL to 
  233. concatenate the appropriate HTML syntax together using 
  234. expressions involving the returned columns and literal string 
  235. constants. 
  236.  
  237. You can also format variable images:
  238.  
  239. <IMG SRC="%s">
  240.  
  241. You can make use of Backstage expression syntax to 
  242. compose variable tags from data values of objects on other pages 
  243. or other things available in expressions, such as user profile data. 
  244.  
  245. Since formatting is available for columns of the table object, you 
  246. can also use this technique to display columns of links or images 
  247. drawn from database data.
  248.  
  249.  
  250. 9. Image Maps
  251. -------------
  252. - Relative URLs in image maps are not supported by all web 
  253.   servers. To ensure maximum compatibility, the Browse button on 
  254.   the Image Map Editor generates URLs which are relative to the 
  255.   document root (URLs which start with /). If you want to enter a 
  256.   relative URL in an image map, do so manually.
  257.  
  258. - Image map files conform to the NSCA standard.
  259.  
  260. - Coordinates in an image map file do not get adjusted after you 
  261.   scale an image. If you want to scale your image, be sure to create 
  262.   your image map after you have scaled your image. 
  263.  
  264.  
  265. 10. Path Names
  266. --------------
  267. If you use a relative reference to a Backstage page (a page 
  268. containing Backstage objects), rather than a path from the 
  269. document root, the page cannot be bookmarked in the end-userís 
  270. browser. In addition, the page may not always reload when the 
  271. end-user has chosen "reload" after clicking the "back" button in his 
  272. or her browser. 
  273.  
  274.  
  275. 11. Supported Database Data Types
  276. ---------------------------------
  277. Backstage supports the following types:
  278.  
  279. char, numeric, decimal, integer, smallint, float, real, double, varchar 
  280. ("standard" types) date, time, timestamp, bigint, tinyint, bit 
  281. ("extended" datatypes.
  282.  
  283. Backstage uses the information to bind the data to the appropriate 
  284. type of internal buffer and to provide the appropriate type of 
  285. literal constants for inserts, updates, and deletes. 
  286.  
  287. For a given database, there will be some mapping between the 
  288. data types as described in the database and the known ODBC 
  289. types or new vendor-specific type codes returned by the driver for 
  290. types that don't reasonably match anything. See documentation 
  291. for your ODBC driver. It is usually done sensibly. For 
  292. example, Access YES/NO columns are returned through ODBC as 
  293. bit, which allows Backstage to recognize and treat them as integers. 
  294. Most driver implementers would map a boolean column type this way. 
  295.  
  296. Unrecognized types are treated as character data. They are 
  297. bound internally as character strings. Those columns are 
  298. referred to using character string literals. This works for vendor-
  299. specific data types if coercion to and from character string is legal. 
  300.  
  301.  
  302. 12. Database Updates and Inserts
  303. ---------------------------------
  304. When a user views database records on a Backstage web page 
  305. through a web browser, the data has been downloaded along with 
  306. the web page and is cached. By caching the data, Backstage 
  307. avoids holding "open cursors" on the database while the data is 
  308. displayed. In other words, a lock on the record or series of records 
  309. displayed by the browser is not enforced. In most cases, this is the 
  310. desirable behavior because it allows other users to view that 
  311. particular record or other records that happen to share the same 
  312. table. The degree to which an open cursor on a record locks out 
  313. other viewers from the database varies among databases.
  314.  
  315. While one user is viewing the cached data, the actual data in the 
  316. database may have been deleted or updated by another user. If 
  317. the viewer of cached data wishes to make an update or a delete 
  318. operation to displayed data, Backstage will compare the cached 
  319. data to the actual data in the database. If a difference is detected, 
  320. the user will be informed that a change has been made to the data 
  321. since it was last retrieved. This is a technique known as "optimistic 
  322. locking". At this point, the user will see the updated data (if another 
  323. user has modified it), or to see the next record (if another user has 
  324. deleted it - it may be the case that there is no longer anything to 
  325. display). You may then retry your operation, if you still wish to. Note 
  326. that by using your browser "back" button, you may be able to 
  327. recover your original data entry.
  328.  
  329. For optimistic locking to be 100% reliable, your database needs to 
  330. support read locks as well as write (update) locks within 
  331. transactions.
  332.  
  333.  
  334. 13. Configuring Your Web Server for Shockwave
  335. ---------------------------------------------
  336. In order to use Shockwave, your web server must be configured to 
  337. recognize and handle Shockwave files. The web server must have 
  338. its MIME or content type amended to include the file types. 
  339.  
  340. Shockwave for FreeHand files use the file extensions .fh4, .fh5, and 
  341. .fhc. These file types need to be identified and associated with 
  342. "image/x-freehand". How this is accomplished varies in each web 
  343. server. 
  344.  
  345. Shockwave for Director files use the extensions .dcr, .dxr, and .dir 
  346. and need to have those file types identified and associated with 
  347. "application/x-director".
  348.  
  349. Consult your web serverís documentation for information on 
  350. configuring MIME types. If your documentation is not helpful, try 
  351. some online resources. One web resource that may be of use to 
  352. you is Web Compare, where you will find a compilation of server 
  353. information for many types of servers.
  354.  
  355. Web Compare is located at http://www.webcompare.com/
  356.  
  357. Or visit Macromediaís web site for example server configurations. 
  358.  
  359.  
  360. 14. Configuring Backstage Designer as Default Editor for HTML files
  361. -------------------------------------------------------------------
  362. You can configure Backstage Designer to automatically launch 
  363. when you double-click on an HTML file.
  364.  
  365. In Windows 95:
  366. 1. Open any folder. 
  367. 2. Choose Options from the View menu. 
  368. 3. Click the File Types tab, then scroll through the list until you 
  369.    locate the HTM file type. The description of this file type in the 
  370.    list will differ depending on your current configuration. For 
  371.    example, if Netscape Navigator is installed, the description type 
  372.    for HTM or HTML files may be listed as "Netscape Hypertext 
  373.    Document". 
  374. 4. Click on the item in the list, and verify that you see HTM or 
  375.    HTML next to Extension under File type details. If you locate the 
  376.    file type in the list, skip to step 6. If the HTM or HTML file type
  377.    is not in the list, proceed to step 5.
  378. 5. Click New Type. 
  379.    - In Description of type enter: HTML file. 
  380.    - In Associated extension enter: HTM HTML. 
  381.    - Click the New button. Under Action, type Open. 
  382.    - Proceed to step 8.
  383. 6. Click the Edit button. Under Actions, select Open. Click the "Set 
  384.    Default" button. 
  385. 7. Select Open again and click the Edit button. 
  386. 8. Click the Browse button and locate your installed copy of 
  387.    Backstage Designer. Double click Designer.exe. Click OK, then click 
  388.    Close. 
  389.  
  390.  
  391. In Windows NT,  Windows 3.1, or Windows 3.11:
  392. 1. Launch File Manager.
  393. 2. Under File, select Associate.
  394. 3. Next to "Files with extension" type: HTM
  395. 4. Click Browse
  396. 5. Locate and select Designer.exe, then click OK.
  397.  
  398. Steps 6-7 apply to Windows NT only: 
  399. 6. Next to "Files with extension" type: HTML
  400. 7. Repeat steps 3 and 4.
  401. 8. Click OK
  402.  
  403.  
  404. 15. Configuring xRes S.E. as Default Editor for GIF and JPEG files
  405. ------------------------------------------------------------------
  406. The Backstage Trial version does not include xRes S.E.
  407.  
  408. You can configure xRes S.E. to automatically launch when you 
  409. double-click on a GIF or JPEG file. 
  410.  
  411. Apply the steps in section 11 to the file types GIF, JPEG, and JPG 
  412. instead of HTM and HTML. When the steps instruct you to select 
  413. Designer.exe, instead select Xres20se.exe.
  414.  
  415.  
  416. 16. ActiveX Support
  417. -------------------
  418. As we went to press, Microsoft was still in Alpha with the version of 
  419. Internet Explorer that supports ActiveX controls.  Although the 
  420. Backstage Designer supports the Object tag specification,  it has 
  421. not been tested with a release or beta version of Internet Explorer.
  422.  
  423.  
  424. 17. Web Server Compatibility
  425. ----------------------------
  426. Backstage Object Server has been tested with and is compatible 
  427. with the following web wervers:
  428.  
  429. Web Server                               Platform       Version
  430. ----------                               --------       -------
  431. The Internet Factory Commerce Server     Windows NT     1.0
  432. Microsoft Internet Information Server    Windows NT     1.0
  433. Netscape Commerce Server                 Windows NT     1.1
  434. Oí Reilly Web Site                       Windows 95     1.1
  435.  
  436. The following web servers are unsupported, but are known to be 
  437. compatible with Backstage Object Server. For configuration 
  438. information contact Technical Support.
  439.  
  440. Web Server                                   Platform       Version
  441. ----------                                   --------       -------
  442. EMWAC World-Wide Web HTTP Server             Windows NT     0.991
  443. Software Manufakturís Alibaba WWW Server     Windows NT     1.0
  444. Process Softwaresís Purveyor                 Windows NT     1.2
  445. ILAR Folkweb Server                          Windows NT     1.0.1
  446.  
  447.  
  448. 18. Database Compatibility
  449. --------------------------
  450. The Backstage Object Server will connect to most versions of the 
  451. following databases. It will fail to connect to any database that 
  452. is not on this list. It has been tested and is compatible with these 
  453. versions:
  454.  
  455. Database             Platform           Version
  456. --------             --------           -------
  457. Borland dBase        Windows 95         5.5
  458. Borland Paradox      Windows 95         7.0
  459. Microsoft Access     Windows NT, 95     2.0, 7.0
  460. Microsoft FoxPro     Windows 95         3.0
  461.  
  462.  
  463. Backstage Designer allows you to create web pages that connect to any 
  464. database for which you have the ODBC driver.
  465.  
  466. 19. A Note about HTML Attribute Usage
  467. -------------------------------------
  468. It is recommended that you do not set the value of any attribute to be
  469. the same as the name of the attribute. (Attributes are generally set 
  470. in an object's Properties dialog box. For example, the Name field of 
  471. a text object's Properties dialog box is used to assign a value to 
  472. the NAME attribute of the text object.) You should not enter NAME as 
  473. the value in an object's NAME field. This would generate the HTML 
  474. code NAME=NAME, which is an ambiguous HTML statement and might be 
  475. interpreted differently in different web browsers. Likewise, you 
  476. should not enter VALUE in the Initial Value field of an object's 
  477. Properties dialog box, as this would generate the HTML code 
  478. VALUE=VALUE.
  479.  
  480. If you do not know an attribute's name, you can enter values in 
  481. the fields of a Properties dialog box, then choose Edit | HTML Source 
  482. to view the HTML source code and see what the attribute names are.
  483.  
  484.