I'm attempting to write a database type program with the ebook compiler. My question is how to do you take input from the user and place it in database files. Then display certain data at the users request. I've tried using a text form element with a submit button to write to an .as file. I couldn't make that work. Has anyone ever tried to make a database with this program?
At the risk of being labeled a complainer (yet again), I must ask why you want to do this. I am sorry if I offend, but to me, an E-Book is just that – a book. If you want to do dB work, there are far better tools out there.
Again, I apologize, but to me, trying to use the compiler to do dB work is a waste of time. I will say it again, the proper tool for the job. Besides, by using a dB program, you can easily (?) integrate it with the web; if that is one of your goals. Yes, it might be done, but yes, it is a potential problem.
A couple of reasons come to my mind for db's in an ebook.
1) MSOffice and other type programs are expensive. Unless your a pirate. AARRR matie:-)
2) Not everyone has these programs and if you use one, the customer can't use it unless they install the specific program on their computer. Now the customer has to put out the money for the program to do any editing.
3) You may need some small sized db functions without all the bells, whistles, and size of other programs.
4) And their neat to have in an ebook depending on what your need is. (Searches, conversions, and so on.)
Just to name a few. Of course, if your just creating boring fiction books or something then your right, an ebook is just that.
As I understand database use in web based applications, several things are necessary:
1. Database connection - ODBC use ADO, OLE DB, DSN, etc.
2. In order to create and utilize the connection, the web must be server based, using server-side scripting. ASP, JSP and PHP seem to be the most common web based technologies employing DB integration.
As eBooks are independant of a server or disk based (as labeled by Microsoft FrontPage nomenclature), the database connection and server-side scripting cannot be used.
As such, it seems that database use in most eBook applications cannot be used.
On the otherhand, although cumbersome and a pain in the !#@$@# to write, an array can be created that may suite many simple needs.
We write technical manuals and have started using them in several web applications that include administering quizzes or tests at the end of a chapter or book.
Using Active EBook and other compilers, it looks like this code can be hidden fairly well by not allowing the reader to easily open the source documents.
Needless to say, there may be exceptions. Although I'm not a programmer, VC++ and VB6 allow for database integration into web based applications through the creation and/or implementation of Microsoft's Active X Objects.
It would seem to me that some bright star out there may by able to create an add-in that would allow DB integraiton within Active Ebook and/or other eBook compilers.
Let me know when it happens. I'm willing to spend the money on buying it.
With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.
Our company's websites' content (including this website's content) includes advertisements for
our own company's websites, products, and services,
and for other organization's websites, products, and services.
In the case of links to other organization's websites,
our company may receive a payment, (1) if you purchase products or services,
or (2) if you sign-up for third party offers, after following links from this website.
Unless specifically otherwise stated, information about other organization's products and services,
is based on information provided by that organization,
the product/service vendor, and/or publicly available information - and should
not be taken to mean that we have used the product/service in question.
Additionally, our company's websites contain some adverts which we are paid
to display, but whose content is not selected by us, such as Google AdSense ads. For more
detailed information, please see Advertising/Endorsements Disclosures
constitutes consent for this. For details, please see Privacy.
Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.