Community TV: Delphi 6 WebSnap with Jim Tierney
By: John Kaster
Abstract: John K interviews Jim Tierney, architect of WebSnap, for the details on this new Delphi 6 feature. Now with text transcript and MP3 audio.
WebSnap Architect
Interview by John Kaster, Borland Developer Relations. Jim and John talk about WebSnap, the RAD way to produce full-featured Web server applications in Delphi 6. Topics include Adapters, Active Scripting, XML and XSLT.
You can
TAdapter
TDatasetAdapter
The other one I would like to mention, which is very much like the TAdapter, is the TPageAdapter. This one adds the notion of multiple page support. With this adapter, if you set a property called page size, you can use the adapter to display a page with a limited number of rows (say, you only want 20 rows on a page). You can also add actions that allow you to move between pages. There are some built-in actions: previous page action, go to page action, and next page action.
TPageAdapter
Another adapter is the TLoginFormAdapter. [It] has some built-in fields that are used to generate a login page. We have a user name field, a password field, and a next page field. The next page field displays all the pages in the application. When the user logs in, they can indicate which page they want to go to next.
TLoginFormAdapter
AdapterPageProducer
The other feature is WebSnap design services, additional views that appear as part of the editor window. There are tabs at the bottom to access these views. We have a number of different views you can use when you're developing web applications. We have a preview. We have HTML result view, which shows you the text that will be sent to the browser. We have HTML script view, which shows you the script and HTML that is generated by a component like the TAdapterPageProducer. We have XML view, which is a read-only tree view of XML. Then we have XSL view, which is a read-only tree view of XSL.
TAdapterPageProducer
If you're using the TXSLPageProducer with your web page module, you'll see some different views. You'll see the preview, but you'll also see the XSL view to show you a tree of your XSL, and an XML view to show you a tree of the XML that's being used by the TXSLPageProducer.
TXSLPageProducer
XSLPageProducer
The web application wizard and the web page module wizard can be sensitive to components that you register. For example, the web application wizard gives you the option of selecting various types of components that will be part of your application module, such as session, web user list, application adapter, and so forth. If you register your components that are designed to replace those particular component types, they will appear in the wizard. The user can set up the wizard so, by default, those will be the components they get when they create a new application.
In the web page module wizard, there is a list of producers that can be associated with that web page module. If you register your producer with WebSnap, it will automatically appear in that list. One of the other things you can do to customize the web page module wizard is register new templates. Templates define HTML or other content that will automatically appear in the new template file you are creating with the wizard. You can have HTML or some other content that you want to use within your application for every page that makes all your pages consistent in appearance.
Transcript produced by White Tiger Communications
These multimedia files are copyright © 2001 by Borland Software Corporation. All Rights Reserved Worldwide
All Borland brand and product names are trademarks or registered trademarks of Borland Software Corporation, formerly known as Inprise Corporation, in the United States and other countries. Other names mentioned herein may be trademarks of the party using such names. This release contains forward-looking statements. All statements that are not historical are forward-looking. Forward-looking statements may relate to, but are not limited to, Borland's future financial performance, capital expenditures, revenues, acquisitions, earnings, costs, product development plans, global expansion plans, estimated size of potential customer markets, demand for our products, the projected acceptance by existing or potential customers of new technologies and the potential features of, or benefits to be derived from, the products developed, marketed or sold by Borland, market and technological trends in the software industry and various economic and business trends. Such forward-looking statements are only predictions and involve a number of uncertainties and risks that may cause actual events or results to differ materially. Factors that could cause actual events or results to differ materially include, among others, the following: general economic factors and capital market conditions, general industry trends and the potential effects on us of competition in computer software product and services markets, growth rates in the software and professional services markets that we participate in, rapid technological change that can adversely affect the demand for our products, shifts in customer demand, market acceptance of new or enhanced products or services developed, marketed or sold by us, delays in scheduled product availability dates, actions or announcements by our competitors, software errors, reduction in sales to or loss of any significant customers, our ability to successfully integrate acquisitions, any failure by us to protect our intellectual property rights, the dependence of certain of our business units on licenses from third parties, our ability to attract and retain qualified personnel, and other factors described in our latest Annual Report on Form 10-K and our latest Quarterly Report on Form 10-Q filed by Borland Software Corporation with the SEC, copies of which may be obtained from the SEC at www.sec.gov. Borland undertakes no obligation to update any information contained in this release.
Published on: 7/16/2001 2:16:37 PM
Server Response from: BDN9A
Borland® Copyright© 1994 - 2008 Borland Software Corporation. All rights reserved. Contact Us | Site Map | Legal Notices | Privacy Policy | Report Software Piracy